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.
@@ -88,7 +88,7 @@ const objMap = (obj, cb) =>
88
88
 
89
89
  const TINYBASE_CONTEXT_KEY = TINYBASE + '_uisc';
90
90
 
91
- /* functions.svelte.ts generated by Svelte v5.55.5 */
91
+ /* functions.svelte.ts generated by Svelte v5.56.0 */
92
92
 
93
93
  class ReactiveHandle {
94
94
  #get;
@@ -437,13 +437,11 @@ const getTypeCase = (
437
437
  ? arrayCase
438
438
  : null;
439
439
 
440
- var root_1$5 = $.from_html(`<button> </button>`);
441
- var root_2$4 = $.from_html(`<input/>`);
442
- var root_3$3 = $.from_html(`<input type="number"/>`);
443
- var root_4$4 = $.from_html(`<input type="checkbox"/>`);
444
- var root_5$3 = $.from_html(`<input/>`);
445
- var root_6$2 = $.from_html(`<input/>`);
446
- var root$5 = $.from_html(`<div><!><!></div>`);
440
+ var root$5 = $.from_html(`<button> </button>`);
441
+ var root_1$5 = $.from_html(`<input/>`);
442
+ var root_2$4 = $.from_html(`<input type="number"/>`);
443
+ var root_3$3 = $.from_html(`<input type="checkbox"/>`);
444
+ var root_4$2 = $.from_html(`<div><!><!></div>`);
447
445
 
448
446
  function EditableThing($$anchor, $$props) {
449
447
  $.push($$props, true);
@@ -537,12 +535,12 @@ function EditableThing($$anchor, $$props) {
537
535
  const hasWidget = $.derived(
538
536
  () => getTypeCase($.get(thingType), 1, 1, 1, 1, 1) == 1,
539
537
  );
540
- var div = root$5();
538
+ var div = root_4$2();
541
539
  var node = $.child(div);
542
540
 
543
541
  {
544
542
  var consequent = ($$anchor) => {
545
- var button = root_1$5();
543
+ var button = root$5();
546
544
  var text = $.child(button, true);
547
545
 
548
546
  $.reset(button);
@@ -566,7 +564,7 @@ function EditableThing($$anchor, $$props) {
566
564
 
567
565
  {
568
566
  var consequent_1 = ($$anchor) => {
569
- var input = root_2$4();
567
+ var input = root_1$5();
570
568
 
571
569
  $.remove_input_defaults(input);
572
570
  $.template_effect(() => $.set_value(input, $.get(stringThing)));
@@ -579,7 +577,7 @@ function EditableThing($$anchor, $$props) {
579
577
  };
580
578
 
581
579
  var consequent_2 = ($$anchor) => {
582
- var input_1 = root_3$3();
580
+ var input_1 = root_2$4();
583
581
 
584
582
  $.remove_input_defaults(input_1);
585
583
  $.template_effect(() => $.set_value(input_1, $.get(numberThing)));
@@ -592,7 +590,7 @@ function EditableThing($$anchor, $$props) {
592
590
  };
593
591
 
594
592
  var consequent_3 = ($$anchor) => {
595
- var input_2 = root_4$4();
593
+ var input_2 = root_3$3();
596
594
 
597
595
  $.remove_input_defaults(input_2);
598
596
  $.template_effect(() => $.set_checked(input_2, $.get(booleanThing)));
@@ -605,7 +603,7 @@ function EditableThing($$anchor, $$props) {
605
603
  };
606
604
 
607
605
  var consequent_4 = ($$anchor) => {
608
- var input_3 = root_5$3();
606
+ var input_3 = root_1$5();
609
607
 
610
608
  $.remove_input_defaults(input_3);
611
609
 
@@ -626,7 +624,7 @@ function EditableThing($$anchor, $$props) {
626
624
  };
627
625
 
628
626
  var consequent_5 = ($$anchor) => {
629
- var input_4 = root_6$2();
627
+ var input_4 = root_1$5();
630
628
 
631
629
  $.remove_input_defaults(input_4);
632
630
 
@@ -776,11 +774,9 @@ function CellView($$anchor, $$props) {
776
774
  $.pop();
777
775
  }
778
776
 
779
- var root_1$4 = $.from_html(`<td><!></td>`);
780
- var root_2$3 = $.from_html(`<th> </th> <th> </th>`, 1);
781
- var root_4$3 = $.from_html(`<td><!></td>`);
782
- var root_5$2 = $.from_html(`<td><!></td>`);
783
- var root$4 = $.from_html(`<tr><!><!><!><!></tr>`);
777
+ var root$4 = $.from_html(`<td><!></td>`);
778
+ var root_1$4 = $.from_html(`<th> </th> <th> </th>`, 1);
779
+ var root_2$3 = $.from_html(`<tr><!><!><!><!></tr>`);
784
780
 
785
781
  function RelationshipInHtmlRow($$anchor, $$props) {
786
782
  $.push($$props, true);
@@ -801,7 +797,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
801
797
  store: $$props.store,
802
798
  }));
803
799
 
804
- var tr = root$4();
800
+ var tr = root_2$3();
805
801
  var node = $.child(tr);
806
802
 
807
803
  $.each(
@@ -811,7 +807,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
811
807
  (extraCell, index) => extraKey(index, 0),
812
808
  ($$anchor, extraCell) => {
813
809
  const ExtraCell = $.derived(() => $.get(extraCell).component);
814
- var td = root_1$4();
810
+ var td = root$4();
815
811
  var node_1 = $.child(td);
816
812
 
817
813
  $.component(
@@ -835,7 +831,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
835
831
 
836
832
  {
837
833
  var consequent = ($$anchor) => {
838
- var fragment = root_2$3();
834
+ var fragment = root_1$4();
839
835
  var th = $.first_child(fragment);
840
836
  var text = $.child(th, true);
841
837
 
@@ -894,7 +890,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
894
890
 
895
891
  {
896
892
  var consequent_1 = ($$anchor) => {
897
- var td_1 = root_4$3();
893
+ var td_1 = root$4();
898
894
  var node_5 = $.child(td_1);
899
895
 
900
896
  {
@@ -958,7 +954,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
958
954
  (extraCell, index) => extraKey(index, 1),
959
955
  ($$anchor, extraCell) => {
960
956
  const ExtraCell = $.derived(() => $.get(extraCell).component);
961
- var td_2 = root_5$2();
957
+ var td_2 = root$4();
962
958
  var node_7 = $.child(td_2);
963
959
 
964
960
  $.component(
@@ -983,12 +979,10 @@ function RelationshipInHtmlRow($$anchor, $$props) {
983
979
  $.pop();
984
980
  }
985
981
 
986
- var root_2$2 = $.from_html(`<th> </th>`);
987
- var root_3$2 = $.from_html(`<th> </th> <th> </th>`, 1);
988
- var root_4$2 = $.from_html(`<th> </th>`);
989
- var root_5$1 = $.from_html(`<th> </th>`);
990
- var root_1$3 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
991
- var root$3 = $.from_html(`<table><!><tbody></tbody></table>`);
982
+ var root$3 = $.from_html(`<th> </th>`);
983
+ var root_1$3 = $.from_html(`<th> </th> <th> </th>`, 1);
984
+ var root_2$2 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
985
+ var root_3$2 = $.from_html(`<table><!><tbody></tbody></table>`);
992
986
 
993
987
  function RelationshipInHtmlTable($$anchor, $$props) {
994
988
  $.push($$props, true);
@@ -1041,12 +1035,12 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1041
1035
  const extraHeadersAfter = $.derived(() =>
1042
1036
  getExtraHeaders(extraCellsAfter(), 1),
1043
1037
  );
1044
- var table = root$3();
1038
+ var table = root_3$2();
1045
1039
  var node = $.child(table);
1046
1040
 
1047
1041
  {
1048
1042
  var consequent_1 = ($$anchor) => {
1049
- var thead = root_1$3();
1043
+ var thead = root_2$2();
1050
1044
  var tr = $.child(thead);
1051
1045
  var node_1 = $.child(tr);
1052
1046
 
@@ -1056,7 +1050,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1056
1050
  () => $.get(extraHeadersBefore),
1057
1051
  (extraHeader) => extraHeader.key,
1058
1052
  ($$anchor, extraHeader) => {
1059
- var th = root_2$2();
1053
+ var th = root$3();
1060
1054
  var text = $.child(th, true);
1061
1055
 
1062
1056
  $.reset(th);
@@ -1074,7 +1068,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1074
1068
 
1075
1069
  {
1076
1070
  var consequent = ($$anchor) => {
1077
- var fragment = root_3$2();
1071
+ var fragment = root_1$3();
1078
1072
  var th_1 = $.first_child(fragment);
1079
1073
  var text_1 = $.child(th_1);
1080
1074
 
@@ -1108,7 +1102,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1108
1102
  () => $.get(cellEntries),
1109
1103
  (entry) => entry[0],
1110
1104
  ($$anchor, entry) => {
1111
- var th_3 = root_4$2();
1105
+ var th_3 = root$3();
1112
1106
  var text_3 = $.child(th_3, true);
1113
1107
 
1114
1108
  $.reset(th_3);
@@ -1125,7 +1119,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1125
1119
  () => $.get(extraHeadersAfter),
1126
1120
  (extraHeader) => extraHeader.key,
1127
1121
  ($$anchor, extraHeader) => {
1128
- var th_4 = root_5$1();
1122
+ var th_4 = root$3();
1129
1123
  var text_4 = $.child(th_4, true);
1130
1124
 
1131
1125
  $.reset(th_4);
@@ -1232,18 +1226,14 @@ function ResultCellView($$anchor, $$props) {
1232
1226
  $.pop();
1233
1227
  }
1234
1228
 
1235
- var root_1$2 = $.from_html(`<caption><!></caption>`);
1236
- var root_3$1 = $.from_html(`<th> </th>`);
1237
- var root_4$1 = $.from_html(`<th><!> Id</th>`);
1238
- var root_6$1 = $.from_html(`<th><!> </th>`);
1239
- var root_8$1 = $.from_html(`<th> </th>`);
1240
- var root_2$1 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
1241
- var root_10 = $.from_html(`<td><!></td>`);
1242
- var root_11 = $.from_html(`<th> </th>`);
1243
- var root_12 = $.from_html(`<td><!></td>`);
1244
- var root_13 = $.from_html(`<td><!></td>`);
1245
- var root_9 = $.from_html(`<tr><!><!><!><!></tr>`);
1246
- var root$2 = $.from_html(`<table><!><!><tbody></tbody></table>`);
1229
+ var root$2 = $.from_html(`<caption><!></caption>`);
1230
+ var root_1$2 = $.from_html(`<th> </th>`);
1231
+ var root_2$1 = $.from_html(`<th><!> Id</th>`);
1232
+ var root_3$1 = $.from_html(`<th><!> </th>`);
1233
+ var root_4$1 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
1234
+ var root_5$1 = $.from_html(`<td><!></td>`);
1235
+ var root_6 = $.from_html(`<tr><!><!><!><!></tr>`);
1236
+ var root_7 = $.from_html(`<table><!><!><tbody></tbody></table>`);
1247
1237
 
1248
1238
  function HtmlTable($$anchor, $$props) {
1249
1239
  $.push($$props, true);
@@ -1260,12 +1250,12 @@ function HtmlTable($$anchor, $$props) {
1260
1250
  );
1261
1251
  const PaginatorComponent = $.derived(() => $$props.paginator?.component);
1262
1252
  const paginatorProps = $.derived(() => $$props.paginator?.props);
1263
- var table = root$2();
1253
+ var table = root_7();
1264
1254
  var node = $.child(table);
1265
1255
 
1266
1256
  {
1267
1257
  var consequent = ($$anchor) => {
1268
- var caption = root_1$2();
1258
+ var caption = root$2();
1269
1259
  var node_1 = $.child(caption);
1270
1260
 
1271
1261
  $.component(
@@ -1293,7 +1283,7 @@ function HtmlTable($$anchor, $$props) {
1293
1283
 
1294
1284
  {
1295
1285
  var consequent_4 = ($$anchor) => {
1296
- var thead = root_2$1();
1286
+ var thead = root_4$1();
1297
1287
  var tr = $.child(thead);
1298
1288
  var node_3 = $.child(tr);
1299
1289
 
@@ -1303,7 +1293,7 @@ function HtmlTable($$anchor, $$props) {
1303
1293
  () => $.get(extraHeadersBefore),
1304
1294
  (extraHeader) => extraHeader.key,
1305
1295
  ($$anchor, extraHeader) => {
1306
- var th = root_3$1();
1296
+ var th = root_1$2();
1307
1297
  var text = $.child(th, true);
1308
1298
 
1309
1299
  $.reset(th);
@@ -1321,7 +1311,7 @@ function HtmlTable($$anchor, $$props) {
1321
1311
 
1322
1312
  {
1323
1313
  var consequent_2 = ($$anchor) => {
1324
- var th_1 = root_4$1();
1314
+ var th_1 = root_2$1();
1325
1315
  var node_5 = $.child(th_1);
1326
1316
 
1327
1317
  {
@@ -1383,7 +1373,7 @@ function HtmlTable($$anchor, $$props) {
1383
1373
  ($$anchor, entry) => {
1384
1374
  const cellId = $.derived(() => $.get(entry)[0]);
1385
1375
  const cell = $.derived(() => $.get(entry)[1]);
1386
- var th_2 = root_6$1();
1376
+ var th_2 = root_3$1();
1387
1377
  var node_7 = $.child(th_2);
1388
1378
 
1389
1379
  {
@@ -1443,7 +1433,7 @@ function HtmlTable($$anchor, $$props) {
1443
1433
  () => $.get(extraHeadersAfter),
1444
1434
  (extraHeader) => extraHeader.key,
1445
1435
  ($$anchor, extraHeader) => {
1446
- var th_3 = root_8$1();
1436
+ var th_3 = root_1$2();
1447
1437
  var text_4 = $.child(th_3, true);
1448
1438
 
1449
1439
  $.reset(th_3);
@@ -1479,7 +1469,7 @@ function HtmlTable($$anchor, $$props) {
1479
1469
  ...$$props.cellComponentProps,
1480
1470
  rowId,
1481
1471
  }));
1482
- var tr_1 = root_9();
1472
+ var tr_1 = root_6();
1483
1473
  var node_9 = $.child(tr_1);
1484
1474
 
1485
1475
  $.each(
@@ -1489,7 +1479,7 @@ function HtmlTable($$anchor, $$props) {
1489
1479
  (extraCell, index) => extraKey(index, 0),
1490
1480
  ($$anchor, extraCell) => {
1491
1481
  const ExtraCell = $.derived(() => $.get(extraCell).component);
1492
- var td = root_10();
1482
+ var td = root_5$1();
1493
1483
  var node_10 = $.child(td);
1494
1484
 
1495
1485
  $.component(
@@ -1513,7 +1503,7 @@ function HtmlTable($$anchor, $$props) {
1513
1503
 
1514
1504
  {
1515
1505
  var consequent_5 = ($$anchor) => {
1516
- var th_4 = root_11();
1506
+ var th_4 = root_1$2();
1517
1507
  var text_5 = $.child(th_4, true);
1518
1508
 
1519
1509
  $.reset(th_4);
@@ -1544,7 +1534,7 @@ function HtmlTable($$anchor, $$props) {
1544
1534
  const cellId = $.derived(() => $.get(entry)[0]);
1545
1535
  const cell = $.derived(() => $.get(entry)[1]);
1546
1536
  const CellComponent = $.derived(() => $.get(cell).component);
1547
- var td_1 = root_12();
1537
+ var td_1 = root_5$1();
1548
1538
  var node_13 = $.child(td_1);
1549
1539
 
1550
1540
  {
@@ -1586,7 +1576,7 @@ function HtmlTable($$anchor, $$props) {
1586
1576
  (extraCell, index) => extraKey(index, 1),
1587
1577
  ($$anchor, extraCell) => {
1588
1578
  const ExtraCell = $.derived(() => $.get(extraCell).component);
1589
- var td_2 = root_13();
1579
+ var td_2 = root_5$1();
1590
1580
  var node_15 = $.child(td_2);
1591
1581
 
1592
1582
  $.component(
@@ -1620,15 +1610,16 @@ function HtmlTable($$anchor, $$props) {
1620
1610
 
1621
1611
  $.delegate(['click']);
1622
1612
 
1623
- var root_1$1 = $.from_html(
1613
+ var rest_excludes$5 = new Set(['$$slots', '$$events', '$$legacy']);
1614
+ var root$1 = $.from_html(
1624
1615
  `<button class="previous"></button><button class="next"></button> `,
1625
1616
  1,
1626
1617
  );
1627
- var root$1 = $.from_html(`<!> `, 1);
1618
+ var root_1$1 = $.from_html(`<!> `, 1);
1628
1619
 
1629
1620
  function SortedTablePaginator($$anchor, $$props) {
1630
1621
  $.push($$props, true);
1631
- $.rest_props($$props, ['$$slots', '$$events', '$$legacy']);
1622
+ $.rest_props($$props, rest_excludes$5);
1632
1623
  const offset = $.derived(() =>
1633
1624
  $$props.offset == null ||
1634
1625
  $$props.offset > $$props.total ||
@@ -1654,12 +1645,12 @@ function SortedTablePaginator($$anchor, $$props) {
1654
1645
  }
1655
1646
  });
1656
1647
 
1657
- var fragment = root$1();
1648
+ var fragment = root_1$1();
1658
1649
  var node = $.first_child(fragment);
1659
1650
 
1660
1651
  {
1661
1652
  var consequent = ($$anchor) => {
1662
- var fragment_1 = root_1$1();
1653
+ var fragment_1 = root$1();
1663
1654
  var button = $.first_child(fragment_1);
1664
1655
 
1665
1656
  button.textContent = '←';
@@ -1699,7 +1690,7 @@ function SortedTablePaginator($$anchor, $$props) {
1699
1690
 
1700
1691
  $.delegate(['click']);
1701
1692
 
1702
- /* sortingAndPagination.svelte.ts generated by Svelte v5.55.5 */
1693
+ /* sortingAndPagination.svelte.ts generated by Svelte v5.56.0 */
1703
1694
 
1704
1695
  const createSortingAndPagination = (
1705
1696
  getCellId,
@@ -1769,27 +1760,29 @@ const createSortingAndPagination = (
1769
1760
  };
1770
1761
  };
1771
1762
 
1763
+ var rest_excludes$4 = new Set([
1764
+ '$$slots',
1765
+ '$$events',
1766
+ '$$legacy',
1767
+ 'queryId',
1768
+ 'cellId',
1769
+ 'descending',
1770
+ 'offset',
1771
+ 'limit',
1772
+ 'queries',
1773
+ 'sortOnClick',
1774
+ 'paginator',
1775
+ 'customCells',
1776
+ 'extraCellsBefore',
1777
+ 'extraCellsAfter',
1778
+ 'onChange',
1779
+ ]);
1780
+
1772
1781
  function ResultSortedTableInHtmlTable($$anchor, $$props) {
1773
1782
  $.push($$props, true);
1774
1783
 
1775
1784
  let paginator = $.prop($$props, 'paginator', 3, false),
1776
- props = $.rest_props($$props, [
1777
- '$$slots',
1778
- '$$events',
1779
- '$$legacy',
1780
- 'queryId',
1781
- 'cellId',
1782
- 'descending',
1783
- 'offset',
1784
- 'limit',
1785
- 'queries',
1786
- 'sortOnClick',
1787
- 'paginator',
1788
- 'customCells',
1789
- 'extraCellsBefore',
1790
- 'extraCellsAfter',
1791
- 'onChange',
1792
- ]);
1785
+ props = $.rest_props($$props, rest_excludes$4);
1793
1786
 
1794
1787
  const defaultCellIds = getResultTableCellIds(
1795
1788
  () => $$props.queryId,
@@ -1865,20 +1858,21 @@ function ResultSortedTableInHtmlTable($$anchor, $$props) {
1865
1858
  $.pop();
1866
1859
  }
1867
1860
 
1861
+ var rest_excludes$3 = new Set([
1862
+ '$$slots',
1863
+ '$$events',
1864
+ '$$legacy',
1865
+ 'queryId',
1866
+ 'queries',
1867
+ 'customCells',
1868
+ 'extraCellsBefore',
1869
+ 'extraCellsAfter',
1870
+ ]);
1871
+
1868
1872
  function ResultTableInHtmlTable($$anchor, $$props) {
1869
1873
  $.push($$props, true);
1870
1874
 
1871
- let props = $.rest_props($$props, [
1872
- '$$slots',
1873
- '$$events',
1874
- '$$legacy',
1875
- 'queryId',
1876
- 'queries',
1877
- 'customCells',
1878
- 'extraCellsBefore',
1879
- 'extraCellsAfter',
1880
- ]);
1881
-
1875
+ let props = $.rest_props($$props, rest_excludes$3);
1882
1876
  const defaultCellIds = getResultTableCellIds(
1883
1877
  () => $$props.queryId,
1884
1878
  () => $$props.queries,
@@ -1923,22 +1917,23 @@ function ResultTableInHtmlTable($$anchor, $$props) {
1923
1917
  $.pop();
1924
1918
  }
1925
1919
 
1920
+ var rest_excludes$2 = new Set([
1921
+ '$$slots',
1922
+ '$$events',
1923
+ '$$legacy',
1924
+ 'indexId',
1925
+ 'sliceId',
1926
+ 'indexes',
1927
+ 'editable',
1928
+ 'customCells',
1929
+ 'extraCellsBefore',
1930
+ 'extraCellsAfter',
1931
+ ]);
1932
+
1926
1933
  function SliceInHtmlTable($$anchor, $$props) {
1927
1934
  $.push($$props, true);
1928
1935
 
1929
- let props = $.rest_props($$props, [
1930
- '$$slots',
1931
- '$$events',
1932
- '$$legacy',
1933
- 'indexId',
1934
- 'sliceId',
1935
- 'indexes',
1936
- 'editable',
1937
- 'customCells',
1938
- 'extraCellsBefore',
1939
- 'extraCellsAfter',
1940
- ]);
1941
-
1936
+ let props = $.rest_props($$props, rest_excludes$2);
1942
1937
  const index = getIndexStoreTableId(
1943
1938
  () => $$props.indexes,
1944
1939
  () => $$props.indexId,
@@ -1995,28 +1990,30 @@ function SliceInHtmlTable($$anchor, $$props) {
1995
1990
  $.pop();
1996
1991
  }
1997
1992
 
1993
+ var rest_excludes$1 = new Set([
1994
+ '$$slots',
1995
+ '$$events',
1996
+ '$$legacy',
1997
+ 'tableId',
1998
+ 'cellId',
1999
+ 'descending',
2000
+ 'offset',
2001
+ 'limit',
2002
+ 'store',
2003
+ 'editable',
2004
+ 'sortOnClick',
2005
+ 'paginator',
2006
+ 'onChange',
2007
+ 'customCells',
2008
+ 'extraCellsBefore',
2009
+ 'extraCellsAfter',
2010
+ ]);
2011
+
1998
2012
  function SortedTableInHtmlTable($$anchor, $$props) {
1999
2013
  $.push($$props, true);
2000
2014
 
2001
2015
  let paginator = $.prop($$props, 'paginator', 3, false),
2002
- props = $.rest_props($$props, [
2003
- '$$slots',
2004
- '$$events',
2005
- '$$legacy',
2006
- 'tableId',
2007
- 'cellId',
2008
- 'descending',
2009
- 'offset',
2010
- 'limit',
2011
- 'store',
2012
- 'editable',
2013
- 'sortOnClick',
2014
- 'paginator',
2015
- 'onChange',
2016
- 'customCells',
2017
- 'extraCellsBefore',
2018
- 'extraCellsAfter',
2019
- ]);
2016
+ props = $.rest_props($$props, rest_excludes$1);
2020
2017
 
2021
2018
  const defaultCellIds = getTableCellIds(
2022
2019
  () => $$props.tableId,
@@ -2099,21 +2096,22 @@ function SortedTableInHtmlTable($$anchor, $$props) {
2099
2096
  $.pop();
2100
2097
  }
2101
2098
 
2099
+ var rest_excludes = new Set([
2100
+ '$$slots',
2101
+ '$$events',
2102
+ '$$legacy',
2103
+ 'tableId',
2104
+ 'store',
2105
+ 'editable',
2106
+ 'customCells',
2107
+ 'extraCellsBefore',
2108
+ 'extraCellsAfter',
2109
+ ]);
2110
+
2102
2111
  function TableInHtmlTable($$anchor, $$props) {
2103
2112
  $.push($$props, true);
2104
2113
 
2105
- let props = $.rest_props($$props, [
2106
- '$$slots',
2107
- '$$events',
2108
- '$$legacy',
2109
- 'tableId',
2110
- 'store',
2111
- 'editable',
2112
- 'customCells',
2113
- 'extraCellsBefore',
2114
- 'extraCellsAfter',
2115
- ]);
2116
-
2114
+ let props = $.rest_props($$props, rest_excludes);
2117
2115
  const defaultCellIds = getTableCellIds(
2118
2116
  () => $$props.tableId,
2119
2117
  () => $$props.store,
@@ -2189,15 +2187,12 @@ function ValueView($$anchor, $$props) {
2189
2187
  $.pop();
2190
2188
  }
2191
2189
 
2192
- var root_2 = $.from_html(`<th> </th>`);
2193
- var root_3 = $.from_html(`<th>Id</th>`);
2194
- var root_4 = $.from_html(`<th> </th>`);
2195
- var root_1 = $.from_html(`<thead><tr><!><!><th> </th><!></tr></thead>`);
2196
- var root_6 = $.from_html(`<td><!></td>`);
2197
- var root_7 = $.from_html(`<th> </th>`);
2198
- var root_8 = $.from_html(`<td><!></td>`);
2199
- var root_5 = $.from_html(`<tr><!><!><td><!></td><!></tr>`);
2200
- var root = $.from_html(`<table><!><tbody></tbody></table>`);
2190
+ var root = $.from_html(`<th> </th>`);
2191
+ var root_1 = $.from_html(`<th>Id</th>`);
2192
+ var root_2 = $.from_html(`<thead><tr><!><!><th> </th><!></tr></thead>`);
2193
+ var root_3 = $.from_html(`<td><!></td>`);
2194
+ var root_4 = $.from_html(`<tr><!><!><td><!></td><!></tr>`);
2195
+ var root_5 = $.from_html(`<table><!><tbody></tbody></table>`);
2201
2196
 
2202
2197
  function ValuesInHtmlTable($$anchor, $$props) {
2203
2198
  $.push($$props, true);
@@ -2217,12 +2212,12 @@ function ValuesInHtmlTable($$anchor, $$props) {
2217
2212
  const extraHeadersAfter = $.derived(() =>
2218
2213
  getExtraHeaders(extraCellsAfter(), 1),
2219
2214
  );
2220
- var table = root();
2215
+ var table = root_5();
2221
2216
  var node = $.child(table);
2222
2217
 
2223
2218
  {
2224
2219
  var consequent_1 = ($$anchor) => {
2225
- var thead = root_1();
2220
+ var thead = root_2();
2226
2221
  var tr = $.child(thead);
2227
2222
  var node_1 = $.child(tr);
2228
2223
 
@@ -2232,7 +2227,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2232
2227
  () => $.get(extraHeadersBefore),
2233
2228
  (extraHeader) => extraHeader.key,
2234
2229
  ($$anchor, extraHeader) => {
2235
- var th = root_2();
2230
+ var th = root();
2236
2231
  var text = $.child(th, true);
2237
2232
 
2238
2233
  $.reset(th);
@@ -2250,7 +2245,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2250
2245
 
2251
2246
  {
2252
2247
  var consequent = ($$anchor) => {
2253
- var th_1 = root_3();
2248
+ var th_1 = root_1();
2254
2249
 
2255
2250
  $.append($$anchor, th_1);
2256
2251
  };
@@ -2273,7 +2268,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2273
2268
  () => $.get(extraHeadersAfter),
2274
2269
  (extraHeader) => extraHeader.key,
2275
2270
  ($$anchor, extraHeader) => {
2276
- var th_3 = root_4();
2271
+ var th_3 = root();
2277
2272
  var text_2 = $.child(th_3, true);
2278
2273
 
2279
2274
  $.reset(th_3);
@@ -2307,7 +2302,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2307
2302
  (valueId) => valueId,
2308
2303
  ($$anchor, valueId) => {
2309
2304
  const valueProps = $.derived(() => ({valueId, store: $$props.store}));
2310
- var tr_1 = root_5();
2305
+ var tr_1 = root_4();
2311
2306
  var node_4 = $.child(tr_1);
2312
2307
 
2313
2308
  $.each(
@@ -2317,7 +2312,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2317
2312
  (extraCell, index) => extraKey(index, 0),
2318
2313
  ($$anchor, extraCell) => {
2319
2314
  const ExtraCell = $.derived(() => $.get(extraCell).component);
2320
- var td = root_6();
2315
+ var td = root_3();
2321
2316
  var node_5 = $.child(td);
2322
2317
 
2323
2318
  $.component(
@@ -2341,7 +2336,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2341
2336
 
2342
2337
  {
2343
2338
  var consequent_2 = ($$anchor) => {
2344
- var th_4 = root_7();
2339
+ var th_4 = root();
2345
2340
  var text_3 = $.child(th_4, true);
2346
2341
 
2347
2342
  $.reset(th_4);
@@ -2395,7 +2390,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2395
2390
  (extraCell, index) => extraKey(index, 1),
2396
2391
  ($$anchor, extraCell) => {
2397
2392
  const ExtraCell = $.derived(() => $.get(extraCell).component);
2398
- var td_2 = root_8();
2393
+ var td_2 = root_3();
2399
2394
  var node_9 = $.child(td_2);
2400
2395
 
2401
2396
  $.component(