tinybase 8.4.0 → 8.4.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.
@@ -337,6 +337,7 @@ const TEXT_OVERFLOW = 'text-overflow';
337
337
  const ALIGN_ITEMS = 'align-items';
338
338
  const BACKDROP_FILTER = 'backdrop-filter';
339
339
  const MARGIN_RIGHT = MARGIN + '-' + RIGHT;
340
+ const Z_INDEX = 'z-index';
340
341
  const FIXED = 'fixed';
341
342
  const REVERT = 'revert';
342
343
  const UNSET = 'unset';
@@ -360,8 +361,8 @@ const APP_STYLESHEET = arrayJoin(
360
361
  all: 'initial',
361
362
  [FONT_SIZE]: rem(0.75),
362
363
  [POSITION]: FIXED,
364
+ [Z_INDEX]: 999999,
363
365
  'font-family': 'inter,sans-serif',
364
- 'z-index': 999999,
365
366
  '--bg': oklch(20),
366
367
  '--bg2': oklch(15),
367
368
  '--bg3': oklch(25),
@@ -465,6 +466,7 @@ const APP_STYLESHEET = arrayJoin(
465
466
  [BACKGROUND]: oklch(30, '% 0.008 var(--hue) / .5'),
466
467
  [WIDTH]: 'calc(100% - .5rem)',
467
468
  [POSITION]: 'absolute',
469
+ [Z_INDEX]: 1,
468
470
  [BORDER + '-' + BOTTOM]: cssVar(BORDER),
469
471
  [ALIGN_ITEMS]: 'center',
470
472
  [BACKDROP_FILTER]: 'blur(4px)',
@@ -2873,7 +2875,7 @@ const createStore = () => {
2873
2875
 
2874
2876
  const TINYBASE_CONTEXT_KEY = TINYBASE + '_uisc';
2875
2877
 
2876
- /* functions.svelte.ts generated by Svelte v5.55.5 */
2878
+ /* functions.svelte.ts generated by Svelte v5.56.0 */
2877
2879
 
2878
2880
  class ReactiveHandle {
2879
2881
  #get;
@@ -3323,7 +3325,7 @@ const getRelationshipsStoreTableIds = (relationshipsOrId, relationshipId) => {
3323
3325
  };
3324
3326
  };
3325
3327
 
3326
- var root_1$e = $.from_html(`<img tabindex="0" alt=""/>`);
3328
+ var root$m = $.from_html(`<img tabindex="0" alt=""/>`);
3327
3329
 
3328
3330
  function Nub($$anchor, $$props) {
3329
3331
  $.push($$props, true);
@@ -3350,7 +3352,7 @@ function Nub($$anchor, $$props) {
3350
3352
 
3351
3353
  {
3352
3354
  var consequent = ($$anchor) => {
3353
- var img = root_1$e();
3355
+ var img = root$m();
3354
3356
 
3355
3357
  $.template_effect(() => {
3356
3358
  $.set_attribute(img, 'title', TITLE);
@@ -3386,8 +3388,8 @@ const requestInspectorIdleCallback = (callback) =>
3386
3388
  const cancelInspectorIdleCallback = (id) =>
3387
3389
  globalThis.cancelIdleCallback?.(id) ?? clearTimeout(id);
3388
3390
 
3389
- var root_1$d = $.from_html(`<img tabindex="0" alt=""/>`);
3390
- var root$c = $.from_html(
3391
+ var root$l = $.from_html(`<img tabindex="0" alt=""/>`);
3392
+ var root_1$c = $.from_html(
3391
3393
  `<details><summary><span> </span> <!></summary> <div><!></div></details>`,
3392
3394
  );
3393
3395
 
@@ -3413,7 +3415,7 @@ function Details($$anchor, $$props) {
3413
3415
  }
3414
3416
  };
3415
3417
 
3416
- var details = root$c();
3418
+ var details = root_1$c();
3417
3419
  var summary = $.child(details);
3418
3420
  var span = $.child(summary);
3419
3421
  var text = $.child(span, true);
@@ -3424,7 +3426,7 @@ function Details($$anchor, $$props) {
3424
3426
 
3425
3427
  {
3426
3428
  var consequent = ($$anchor) => {
3427
- var img = root_1$d();
3429
+ var img = root$l();
3428
3430
 
3429
3431
  $.template_effect(() => {
3430
3432
  $.set_class(img, 1, $.clsx(editable() ? 'done' : 'edit'));
@@ -3465,13 +3467,11 @@ function Details($$anchor, $$props) {
3465
3467
 
3466
3468
  $.delegate(['click', 'keydown']);
3467
3469
 
3468
- var root_1$c = $.from_html(`<button> </button>`);
3469
- var root_2$9 = $.from_html(`<input/>`);
3470
- var root_3$3 = $.from_html(`<input type="number"/>`);
3471
- var root_4$5 = $.from_html(`<input type="checkbox"/>`);
3472
- var root_5$5 = $.from_html(`<input/>`);
3473
- var root_6$2 = $.from_html(`<input/>`);
3474
- var root$b = $.from_html(`<div><!><!></div>`);
3470
+ var root$k = $.from_html(`<button> </button>`);
3471
+ var root_1$b = $.from_html(`<input/>`);
3472
+ var root_2$4 = $.from_html(`<input type="number"/>`);
3473
+ var root_3$3 = $.from_html(`<input type="checkbox"/>`);
3474
+ var root_4$2 = $.from_html(`<div><!><!></div>`);
3475
3475
 
3476
3476
  function EditableThing($$anchor, $$props) {
3477
3477
  $.push($$props, true);
@@ -3565,12 +3565,12 @@ function EditableThing($$anchor, $$props) {
3565
3565
  const hasWidget = $.derived(
3566
3566
  () => getTypeCase($.get(thingType), 1, 1, 1, 1, 1) == 1,
3567
3567
  );
3568
- var div = root$b();
3568
+ var div = root_4$2();
3569
3569
  var node = $.child(div);
3570
3570
 
3571
3571
  {
3572
3572
  var consequent = ($$anchor) => {
3573
- var button = root_1$c();
3573
+ var button = root$k();
3574
3574
  var text = $.child(button, true);
3575
3575
 
3576
3576
  $.reset(button);
@@ -3594,7 +3594,7 @@ function EditableThing($$anchor, $$props) {
3594
3594
 
3595
3595
  {
3596
3596
  var consequent_1 = ($$anchor) => {
3597
- var input = root_2$9();
3597
+ var input = root_1$b();
3598
3598
 
3599
3599
  $.remove_input_defaults(input);
3600
3600
  $.template_effect(() => $.set_value(input, $.get(stringThing)));
@@ -3607,7 +3607,7 @@ function EditableThing($$anchor, $$props) {
3607
3607
  };
3608
3608
 
3609
3609
  var consequent_2 = ($$anchor) => {
3610
- var input_1 = root_3$3();
3610
+ var input_1 = root_2$4();
3611
3611
 
3612
3612
  $.remove_input_defaults(input_1);
3613
3613
  $.template_effect(() => $.set_value(input_1, $.get(numberThing)));
@@ -3620,7 +3620,7 @@ function EditableThing($$anchor, $$props) {
3620
3620
  };
3621
3621
 
3622
3622
  var consequent_3 = ($$anchor) => {
3623
- var input_2 = root_4$5();
3623
+ var input_2 = root_3$3();
3624
3624
 
3625
3625
  $.remove_input_defaults(input_2);
3626
3626
  $.template_effect(() => $.set_checked(input_2, $.get(booleanThing)));
@@ -3633,7 +3633,7 @@ function EditableThing($$anchor, $$props) {
3633
3633
  };
3634
3634
 
3635
3635
  var consequent_4 = ($$anchor) => {
3636
- var input_3 = root_5$5();
3636
+ var input_3 = root_1$b();
3637
3637
 
3638
3638
  $.remove_input_defaults(input_3);
3639
3639
 
@@ -3654,7 +3654,7 @@ function EditableThing($$anchor, $$props) {
3654
3654
  };
3655
3655
 
3656
3656
  var consequent_5 = ($$anchor) => {
3657
- var input_4 = root_6$2();
3657
+ var input_4 = root_1$b();
3658
3658
 
3659
3659
  $.remove_input_defaults(input_4);
3660
3660
 
@@ -3804,11 +3804,9 @@ function CellView($$anchor, $$props) {
3804
3804
  $.pop();
3805
3805
  }
3806
3806
 
3807
- var root_1$b = $.from_html(`<td><!></td>`);
3808
- var root_2$8 = $.from_html(`<th> </th> <th> </th>`, 1);
3809
- var root_4$4 = $.from_html(`<td><!></td>`);
3810
- var root_5$4 = $.from_html(`<td><!></td>`);
3811
- var root$a = $.from_html(`<tr><!><!><!><!></tr>`);
3807
+ var root$j = $.from_html(`<td><!></td>`);
3808
+ var root_1$a = $.from_html(`<th> </th> <th> </th>`, 1);
3809
+ var root_2$3 = $.from_html(`<tr><!><!><!><!></tr>`);
3812
3810
 
3813
3811
  function RelationshipInHtmlRow($$anchor, $$props) {
3814
3812
  $.push($$props, true);
@@ -3829,7 +3827,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
3829
3827
  store: $$props.store,
3830
3828
  }));
3831
3829
 
3832
- var tr = root$a();
3830
+ var tr = root_2$3();
3833
3831
  var node = $.child(tr);
3834
3832
 
3835
3833
  $.each(
@@ -3839,7 +3837,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
3839
3837
  (extraCell, index) => extraKey(index, 0),
3840
3838
  ($$anchor, extraCell) => {
3841
3839
  const ExtraCell = $.derived(() => $.get(extraCell).component);
3842
- var td = root_1$b();
3840
+ var td = root$j();
3843
3841
  var node_1 = $.child(td);
3844
3842
 
3845
3843
  $.component(
@@ -3863,7 +3861,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
3863
3861
 
3864
3862
  {
3865
3863
  var consequent = ($$anchor) => {
3866
- var fragment = root_2$8();
3864
+ var fragment = root_1$a();
3867
3865
  var th = $.first_child(fragment);
3868
3866
  var text = $.child(th, true);
3869
3867
 
@@ -3922,7 +3920,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
3922
3920
 
3923
3921
  {
3924
3922
  var consequent_1 = ($$anchor) => {
3925
- var td_1 = root_4$4();
3923
+ var td_1 = root$j();
3926
3924
  var node_5 = $.child(td_1);
3927
3925
 
3928
3926
  {
@@ -3986,7 +3984,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
3986
3984
  (extraCell, index) => extraKey(index, 1),
3987
3985
  ($$anchor, extraCell) => {
3988
3986
  const ExtraCell = $.derived(() => $.get(extraCell).component);
3989
- var td_2 = root_5$4();
3987
+ var td_2 = root$j();
3990
3988
  var node_7 = $.child(td_2);
3991
3989
 
3992
3990
  $.component(
@@ -4011,12 +4009,10 @@ function RelationshipInHtmlRow($$anchor, $$props) {
4011
4009
  $.pop();
4012
4010
  }
4013
4011
 
4014
- var root_2$7 = $.from_html(`<th> </th>`);
4015
- var root_3$2 = $.from_html(`<th> </th> <th> </th>`, 1);
4016
- var root_4$3 = $.from_html(`<th> </th>`);
4017
- var root_5$3 = $.from_html(`<th> </th>`);
4018
- var root_1$a = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
4019
- var root$9 = $.from_html(`<table><!><tbody></tbody></table>`);
4012
+ var root$i = $.from_html(`<th> </th>`);
4013
+ var root_1$9 = $.from_html(`<th> </th> <th> </th>`, 1);
4014
+ var root_2$2 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
4015
+ var root_3$2 = $.from_html(`<table><!><tbody></tbody></table>`);
4020
4016
 
4021
4017
  function RelationshipInHtmlTable($$anchor, $$props) {
4022
4018
  $.push($$props, true);
@@ -4069,12 +4065,12 @@ function RelationshipInHtmlTable($$anchor, $$props) {
4069
4065
  const extraHeadersAfter = $.derived(() =>
4070
4066
  getExtraHeaders(extraCellsAfter(), 1),
4071
4067
  );
4072
- var table = root$9();
4068
+ var table = root_3$2();
4073
4069
  var node = $.child(table);
4074
4070
 
4075
4071
  {
4076
4072
  var consequent_1 = ($$anchor) => {
4077
- var thead = root_1$a();
4073
+ var thead = root_2$2();
4078
4074
  var tr = $.child(thead);
4079
4075
  var node_1 = $.child(tr);
4080
4076
 
@@ -4084,7 +4080,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
4084
4080
  () => $.get(extraHeadersBefore),
4085
4081
  (extraHeader) => extraHeader.key,
4086
4082
  ($$anchor, extraHeader) => {
4087
- var th = root_2$7();
4083
+ var th = root$i();
4088
4084
  var text = $.child(th, true);
4089
4085
 
4090
4086
  $.reset(th);
@@ -4102,7 +4098,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
4102
4098
 
4103
4099
  {
4104
4100
  var consequent = ($$anchor) => {
4105
- var fragment = root_3$2();
4101
+ var fragment = root_1$9();
4106
4102
  var th_1 = $.first_child(fragment);
4107
4103
  var text_1 = $.child(th_1);
4108
4104
 
@@ -4136,7 +4132,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
4136
4132
  () => $.get(cellEntries),
4137
4133
  (entry) => entry[0],
4138
4134
  ($$anchor, entry) => {
4139
- var th_3 = root_4$3();
4135
+ var th_3 = root$i();
4140
4136
  var text_3 = $.child(th_3, true);
4141
4137
 
4142
4138
  $.reset(th_3);
@@ -4153,7 +4149,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
4153
4149
  () => $.get(extraHeadersAfter),
4154
4150
  (extraHeader) => extraHeader.key,
4155
4151
  ($$anchor, extraHeader) => {
4156
- var th_4 = root_5$3();
4152
+ var th_4 = root$i();
4157
4153
  var text_4 = $.child(th_4, true);
4158
4154
 
4159
4155
  $.reset(th_4);
@@ -4260,18 +4256,14 @@ function ResultCellView($$anchor, $$props) {
4260
4256
  $.pop();
4261
4257
  }
4262
4258
 
4263
- var root_1$9 = $.from_html(`<caption><!></caption>`);
4264
- var root_3$1 = $.from_html(`<th> </th>`);
4265
- var root_4$2 = $.from_html(`<th><!> Id</th>`);
4266
- var root_6$1 = $.from_html(`<th><!> </th>`);
4267
- var root_8$1 = $.from_html(`<th> </th>`);
4268
- var root_2$6 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
4269
- var root_10 = $.from_html(`<td><!></td>`);
4270
- var root_11 = $.from_html(`<th> </th>`);
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>`);
4259
+ var root$h = $.from_html(`<caption><!></caption>`);
4260
+ var root_1$8 = $.from_html(`<th> </th>`);
4261
+ var root_2$1 = $.from_html(`<th><!> Id</th>`);
4262
+ var root_3$1 = $.from_html(`<th><!> </th>`);
4263
+ var root_4$1 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
4264
+ var root_5$1 = $.from_html(`<td><!></td>`);
4265
+ var root_6 = $.from_html(`<tr><!><!><!><!></tr>`);
4266
+ var root_7 = $.from_html(`<table><!><!><tbody></tbody></table>`);
4275
4267
 
4276
4268
  function HtmlTable($$anchor, $$props) {
4277
4269
  $.push($$props, true);
@@ -4288,12 +4280,12 @@ function HtmlTable($$anchor, $$props) {
4288
4280
  );
4289
4281
  const PaginatorComponent = $.derived(() => $$props.paginator?.component);
4290
4282
  const paginatorProps = $.derived(() => $$props.paginator?.props);
4291
- var table = root$8();
4283
+ var table = root_7();
4292
4284
  var node = $.child(table);
4293
4285
 
4294
4286
  {
4295
4287
  var consequent = ($$anchor) => {
4296
- var caption = root_1$9();
4288
+ var caption = root$h();
4297
4289
  var node_1 = $.child(caption);
4298
4290
 
4299
4291
  $.component(
@@ -4321,7 +4313,7 @@ function HtmlTable($$anchor, $$props) {
4321
4313
 
4322
4314
  {
4323
4315
  var consequent_4 = ($$anchor) => {
4324
- var thead = root_2$6();
4316
+ var thead = root_4$1();
4325
4317
  var tr = $.child(thead);
4326
4318
  var node_3 = $.child(tr);
4327
4319
 
@@ -4331,7 +4323,7 @@ function HtmlTable($$anchor, $$props) {
4331
4323
  () => $.get(extraHeadersBefore),
4332
4324
  (extraHeader) => extraHeader.key,
4333
4325
  ($$anchor, extraHeader) => {
4334
- var th = root_3$1();
4326
+ var th = root_1$8();
4335
4327
  var text = $.child(th, true);
4336
4328
 
4337
4329
  $.reset(th);
@@ -4349,7 +4341,7 @@ function HtmlTable($$anchor, $$props) {
4349
4341
 
4350
4342
  {
4351
4343
  var consequent_2 = ($$anchor) => {
4352
- var th_1 = root_4$2();
4344
+ var th_1 = root_2$1();
4353
4345
  var node_5 = $.child(th_1);
4354
4346
 
4355
4347
  {
@@ -4411,7 +4403,7 @@ function HtmlTable($$anchor, $$props) {
4411
4403
  ($$anchor, entry) => {
4412
4404
  const cellId = $.derived(() => $.get(entry)[0]);
4413
4405
  const cell = $.derived(() => $.get(entry)[1]);
4414
- var th_2 = root_6$1();
4406
+ var th_2 = root_3$1();
4415
4407
  var node_7 = $.child(th_2);
4416
4408
 
4417
4409
  {
@@ -4471,7 +4463,7 @@ function HtmlTable($$anchor, $$props) {
4471
4463
  () => $.get(extraHeadersAfter),
4472
4464
  (extraHeader) => extraHeader.key,
4473
4465
  ($$anchor, extraHeader) => {
4474
- var th_3 = root_8$1();
4466
+ var th_3 = root_1$8();
4475
4467
  var text_4 = $.child(th_3, true);
4476
4468
 
4477
4469
  $.reset(th_3);
@@ -4507,7 +4499,7 @@ function HtmlTable($$anchor, $$props) {
4507
4499
  ...$$props.cellComponentProps,
4508
4500
  rowId,
4509
4501
  }));
4510
- var tr_1 = root_9();
4502
+ var tr_1 = root_6();
4511
4503
  var node_9 = $.child(tr_1);
4512
4504
 
4513
4505
  $.each(
@@ -4517,7 +4509,7 @@ function HtmlTable($$anchor, $$props) {
4517
4509
  (extraCell, index) => extraKey(index, 0),
4518
4510
  ($$anchor, extraCell) => {
4519
4511
  const ExtraCell = $.derived(() => $.get(extraCell).component);
4520
- var td = root_10();
4512
+ var td = root_5$1();
4521
4513
  var node_10 = $.child(td);
4522
4514
 
4523
4515
  $.component(
@@ -4541,7 +4533,7 @@ function HtmlTable($$anchor, $$props) {
4541
4533
 
4542
4534
  {
4543
4535
  var consequent_5 = ($$anchor) => {
4544
- var th_4 = root_11();
4536
+ var th_4 = root_1$8();
4545
4537
  var text_5 = $.child(th_4, true);
4546
4538
 
4547
4539
  $.reset(th_4);
@@ -4572,7 +4564,7 @@ function HtmlTable($$anchor, $$props) {
4572
4564
  const cellId = $.derived(() => $.get(entry)[0]);
4573
4565
  const cell = $.derived(() => $.get(entry)[1]);
4574
4566
  const CellComponent = $.derived(() => $.get(cell).component);
4575
- var td_1 = root_12();
4567
+ var td_1 = root_5$1();
4576
4568
  var node_13 = $.child(td_1);
4577
4569
 
4578
4570
  {
@@ -4614,7 +4606,7 @@ function HtmlTable($$anchor, $$props) {
4614
4606
  (extraCell, index) => extraKey(index, 1),
4615
4607
  ($$anchor, extraCell) => {
4616
4608
  const ExtraCell = $.derived(() => $.get(extraCell).component);
4617
- var td_2 = root_13();
4609
+ var td_2 = root_5$1();
4618
4610
  var node_15 = $.child(td_2);
4619
4611
 
4620
4612
  $.component(
@@ -4648,15 +4640,16 @@ function HtmlTable($$anchor, $$props) {
4648
4640
 
4649
4641
  $.delegate(['click']);
4650
4642
 
4651
- var root_1$8 = $.from_html(
4643
+ var rest_excludes$3 = new Set(['$$slots', '$$events', '$$legacy']);
4644
+ var root$g = $.from_html(
4652
4645
  `<button class="previous"></button><button class="next"></button> `,
4653
4646
  1,
4654
4647
  );
4655
- var root$7 = $.from_html(`<!> `, 1);
4648
+ var root_1$7 = $.from_html(`<!> `, 1);
4656
4649
 
4657
4650
  function SortedTablePaginator($$anchor, $$props) {
4658
4651
  $.push($$props, true);
4659
- $.rest_props($$props, ['$$slots', '$$events', '$$legacy']);
4652
+ $.rest_props($$props, rest_excludes$3);
4660
4653
  const offset = $.derived(() =>
4661
4654
  $$props.offset == null ||
4662
4655
  $$props.offset > $$props.total ||
@@ -4682,12 +4675,12 @@ function SortedTablePaginator($$anchor, $$props) {
4682
4675
  }
4683
4676
  });
4684
4677
 
4685
- var fragment = root$7();
4678
+ var fragment = root_1$7();
4686
4679
  var node = $.first_child(fragment);
4687
4680
 
4688
4681
  {
4689
4682
  var consequent = ($$anchor) => {
4690
- var fragment_1 = root_1$8();
4683
+ var fragment_1 = root$g();
4691
4684
  var button = $.first_child(fragment_1);
4692
4685
 
4693
4686
  button.textContent = '←';
@@ -4727,7 +4720,7 @@ function SortedTablePaginator($$anchor, $$props) {
4727
4720
 
4728
4721
  $.delegate(['click']);
4729
4722
 
4730
- /* sortingAndPagination.svelte.ts generated by Svelte v5.55.5 */
4723
+ /* sortingAndPagination.svelte.ts generated by Svelte v5.56.0 */
4731
4724
 
4732
4725
  const createSortingAndPagination = (
4733
4726
  getCellId,
@@ -4797,27 +4790,29 @@ const createSortingAndPagination = (
4797
4790
  };
4798
4791
  };
4799
4792
 
4793
+ var rest_excludes$2 = new Set([
4794
+ '$$slots',
4795
+ '$$events',
4796
+ '$$legacy',
4797
+ 'queryId',
4798
+ 'cellId',
4799
+ 'descending',
4800
+ 'offset',
4801
+ 'limit',
4802
+ 'queries',
4803
+ 'sortOnClick',
4804
+ 'paginator',
4805
+ 'customCells',
4806
+ 'extraCellsBefore',
4807
+ 'extraCellsAfter',
4808
+ 'onChange',
4809
+ ]);
4810
+
4800
4811
  function ResultSortedTableInHtmlTable($$anchor, $$props) {
4801
4812
  $.push($$props, true);
4802
4813
 
4803
4814
  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
- ]);
4815
+ props = $.rest_props($$props, rest_excludes$2);
4821
4816
 
4822
4817
  const defaultCellIds = getResultTableCellIds(
4823
4818
  () => $$props.queryId,
@@ -4893,22 +4888,23 @@ function ResultSortedTableInHtmlTable($$anchor, $$props) {
4893
4888
  $.pop();
4894
4889
  }
4895
4890
 
4891
+ var rest_excludes$1 = new Set([
4892
+ '$$slots',
4893
+ '$$events',
4894
+ '$$legacy',
4895
+ 'indexId',
4896
+ 'sliceId',
4897
+ 'indexes',
4898
+ 'editable',
4899
+ 'customCells',
4900
+ 'extraCellsBefore',
4901
+ 'extraCellsAfter',
4902
+ ]);
4903
+
4896
4904
  function SliceInHtmlTable($$anchor, $$props) {
4897
4905
  $.push($$props, true);
4898
4906
 
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
-
4907
+ let props = $.rest_props($$props, rest_excludes$1);
4912
4908
  const index = getIndexStoreTableId(
4913
4909
  () => $$props.indexes,
4914
4910
  () => $$props.indexId,
@@ -4965,28 +4961,30 @@ function SliceInHtmlTable($$anchor, $$props) {
4965
4961
  $.pop();
4966
4962
  }
4967
4963
 
4964
+ var rest_excludes = new Set([
4965
+ '$$slots',
4966
+ '$$events',
4967
+ '$$legacy',
4968
+ 'tableId',
4969
+ 'cellId',
4970
+ 'descending',
4971
+ 'offset',
4972
+ 'limit',
4973
+ 'store',
4974
+ 'editable',
4975
+ 'sortOnClick',
4976
+ 'paginator',
4977
+ 'onChange',
4978
+ 'customCells',
4979
+ 'extraCellsBefore',
4980
+ 'extraCellsAfter',
4981
+ ]);
4982
+
4968
4983
  function SortedTableInHtmlTable($$anchor, $$props) {
4969
4984
  $.push($$props, true);
4970
4985
 
4971
4986
  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
- ]);
4987
+ props = $.rest_props($$props, rest_excludes);
4990
4988
 
4991
4989
  const defaultCellIds = getTableCellIds(
4992
4990
  () => $$props.tableId,
@@ -5093,15 +5091,12 @@ function ValueView($$anchor, $$props) {
5093
5091
  $.pop();
5094
5092
  }
5095
5093
 
5096
- var root_2$5 = $.from_html(`<th> </th>`);
5097
- var root_3 = $.from_html(`<th>Id</th>`);
5098
- var root_4$1 = $.from_html(`<th> </th>`);
5099
- var root_1$7 = $.from_html(`<thead><tr><!><!><th> </th><!></tr></thead>`);
5100
- var root_6 = $.from_html(`<td><!></td>`);
5101
- var root_7 = $.from_html(`<th> </th>`);
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>`);
5094
+ var root$f = $.from_html(`<th> </th>`);
5095
+ var root_1$6 = $.from_html(`<th>Id</th>`);
5096
+ var root_2 = $.from_html(`<thead><tr><!><!><th> </th><!></tr></thead>`);
5097
+ var root_3 = $.from_html(`<td><!></td>`);
5098
+ var root_4 = $.from_html(`<tr><!><!><td><!></td><!></tr>`);
5099
+ var root_5 = $.from_html(`<table><!><tbody></tbody></table>`);
5105
5100
 
5106
5101
  function ValuesInHtmlTable($$anchor, $$props) {
5107
5102
  $.push($$props, true);
@@ -5121,12 +5116,12 @@ function ValuesInHtmlTable($$anchor, $$props) {
5121
5116
  const extraHeadersAfter = $.derived(() =>
5122
5117
  getExtraHeaders(extraCellsAfter(), 1),
5123
5118
  );
5124
- var table = root$6();
5119
+ var table = root_5();
5125
5120
  var node = $.child(table);
5126
5121
 
5127
5122
  {
5128
5123
  var consequent_1 = ($$anchor) => {
5129
- var thead = root_1$7();
5124
+ var thead = root_2();
5130
5125
  var tr = $.child(thead);
5131
5126
  var node_1 = $.child(tr);
5132
5127
 
@@ -5136,7 +5131,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
5136
5131
  () => $.get(extraHeadersBefore),
5137
5132
  (extraHeader) => extraHeader.key,
5138
5133
  ($$anchor, extraHeader) => {
5139
- var th = root_2$5();
5134
+ var th = root$f();
5140
5135
  var text = $.child(th, true);
5141
5136
 
5142
5137
  $.reset(th);
@@ -5154,7 +5149,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
5154
5149
 
5155
5150
  {
5156
5151
  var consequent = ($$anchor) => {
5157
- var th_1 = root_3();
5152
+ var th_1 = root_1$6();
5158
5153
 
5159
5154
  $.append($$anchor, th_1);
5160
5155
  };
@@ -5177,7 +5172,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
5177
5172
  () => $.get(extraHeadersAfter),
5178
5173
  (extraHeader) => extraHeader.key,
5179
5174
  ($$anchor, extraHeader) => {
5180
- var th_3 = root_4$1();
5175
+ var th_3 = root$f();
5181
5176
  var text_2 = $.child(th_3, true);
5182
5177
 
5183
5178
  $.reset(th_3);
@@ -5211,7 +5206,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
5211
5206
  (valueId) => valueId,
5212
5207
  ($$anchor, valueId) => {
5213
5208
  const valueProps = $.derived(() => ({valueId, store: $$props.store}));
5214
- var tr_1 = root_5$2();
5209
+ var tr_1 = root_4();
5215
5210
  var node_4 = $.child(tr_1);
5216
5211
 
5217
5212
  $.each(
@@ -5221,7 +5216,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
5221
5216
  (extraCell, index) => extraKey(index, 0),
5222
5217
  ($$anchor, extraCell) => {
5223
5218
  const ExtraCell = $.derived(() => $.get(extraCell).component);
5224
- var td = root_6();
5219
+ var td = root_3();
5225
5220
  var node_5 = $.child(td);
5226
5221
 
5227
5222
  $.component(
@@ -5245,7 +5240,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
5245
5240
 
5246
5241
  {
5247
5242
  var consequent_2 = ($$anchor) => {
5248
- var th_4 = root_7();
5243
+ var th_4 = root$f();
5249
5244
  var text_3 = $.child(th_4, true);
5250
5245
 
5251
5246
  $.reset(th_4);
@@ -5299,7 +5294,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
5299
5294
  (extraCell, index) => extraKey(index, 1),
5300
5295
  ($$anchor, extraCell) => {
5301
5296
  const ExtraCell = $.derived(() => $.get(extraCell).component);
5302
- var td_2 = root_8();
5297
+ var td_2 = root_3();
5303
5298
  var node_9 = $.child(td_2);
5304
5299
 
5305
5300
  $.component(
@@ -5598,8 +5593,8 @@ function MetricView($$anchor, $$props) {
5598
5593
  $.pop();
5599
5594
  }
5600
5595
 
5601
- var root_5$1 = $.from_html(`<tr><th> </th><td> </td><td><!></td></tr>`);
5602
- var root_4 = $.from_html(
5596
+ var root$e = $.from_html(`<tr><th> </th><td> </td><td><!></td></tr>`);
5597
+ var root_1$5 = $.from_html(
5603
5598
  `<table><thead><tr><th>Metric Id</th><th>Table Id</th><th>Metric</th></tr></thead><tbody></tbody></table>`,
5604
5599
  );
5605
5600
 
@@ -5644,7 +5639,7 @@ function MetricsView($$anchor, $$props) {
5644
5639
  var d = $.derived(() => arrayIsEmpty(metricIds.current));
5645
5640
 
5646
5641
  var alternate = ($$anchor) => {
5647
- var table = root_4();
5642
+ var table = root_1$5();
5648
5643
  var tbody = $.sibling($.child(table));
5649
5644
 
5650
5645
  $.each(
@@ -5653,7 +5648,7 @@ function MetricsView($$anchor, $$props) {
5653
5648
  () => metricIds.current,
5654
5649
  (metricId) => metricId,
5655
5650
  ($$anchor, metricId) => {
5656
- var tr = root_5$1();
5651
+ var tr = root$e();
5657
5652
  var th = $.child(tr);
5658
5653
  var text_1 = $.child(th, true);
5659
5654
 
@@ -6045,12 +6040,12 @@ function RelationshipsView($$anchor, $$props) {
6045
6040
  $.pop();
6046
6041
  }
6047
6042
 
6048
- var root$5 = $.from_html(
6043
+ var root$d = $.from_html(
6049
6044
  `<div class="actions"><div><!></div> <div><!></div></div>`,
6050
6045
  );
6051
6046
 
6052
6047
  function Actions($$anchor, $$props) {
6053
- var div = root$5();
6048
+ var div = root$d();
6054
6049
  var div_1 = $.child(div);
6055
6050
  var node = $.child(div_1);
6056
6051
 
@@ -6066,7 +6061,7 @@ function Actions($$anchor, $$props) {
6066
6061
  $.append($$anchor, div);
6067
6062
  }
6068
6063
 
6069
- var root$4 = $.from_html(` <img title="Confirm" class="ok" alt=""/>`, 1);
6064
+ var root$c = $.from_html(` <img title="Confirm" class="ok" alt=""/>`, 1);
6070
6065
 
6071
6066
  function Delete($$anchor, $$props) {
6072
6067
  $.push($$props, true);
@@ -6095,7 +6090,7 @@ function Delete($$anchor, $$props) {
6095
6090
 
6096
6091
  $.next();
6097
6092
 
6098
- var fragment = root$4();
6093
+ var fragment = root$c();
6099
6094
  var text = $.first_child(fragment);
6100
6095
  var img = $.sibling(text);
6101
6096
 
@@ -6107,7 +6102,7 @@ function Delete($$anchor, $$props) {
6107
6102
 
6108
6103
  $.delegate(['click']);
6109
6104
 
6110
- var root$3 = $.from_html(` <input type="text"/> <img alt=""/>`, 1);
6105
+ var root$b = $.from_html(` <input type="text"/> <img alt=""/>`, 1);
6111
6106
 
6112
6107
  function NewId($$anchor, $$props) {
6113
6108
  $.push($$props, true);
@@ -6156,7 +6151,7 @@ function NewId($$anchor, $$props) {
6156
6151
 
6157
6152
  $.next();
6158
6153
 
6159
- var fragment = root$3();
6154
+ var fragment = root$b();
6160
6155
  var text = $.first_child(fragment);
6161
6156
  var input_1 = $.sibling(text);
6162
6157
 
@@ -6191,11 +6186,8 @@ $.delegate(['input', 'keydown', 'click']);
6191
6186
 
6192
6187
  const isNewIdAction = (action) => 'set' in action;
6193
6188
 
6194
- var root_1$6 = $.from_html(
6195
- `<!> <img title="Cancel" class="cancel" alt=""/>`,
6196
- 1,
6197
- );
6198
- var root_5 = $.from_html(`<img alt=""/>`);
6189
+ var root$a = $.from_html(`<!> <img title="Cancel" class="cancel" alt=""/>`, 1);
6190
+ var root_1$4 = $.from_html(`<img alt=""/>`);
6199
6191
 
6200
6192
  function ConfirmableActions($$anchor, $$props) {
6201
6193
  $.push($$props, true);
@@ -6227,7 +6219,7 @@ function ConfirmableActions($$anchor, $$props) {
6227
6219
  {
6228
6220
  var consequent_1 = ($$anchor) => {
6229
6221
  const action = $.derived(() => $$props.actions[$.get(confirming)]);
6230
- var fragment_1 = root_1$6();
6222
+ var fragment_1 = root$a();
6231
6223
  var node_1 = $.first_child(fragment_1);
6232
6224
 
6233
6225
  {
@@ -6291,7 +6283,7 @@ function ConfirmableActions($$anchor, $$props) {
6291
6283
  () => $$props.actions,
6292
6284
  $.index,
6293
6285
  ($$anchor, action, index) => {
6294
- var img_1 = root_5();
6286
+ var img_1 = root_1$4();
6295
6287
 
6296
6288
  $.template_effect(() => {
6297
6289
  $.set_attribute(img_1, 'title', $.get(action).title);
@@ -6564,7 +6556,7 @@ function CellActions($$anchor, $$props) {
6564
6556
  $.pop();
6565
6557
  }
6566
6558
 
6567
- var root$2 = $.from_html(`<!> <!>`, 1);
6559
+ var root$9 = $.from_html(`<!> <!>`, 1);
6568
6560
 
6569
6561
  function EditableCellViewWithActions($$anchor, $$props) {
6570
6562
  $.push($$props, true);
@@ -6575,7 +6567,7 @@ function EditableCellViewWithActions($$anchor, $$props) {
6575
6567
  () => $$props.cellId,
6576
6568
  () => $$props.store,
6577
6569
  );
6578
- var fragment = root$2();
6570
+ var fragment = root$9();
6579
6571
  var node = $.first_child(fragment);
6580
6572
 
6581
6573
  EditableCellView(node, {
@@ -6628,7 +6620,7 @@ function EditableCellViewWithActions($$anchor, $$props) {
6628
6620
  $.pop();
6629
6621
  }
6630
6622
 
6631
- var root_1$5 = $.from_html(`<!> <!>`, 1);
6623
+ var root$8 = $.from_html(`<!> <!>`, 1);
6632
6624
 
6633
6625
  function TableView($$anchor, $$props) {
6634
6626
  $.push($$props, true);
@@ -6691,7 +6683,7 @@ function TableView($$anchor, $$props) {
6691
6683
  },
6692
6684
 
6693
6685
  children: ($$anchor, $$slotProps) => {
6694
- var fragment_1 = root_1$5();
6686
+ var fragment_1 = root$8();
6695
6687
  var node = $.first_child(fragment_1);
6696
6688
 
6697
6689
  {
@@ -6781,8 +6773,8 @@ function TableView($$anchor, $$props) {
6781
6773
  $.pop();
6782
6774
  }
6783
6775
 
6784
- var root_2$4 = $.from_html(`<p>No tables.</p>`);
6785
- var root_1$4 = $.from_html(`<!> <!>`, 1);
6776
+ var root$7 = $.from_html(`<p>No tables.</p>`);
6777
+ var root_1$3 = $.from_html(`<!> <!>`, 1);
6786
6778
 
6787
6779
  function TablesView($$anchor, $$props) {
6788
6780
  $.push($$props, true);
@@ -6819,12 +6811,12 @@ function TablesView($$anchor, $$props) {
6819
6811
  },
6820
6812
 
6821
6813
  children: ($$anchor, $$slotProps) => {
6822
- var fragment_1 = root_1$4();
6814
+ var fragment_1 = root_1$3();
6823
6815
  var node = $.first_child(fragment_1);
6824
6816
 
6825
6817
  {
6826
6818
  var consequent = ($$anchor) => {
6827
- var p = root_2$4();
6819
+ var p = root$7();
6828
6820
 
6829
6821
  $.append($$anchor, p);
6830
6822
  };
@@ -7003,8 +6995,8 @@ function ValuesActions($$anchor, $$props) {
7003
6995
  $.pop();
7004
6996
  }
7005
6997
 
7006
- var root_2$3 = $.from_html(`<p>No values.</p>`);
7007
- var root_1$3 = $.from_html(`<!> <!>`, 1);
6998
+ var root$6 = $.from_html(`<p>No values.</p>`);
6999
+ var root_1$2 = $.from_html(`<!> <!>`, 1);
7008
7000
 
7009
7001
  function ValuesView($$anchor, $$props) {
7010
7002
  $.push($$props, true);
@@ -7039,12 +7031,12 @@ function ValuesView($$anchor, $$props) {
7039
7031
  },
7040
7032
 
7041
7033
  children: ($$anchor, $$slotProps) => {
7042
- var fragment_1 = root_1$3();
7034
+ var fragment_1 = root_1$2();
7043
7035
  var node = $.first_child(fragment_1);
7044
7036
 
7045
7037
  {
7046
7038
  var consequent = ($$anchor) => {
7047
- var p = root_2$3();
7039
+ var p = root$6();
7048
7040
 
7049
7041
  $.append($$anchor, p);
7050
7042
  };
@@ -7101,7 +7093,7 @@ function ValuesView($$anchor, $$props) {
7101
7093
  $.pop();
7102
7094
  }
7103
7095
 
7104
- var root_2$2 = $.from_html(`<!> <!>`, 1);
7096
+ var root$5 = $.from_html(`<!> <!>`, 1);
7105
7097
 
7106
7098
  function StoreView($$anchor, $$props) {
7107
7099
  $.push($$props, true);
@@ -7135,7 +7127,7 @@ function StoreView($$anchor, $$props) {
7135
7127
  },
7136
7128
 
7137
7129
  children: ($$anchor, $$slotProps) => {
7138
- var fragment_2 = root_2$2();
7130
+ var fragment_2 = root$5();
7139
7131
  var node_1 = $.first_child(fragment_2);
7140
7132
 
7141
7133
  ValuesView(node_1, {
@@ -7186,8 +7178,8 @@ function StoreView($$anchor, $$props) {
7186
7178
  $.pop();
7187
7179
  }
7188
7180
 
7189
- var root_1$2 = $.from_html(`<span class="warn"> </span>`);
7190
- var root_2$1 = $.from_html(
7181
+ var root$4 = $.from_html(`<span class="warn"> </span>`);
7182
+ var root_1$1 = $.from_html(
7191
7183
  `<article><!> <!> <!> <!> <!> <!> <!> <!> <!> <!></article>`,
7192
7184
  );
7193
7185
 
@@ -7262,7 +7254,7 @@ function Body($$anchor, $$props) {
7262
7254
 
7263
7255
  {
7264
7256
  var consequent = ($$anchor) => {
7265
- var span = root_1$2();
7257
+ var span = root$4();
7266
7258
  var text = $.child(span, true);
7267
7259
 
7268
7260
  $.reset(span);
@@ -7271,7 +7263,7 @@ function Body($$anchor, $$props) {
7271
7263
  };
7272
7264
 
7273
7265
  var alternate = ($$anchor) => {
7274
- var article_1 = root_2$1();
7266
+ var article_1 = root_1$1();
7275
7267
  var node_1 = $.child(article_1);
7276
7268
 
7277
7269
  StoreView(node_1, {
@@ -7432,7 +7424,7 @@ function Body($$anchor, $$props) {
7432
7424
  $.pop();
7433
7425
  }
7434
7426
 
7435
- var root_1$1 = $.from_html(`<span class="warn"> </span>`);
7427
+ var root$3 = $.from_html(`<span class="warn"> </span>`);
7436
7428
 
7437
7429
  function ErrorBoundary($$anchor, $$props) {
7438
7430
  const handleError = (
@@ -7446,7 +7438,7 @@ function ErrorBoundary($$anchor, $$props) {
7446
7438
 
7447
7439
  {
7448
7440
  const failed = ($$anchor, _error = $.noop, _reset = $.noop) => {
7449
- var span = root_1$1();
7441
+ var span = root$3();
7450
7442
  var text = $.child(span, true);
7451
7443
 
7452
7444
  $.reset(span);
@@ -7466,8 +7458,8 @@ function ErrorBoundary($$anchor, $$props) {
7466
7458
  $.append($$anchor, fragment);
7467
7459
  }
7468
7460
 
7469
- var root_2 = $.from_html(`<img tabindex="0" alt=""/>`);
7470
- var root$1 = $.from_html(
7461
+ var root$2 = $.from_html(`<img tabindex="0" alt=""/>`);
7462
+ var root_1 = $.from_html(
7471
7463
  `<header><img class="flat" tabindex="0" alt=""/> <span> </span> <!> <img class="flat" title="Close" tabindex="0" alt=""/></header>`,
7472
7464
  );
7473
7465
 
@@ -7490,7 +7482,7 @@ function Header($$anchor, $$props) {
7490
7482
  }
7491
7483
  };
7492
7484
 
7493
- var header = root$1();
7485
+ var header = root_1();
7494
7486
  var img = $.child(header);
7495
7487
  var span = $.sibling(img, 2);
7496
7488
  var text = $.child(span, true);
@@ -7510,7 +7502,7 @@ function Header($$anchor, $$props) {
7510
7502
 
7511
7503
  {
7512
7504
  var consequent = ($$anchor) => {
7513
- var img_1 = root_2();
7505
+ var img_1 = root$2();
7514
7506
 
7515
7507
  $.set_attribute(img_1, 'data-id', p);
7516
7508
  $.template_effect(() =>
@@ -7551,7 +7543,7 @@ function Header($$anchor, $$props) {
7551
7543
 
7552
7544
  $.delegate(['click', 'keydown']);
7553
7545
 
7554
- var root_1 = $.from_html(`<main><!> <!></main>`);
7546
+ var root$1 = $.from_html(`<main><!> <!></main>`);
7555
7547
 
7556
7548
  function Panel($$anchor, $$props) {
7557
7549
  $.push($$props, true);
@@ -7569,7 +7561,7 @@ function Panel($$anchor, $$props) {
7569
7561
 
7570
7562
  {
7571
7563
  var consequent = ($$anchor) => {
7572
- var main = root_1();
7564
+ var main = root$1();
7573
7565
  var node_1 = $.child(main);
7574
7566
 
7575
7567
  Header(node_1, {