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.
Files changed (137) hide show
  1. package/@types/ui-react-dom-charts/index.d.ts +387 -0
  2. package/@types/ui-react-dom-charts/with-schemas/index.d.ts +476 -0
  3. package/common/index.js +3 -2
  4. package/common/with-schemas/index.js +3 -2
  5. package/index.js +5 -3
  6. package/mergeable-store/index.js +5 -3
  7. package/mergeable-store/with-schemas/index.js +5 -3
  8. package/metrics/index.js +1 -1
  9. package/metrics/with-schemas/index.js +1 -1
  10. package/min/common/index.js +1 -1
  11. package/min/common/index.js.gz +0 -0
  12. package/min/common/with-schemas/index.js +1 -1
  13. package/min/common/with-schemas/index.js.gz +0 -0
  14. package/min/index.js +1 -1
  15. package/min/index.js.gz +0 -0
  16. package/min/mergeable-store/index.js +1 -1
  17. package/min/mergeable-store/index.js.gz +0 -0
  18. package/min/mergeable-store/with-schemas/index.js +1 -1
  19. package/min/mergeable-store/with-schemas/index.js.gz +0 -0
  20. package/min/omni/index.js +1 -1
  21. package/min/omni/index.js.gz +0 -0
  22. package/min/omni/with-schemas/index.js +1 -1
  23. package/min/omni/with-schemas/index.js.gz +0 -0
  24. package/min/persisters/persister-durable-object-sql-storage/index.js +1 -1
  25. package/min/persisters/persister-durable-object-sql-storage/index.js.gz +0 -0
  26. package/min/persisters/persister-durable-object-sql-storage/with-schemas/index.js +1 -1
  27. package/min/persisters/persister-durable-object-sql-storage/with-schemas/index.js.gz +0 -0
  28. package/min/persisters/persister-partykit-server/index.js +1 -1
  29. package/min/persisters/persister-partykit-server/index.js.gz +0 -0
  30. package/min/persisters/persister-partykit-server/with-schemas/index.js +1 -1
  31. package/min/persisters/persister-partykit-server/with-schemas/index.js.gz +0 -0
  32. package/min/queries/index.js +1 -1
  33. package/min/queries/index.js.gz +0 -0
  34. package/min/queries/with-schemas/index.js +1 -1
  35. package/min/queries/with-schemas/index.js.gz +0 -0
  36. package/min/synchronizers/index.js +1 -1
  37. package/min/synchronizers/index.js.gz +0 -0
  38. package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
  39. package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  40. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
  41. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  42. package/min/synchronizers/synchronizer-local/index.js +1 -1
  43. package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
  44. package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
  45. package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
  46. package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  47. package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  48. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  49. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  50. package/min/synchronizers/synchronizer-ws-server/index.js +1 -1
  51. package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
  52. package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
  53. package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
  54. package/min/synchronizers/synchronizer-ws-server-durable-object/index.js +1 -1
  55. package/min/synchronizers/synchronizer-ws-server-durable-object/index.js.gz +0 -0
  56. package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +1 -1
  57. package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js.gz +0 -0
  58. package/min/synchronizers/with-schemas/index.js +1 -1
  59. package/min/synchronizers/with-schemas/index.js.gz +0 -0
  60. package/min/ui-react/index.js +1 -1
  61. package/min/ui-react/index.js.gz +0 -0
  62. package/min/ui-react/with-schemas/index.js +1 -1
  63. package/min/ui-react/with-schemas/index.js.gz +0 -0
  64. package/min/ui-react-dom/index.js +1 -1
  65. package/min/ui-react-dom/index.js.gz +0 -0
  66. package/min/ui-react-dom/with-schemas/index.js +1 -1
  67. package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
  68. package/min/ui-react-dom-charts/index.js +1 -0
  69. package/min/ui-react-dom-charts/index.js.gz +0 -0
  70. package/min/ui-react-dom-charts/with-schemas/index.js +1 -0
  71. package/min/ui-react-dom-charts/with-schemas/index.js.gz +0 -0
  72. package/min/ui-react-inspector/index.js +1 -1
  73. package/min/ui-react-inspector/index.js.gz +0 -0
  74. package/min/ui-react-inspector/with-schemas/index.js +1 -1
  75. package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  76. package/min/ui-solid-dom/index.js +1 -1
  77. package/min/ui-solid-dom/index.js.gz +0 -0
  78. package/min/ui-solid-dom/with-schemas/index.js +1 -1
  79. package/min/ui-solid-dom/with-schemas/index.js.gz +0 -0
  80. package/min/ui-solid-inspector/index.js +1 -1
  81. package/min/ui-solid-inspector/index.js.gz +0 -0
  82. package/min/ui-solid-inspector/with-schemas/index.js +1 -1
  83. package/min/ui-solid-inspector/with-schemas/index.js.gz +0 -0
  84. package/min/ui-svelte-dom/index.js +1 -1
  85. package/min/ui-svelte-dom/index.js.gz +0 -0
  86. package/min/ui-svelte-dom/with-schemas/index.js +1 -1
  87. package/min/ui-svelte-dom/with-schemas/index.js.gz +0 -0
  88. package/min/ui-svelte-inspector/index.js +1 -1
  89. package/min/ui-svelte-inspector/index.js.gz +0 -0
  90. package/min/ui-svelte-inspector/with-schemas/index.js +1 -1
  91. package/min/ui-svelte-inspector/with-schemas/index.js.gz +0 -0
  92. package/min/with-schemas/index.js +1 -1
  93. package/min/with-schemas/index.js.gz +0 -0
  94. package/omni/index.js +7 -4
  95. package/omni/with-schemas/index.js +7 -4
  96. package/package.json +53 -17
  97. package/persisters/persister-durable-object-sql-storage/index.js +13 -11
  98. package/persisters/persister-durable-object-sql-storage/with-schemas/index.js +13 -11
  99. package/persisters/persister-partykit-client/index.js +2 -1
  100. package/persisters/persister-partykit-client/with-schemas/index.js +2 -1
  101. package/persisters/persister-partykit-server/index.js +2 -1
  102. package/persisters/persister-partykit-server/with-schemas/index.js +2 -1
  103. package/queries/index.js +1 -1
  104. package/queries/with-schemas/index.js +1 -1
  105. package/readme.md +14 -14
  106. package/releases.md +124 -61
  107. package/synchronizers/index.js +3 -2
  108. package/synchronizers/synchronizer-broadcast-channel/index.js +3 -2
  109. package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +3 -2
  110. package/synchronizers/synchronizer-local/index.js +3 -2
  111. package/synchronizers/synchronizer-local/with-schemas/index.js +3 -2
  112. package/synchronizers/synchronizer-ws-client/index.js +3 -2
  113. package/synchronizers/synchronizer-ws-client/with-schemas/index.js +3 -2
  114. package/synchronizers/synchronizer-ws-server/index.js +3 -2
  115. package/synchronizers/synchronizer-ws-server/with-schemas/index.js +3 -2
  116. package/synchronizers/synchronizer-ws-server-durable-object/index.js +3 -2
  117. package/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +3 -2
  118. package/synchronizers/with-schemas/index.js +3 -2
  119. package/ui-react/index.js +3 -0
  120. package/ui-react/with-schemas/index.js +3 -0
  121. package/ui-react-dom/index.js +18 -12
  122. package/ui-react-dom/with-schemas/index.js +18 -12
  123. package/ui-react-dom-charts/index.js +1783 -0
  124. package/ui-react-dom-charts/with-schemas/index.js +1783 -0
  125. package/ui-react-inspector/index.js +29 -20
  126. package/ui-react-inspector/with-schemas/index.js +29 -20
  127. package/ui-solid-dom/index.js +10 -7
  128. package/ui-solid-dom/with-schemas/index.js +10 -7
  129. package/ui-solid-inspector/index.js +16 -10
  130. package/ui-solid-inspector/with-schemas/index.js +16 -10
  131. package/ui-svelte/index.js +5 -5
  132. package/ui-svelte/with-schemas/index.js +5 -5
  133. package/ui-svelte-dom/index.js +162 -164
  134. package/ui-svelte-dom/with-schemas/index.js +162 -164
  135. package/ui-svelte-inspector/index.js +192 -196
  136. package/ui-svelte-inspector/with-schemas/index.js +192 -196
  137. package/with-schemas/index.js +5 -3
@@ -32,13 +32,16 @@ const SLICE = 'Slice';
32
32
  const REMOTE_ROW_ID = 'Remote' + ROW + 'Id';
33
33
  const EXTRA = 'extra';
34
34
 
35
+ const math = Math;
35
36
  const getIfNotFunction = (predicate) => (value, then, otherwise) =>
36
37
  predicate(value)
37
38
  ? /* istanbul ignore next */
38
39
  otherwise?.()
39
40
  : then(value);
40
41
  const GLOBAL = globalThis;
41
- const math = Math;
42
+ const number = Number;
43
+ const string = String;
44
+ const boolean = Boolean;
42
45
  const mathMin = math.min;
43
46
  const isFiniteNumber = isFinite;
44
47
  const isNullish = (thing) => thing == null;
@@ -88,7 +91,7 @@ const objMap = (obj, cb) =>
88
91
 
89
92
  const TINYBASE_CONTEXT_KEY = TINYBASE + '_uisc';
90
93
 
91
- /* functions.svelte.ts generated by Svelte v5.55.5 */
94
+ /* functions.svelte.ts generated by Svelte v5.56.3 */
92
95
 
93
96
  class ReactiveHandle {
94
97
  #get;
@@ -437,13 +440,11 @@ const getTypeCase = (
437
440
  ? arrayCase
438
441
  : null;
439
442
 
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>`);
443
+ var root$5 = $.from_html(`<button> </button>`);
444
+ var root_1$5 = $.from_html(`<input/>`);
445
+ var root_2$4 = $.from_html(`<input type="number"/>`);
446
+ var root_3$3 = $.from_html(`<input type="checkbox"/>`);
447
+ var root_4$2 = $.from_html(`<div><!><!></div>`);
447
448
 
448
449
  function EditableThing($$anchor, $$props) {
449
450
  $.push($$props, true);
@@ -461,7 +462,7 @@ function EditableThing($$anchor, $$props) {
461
462
  let objectClassName = $.state(EMPTY_STRING);
462
463
  let arrayClassName = $.state(EMPTY_STRING);
463
464
  const getThingKey = (thing) =>
464
- `${getCellOrValueType(thing)}:${isObject(thing) || isArray(thing) ? jsonString(thing) : String(thing)}`;
465
+ `${getCellOrValueType(thing)}:${(isObject(thing) || isArray(thing) ? jsonString : string)(thing)}`;
465
466
 
466
467
  $.user_effect(() => {
467
468
  const thingKey = getThingKey($$props.thing);
@@ -475,9 +476,9 @@ function EditableThing($$anchor, $$props) {
475
476
  } else if (isArray($$props.thing)) {
476
477
  $.set(arrayThing, jsonString($$props.thing), true);
477
478
  } else {
478
- $.set(stringThing, String($$props.thing), true);
479
- $.set(numberThing, Number($$props.thing) || 0, true);
480
- $.set(booleanThing, Boolean($$props.thing), true);
479
+ $.set(stringThing, string($$props.thing), true);
480
+ $.set(numberThing, number($$props.thing) || 0, true);
481
+ $.set(booleanThing, boolean($$props.thing), true);
481
482
  }
482
483
  }
483
484
  });
@@ -537,12 +538,12 @@ function EditableThing($$anchor, $$props) {
537
538
  const hasWidget = $.derived(
538
539
  () => getTypeCase($.get(thingType), 1, 1, 1, 1, 1) == 1,
539
540
  );
540
- var div = root$5();
541
+ var div = root_4$2();
541
542
  var node = $.child(div);
542
543
 
543
544
  {
544
545
  var consequent = ($$anchor) => {
545
- var button = root_1$5();
546
+ var button = root$5();
546
547
  var text = $.child(button, true);
547
548
 
548
549
  $.reset(button);
@@ -566,12 +567,12 @@ function EditableThing($$anchor, $$props) {
566
567
 
567
568
  {
568
569
  var consequent_1 = ($$anchor) => {
569
- var input = root_2$4();
570
+ var input = root_1$5();
570
571
 
571
572
  $.remove_input_defaults(input);
572
573
  $.template_effect(() => $.set_value(input, $.get(stringThing)));
573
574
  $.delegated('input', input, (event) =>
574
- handleThingChange(String(event.currentTarget.value), (value) =>
575
+ handleThingChange(string(event.currentTarget.value), (value) =>
575
576
  $.set(stringThing, value, true),
576
577
  ),
577
578
  );
@@ -579,12 +580,12 @@ function EditableThing($$anchor, $$props) {
579
580
  };
580
581
 
581
582
  var consequent_2 = ($$anchor) => {
582
- var input_1 = root_3$3();
583
+ var input_1 = root_2$4();
583
584
 
584
585
  $.remove_input_defaults(input_1);
585
586
  $.template_effect(() => $.set_value(input_1, $.get(numberThing)));
586
587
  $.delegated('input', input_1, (event) =>
587
- handleThingChange(Number(event.currentTarget.value || 0), (value) =>
588
+ handleThingChange(number(event.currentTarget.value || 0), (value) =>
588
589
  $.set(numberThing, value, true),
589
590
  ),
590
591
  );
@@ -592,12 +593,12 @@ function EditableThing($$anchor, $$props) {
592
593
  };
593
594
 
594
595
  var consequent_3 = ($$anchor) => {
595
- var input_2 = root_4$4();
596
+ var input_2 = root_3$3();
596
597
 
597
598
  $.remove_input_defaults(input_2);
598
599
  $.template_effect(() => $.set_checked(input_2, $.get(booleanThing)));
599
600
  $.delegated('change', input_2, (event) =>
600
- handleThingChange(Boolean(event.currentTarget.checked), (value) =>
601
+ handleThingChange(boolean(event.currentTarget.checked), (value) =>
601
602
  $.set(booleanThing, value, true),
602
603
  ),
603
604
  );
@@ -605,7 +606,7 @@ function EditableThing($$anchor, $$props) {
605
606
  };
606
607
 
607
608
  var consequent_4 = ($$anchor) => {
608
- var input_3 = root_5$3();
609
+ var input_3 = root_1$5();
609
610
 
610
611
  $.remove_input_defaults(input_3);
611
612
 
@@ -626,7 +627,7 @@ function EditableThing($$anchor, $$props) {
626
627
  };
627
628
 
628
629
  var consequent_5 = ($$anchor) => {
629
- var input_4 = root_6$2();
630
+ var input_4 = root_1$5();
630
631
 
631
632
  $.remove_input_defaults(input_4);
632
633
 
@@ -776,11 +777,9 @@ function CellView($$anchor, $$props) {
776
777
  $.pop();
777
778
  }
778
779
 
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>`);
780
+ var root$4 = $.from_html(`<td><!></td>`);
781
+ var root_1$4 = $.from_html(`<th> </th> <th> </th>`, 1);
782
+ var root_2$3 = $.from_html(`<tr><!><!><!><!></tr>`);
784
783
 
785
784
  function RelationshipInHtmlRow($$anchor, $$props) {
786
785
  $.push($$props, true);
@@ -801,7 +800,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
801
800
  store: $$props.store,
802
801
  }));
803
802
 
804
- var tr = root$4();
803
+ var tr = root_2$3();
805
804
  var node = $.child(tr);
806
805
 
807
806
  $.each(
@@ -811,7 +810,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
811
810
  (extraCell, index) => extraKey(index, 0),
812
811
  ($$anchor, extraCell) => {
813
812
  const ExtraCell = $.derived(() => $.get(extraCell).component);
814
- var td = root_1$4();
813
+ var td = root$4();
815
814
  var node_1 = $.child(td);
816
815
 
817
816
  $.component(
@@ -835,7 +834,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
835
834
 
836
835
  {
837
836
  var consequent = ($$anchor) => {
838
- var fragment = root_2$3();
837
+ var fragment = root_1$4();
839
838
  var th = $.first_child(fragment);
840
839
  var text = $.child(th, true);
841
840
 
@@ -894,7 +893,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
894
893
 
895
894
  {
896
895
  var consequent_1 = ($$anchor) => {
897
- var td_1 = root_4$3();
896
+ var td_1 = root$4();
898
897
  var node_5 = $.child(td_1);
899
898
 
900
899
  {
@@ -958,7 +957,7 @@ function RelationshipInHtmlRow($$anchor, $$props) {
958
957
  (extraCell, index) => extraKey(index, 1),
959
958
  ($$anchor, extraCell) => {
960
959
  const ExtraCell = $.derived(() => $.get(extraCell).component);
961
- var td_2 = root_5$2();
960
+ var td_2 = root$4();
962
961
  var node_7 = $.child(td_2);
963
962
 
964
963
  $.component(
@@ -983,12 +982,10 @@ function RelationshipInHtmlRow($$anchor, $$props) {
983
982
  $.pop();
984
983
  }
985
984
 
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>`);
985
+ var root$3 = $.from_html(`<th> </th>`);
986
+ var root_1$3 = $.from_html(`<th> </th> <th> </th>`, 1);
987
+ var root_2$2 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
988
+ var root_3$2 = $.from_html(`<table><!><tbody></tbody></table>`);
992
989
 
993
990
  function RelationshipInHtmlTable($$anchor, $$props) {
994
991
  $.push($$props, true);
@@ -1041,12 +1038,12 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1041
1038
  const extraHeadersAfter = $.derived(() =>
1042
1039
  getExtraHeaders(extraCellsAfter(), 1),
1043
1040
  );
1044
- var table = root$3();
1041
+ var table = root_3$2();
1045
1042
  var node = $.child(table);
1046
1043
 
1047
1044
  {
1048
1045
  var consequent_1 = ($$anchor) => {
1049
- var thead = root_1$3();
1046
+ var thead = root_2$2();
1050
1047
  var tr = $.child(thead);
1051
1048
  var node_1 = $.child(tr);
1052
1049
 
@@ -1056,7 +1053,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1056
1053
  () => $.get(extraHeadersBefore),
1057
1054
  (extraHeader) => extraHeader.key,
1058
1055
  ($$anchor, extraHeader) => {
1059
- var th = root_2$2();
1056
+ var th = root$3();
1060
1057
  var text = $.child(th, true);
1061
1058
 
1062
1059
  $.reset(th);
@@ -1074,7 +1071,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1074
1071
 
1075
1072
  {
1076
1073
  var consequent = ($$anchor) => {
1077
- var fragment = root_3$2();
1074
+ var fragment = root_1$3();
1078
1075
  var th_1 = $.first_child(fragment);
1079
1076
  var text_1 = $.child(th_1);
1080
1077
 
@@ -1108,7 +1105,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1108
1105
  () => $.get(cellEntries),
1109
1106
  (entry) => entry[0],
1110
1107
  ($$anchor, entry) => {
1111
- var th_3 = root_4$2();
1108
+ var th_3 = root$3();
1112
1109
  var text_3 = $.child(th_3, true);
1113
1110
 
1114
1111
  $.reset(th_3);
@@ -1125,7 +1122,7 @@ function RelationshipInHtmlTable($$anchor, $$props) {
1125
1122
  () => $.get(extraHeadersAfter),
1126
1123
  (extraHeader) => extraHeader.key,
1127
1124
  ($$anchor, extraHeader) => {
1128
- var th_4 = root_5$1();
1125
+ var th_4 = root$3();
1129
1126
  var text_4 = $.child(th_4, true);
1130
1127
 
1131
1128
  $.reset(th_4);
@@ -1232,18 +1229,14 @@ function ResultCellView($$anchor, $$props) {
1232
1229
  $.pop();
1233
1230
  }
1234
1231
 
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>`);
1232
+ var root$2 = $.from_html(`<caption><!></caption>`);
1233
+ var root_1$2 = $.from_html(`<th> </th>`);
1234
+ var root_2$1 = $.from_html(`<th><!> Id</th>`);
1235
+ var root_3$1 = $.from_html(`<th><!> </th>`);
1236
+ var root_4$1 = $.from_html(`<thead><tr><!><!><!><!></tr></thead>`);
1237
+ var root_5$1 = $.from_html(`<td><!></td>`);
1238
+ var root_6 = $.from_html(`<tr><!><!><!><!></tr>`);
1239
+ var root_7 = $.from_html(`<table><!><!><tbody></tbody></table>`);
1247
1240
 
1248
1241
  function HtmlTable($$anchor, $$props) {
1249
1242
  $.push($$props, true);
@@ -1260,12 +1253,12 @@ function HtmlTable($$anchor, $$props) {
1260
1253
  );
1261
1254
  const PaginatorComponent = $.derived(() => $$props.paginator?.component);
1262
1255
  const paginatorProps = $.derived(() => $$props.paginator?.props);
1263
- var table = root$2();
1256
+ var table = root_7();
1264
1257
  var node = $.child(table);
1265
1258
 
1266
1259
  {
1267
1260
  var consequent = ($$anchor) => {
1268
- var caption = root_1$2();
1261
+ var caption = root$2();
1269
1262
  var node_1 = $.child(caption);
1270
1263
 
1271
1264
  $.component(
@@ -1293,7 +1286,7 @@ function HtmlTable($$anchor, $$props) {
1293
1286
 
1294
1287
  {
1295
1288
  var consequent_4 = ($$anchor) => {
1296
- var thead = root_2$1();
1289
+ var thead = root_4$1();
1297
1290
  var tr = $.child(thead);
1298
1291
  var node_3 = $.child(tr);
1299
1292
 
@@ -1303,7 +1296,7 @@ function HtmlTable($$anchor, $$props) {
1303
1296
  () => $.get(extraHeadersBefore),
1304
1297
  (extraHeader) => extraHeader.key,
1305
1298
  ($$anchor, extraHeader) => {
1306
- var th = root_3$1();
1299
+ var th = root_1$2();
1307
1300
  var text = $.child(th, true);
1308
1301
 
1309
1302
  $.reset(th);
@@ -1321,7 +1314,7 @@ function HtmlTable($$anchor, $$props) {
1321
1314
 
1322
1315
  {
1323
1316
  var consequent_2 = ($$anchor) => {
1324
- var th_1 = root_4$1();
1317
+ var th_1 = root_2$1();
1325
1318
  var node_5 = $.child(th_1);
1326
1319
 
1327
1320
  {
@@ -1383,7 +1376,7 @@ function HtmlTable($$anchor, $$props) {
1383
1376
  ($$anchor, entry) => {
1384
1377
  const cellId = $.derived(() => $.get(entry)[0]);
1385
1378
  const cell = $.derived(() => $.get(entry)[1]);
1386
- var th_2 = root_6$1();
1379
+ var th_2 = root_3$1();
1387
1380
  var node_7 = $.child(th_2);
1388
1381
 
1389
1382
  {
@@ -1443,7 +1436,7 @@ function HtmlTable($$anchor, $$props) {
1443
1436
  () => $.get(extraHeadersAfter),
1444
1437
  (extraHeader) => extraHeader.key,
1445
1438
  ($$anchor, extraHeader) => {
1446
- var th_3 = root_8$1();
1439
+ var th_3 = root_1$2();
1447
1440
  var text_4 = $.child(th_3, true);
1448
1441
 
1449
1442
  $.reset(th_3);
@@ -1479,7 +1472,7 @@ function HtmlTable($$anchor, $$props) {
1479
1472
  ...$$props.cellComponentProps,
1480
1473
  rowId,
1481
1474
  }));
1482
- var tr_1 = root_9();
1475
+ var tr_1 = root_6();
1483
1476
  var node_9 = $.child(tr_1);
1484
1477
 
1485
1478
  $.each(
@@ -1489,7 +1482,7 @@ function HtmlTable($$anchor, $$props) {
1489
1482
  (extraCell, index) => extraKey(index, 0),
1490
1483
  ($$anchor, extraCell) => {
1491
1484
  const ExtraCell = $.derived(() => $.get(extraCell).component);
1492
- var td = root_10();
1485
+ var td = root_5$1();
1493
1486
  var node_10 = $.child(td);
1494
1487
 
1495
1488
  $.component(
@@ -1513,7 +1506,7 @@ function HtmlTable($$anchor, $$props) {
1513
1506
 
1514
1507
  {
1515
1508
  var consequent_5 = ($$anchor) => {
1516
- var th_4 = root_11();
1509
+ var th_4 = root_1$2();
1517
1510
  var text_5 = $.child(th_4, true);
1518
1511
 
1519
1512
  $.reset(th_4);
@@ -1544,7 +1537,7 @@ function HtmlTable($$anchor, $$props) {
1544
1537
  const cellId = $.derived(() => $.get(entry)[0]);
1545
1538
  const cell = $.derived(() => $.get(entry)[1]);
1546
1539
  const CellComponent = $.derived(() => $.get(cell).component);
1547
- var td_1 = root_12();
1540
+ var td_1 = root_5$1();
1548
1541
  var node_13 = $.child(td_1);
1549
1542
 
1550
1543
  {
@@ -1586,7 +1579,7 @@ function HtmlTable($$anchor, $$props) {
1586
1579
  (extraCell, index) => extraKey(index, 1),
1587
1580
  ($$anchor, extraCell) => {
1588
1581
  const ExtraCell = $.derived(() => $.get(extraCell).component);
1589
- var td_2 = root_13();
1582
+ var td_2 = root_5$1();
1590
1583
  var node_15 = $.child(td_2);
1591
1584
 
1592
1585
  $.component(
@@ -1620,15 +1613,16 @@ function HtmlTable($$anchor, $$props) {
1620
1613
 
1621
1614
  $.delegate(['click']);
1622
1615
 
1623
- var root_1$1 = $.from_html(
1616
+ var rest_excludes$5 = new Set(['$$slots', '$$events', '$$legacy']);
1617
+ var root$1 = $.from_html(
1624
1618
  `<button class="previous"></button><button class="next"></button> `,
1625
1619
  1,
1626
1620
  );
1627
- var root$1 = $.from_html(`<!> `, 1);
1621
+ var root_1$1 = $.from_html(`<!> `, 1);
1628
1622
 
1629
1623
  function SortedTablePaginator($$anchor, $$props) {
1630
1624
  $.push($$props, true);
1631
- $.rest_props($$props, ['$$slots', '$$events', '$$legacy']);
1625
+ $.rest_props($$props, rest_excludes$5);
1632
1626
  const offset = $.derived(() =>
1633
1627
  $$props.offset == null ||
1634
1628
  $$props.offset > $$props.total ||
@@ -1654,12 +1648,12 @@ function SortedTablePaginator($$anchor, $$props) {
1654
1648
  }
1655
1649
  });
1656
1650
 
1657
- var fragment = root$1();
1651
+ var fragment = root_1$1();
1658
1652
  var node = $.first_child(fragment);
1659
1653
 
1660
1654
  {
1661
1655
  var consequent = ($$anchor) => {
1662
- var fragment_1 = root_1$1();
1656
+ var fragment_1 = root$1();
1663
1657
  var button = $.first_child(fragment_1);
1664
1658
 
1665
1659
  button.textContent = '←';
@@ -1699,7 +1693,7 @@ function SortedTablePaginator($$anchor, $$props) {
1699
1693
 
1700
1694
  $.delegate(['click']);
1701
1695
 
1702
- /* sortingAndPagination.svelte.ts generated by Svelte v5.55.5 */
1696
+ /* sortingAndPagination.svelte.ts generated by Svelte v5.56.3 */
1703
1697
 
1704
1698
  const createSortingAndPagination = (
1705
1699
  getCellId,
@@ -1769,27 +1763,29 @@ const createSortingAndPagination = (
1769
1763
  };
1770
1764
  };
1771
1765
 
1766
+ var rest_excludes$4 = new Set([
1767
+ '$$slots',
1768
+ '$$events',
1769
+ '$$legacy',
1770
+ 'queryId',
1771
+ 'cellId',
1772
+ 'descending',
1773
+ 'offset',
1774
+ 'limit',
1775
+ 'queries',
1776
+ 'sortOnClick',
1777
+ 'paginator',
1778
+ 'customCells',
1779
+ 'extraCellsBefore',
1780
+ 'extraCellsAfter',
1781
+ 'onChange',
1782
+ ]);
1783
+
1772
1784
  function ResultSortedTableInHtmlTable($$anchor, $$props) {
1773
1785
  $.push($$props, true);
1774
1786
 
1775
1787
  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
- ]);
1788
+ props = $.rest_props($$props, rest_excludes$4);
1793
1789
 
1794
1790
  const defaultCellIds = getResultTableCellIds(
1795
1791
  () => $$props.queryId,
@@ -1865,20 +1861,21 @@ function ResultSortedTableInHtmlTable($$anchor, $$props) {
1865
1861
  $.pop();
1866
1862
  }
1867
1863
 
1864
+ var rest_excludes$3 = new Set([
1865
+ '$$slots',
1866
+ '$$events',
1867
+ '$$legacy',
1868
+ 'queryId',
1869
+ 'queries',
1870
+ 'customCells',
1871
+ 'extraCellsBefore',
1872
+ 'extraCellsAfter',
1873
+ ]);
1874
+
1868
1875
  function ResultTableInHtmlTable($$anchor, $$props) {
1869
1876
  $.push($$props, true);
1870
1877
 
1871
- let props = $.rest_props($$props, [
1872
- '$$slots',
1873
- '$$events',
1874
- '$$legacy',
1875
- 'queryId',
1876
- 'queries',
1877
- 'customCells',
1878
- 'extraCellsBefore',
1879
- 'extraCellsAfter',
1880
- ]);
1881
-
1878
+ let props = $.rest_props($$props, rest_excludes$3);
1882
1879
  const defaultCellIds = getResultTableCellIds(
1883
1880
  () => $$props.queryId,
1884
1881
  () => $$props.queries,
@@ -1923,22 +1920,23 @@ function ResultTableInHtmlTable($$anchor, $$props) {
1923
1920
  $.pop();
1924
1921
  }
1925
1922
 
1923
+ var rest_excludes$2 = new Set([
1924
+ '$$slots',
1925
+ '$$events',
1926
+ '$$legacy',
1927
+ 'indexId',
1928
+ 'sliceId',
1929
+ 'indexes',
1930
+ 'editable',
1931
+ 'customCells',
1932
+ 'extraCellsBefore',
1933
+ 'extraCellsAfter',
1934
+ ]);
1935
+
1926
1936
  function SliceInHtmlTable($$anchor, $$props) {
1927
1937
  $.push($$props, true);
1928
1938
 
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
-
1939
+ let props = $.rest_props($$props, rest_excludes$2);
1942
1940
  const index = getIndexStoreTableId(
1943
1941
  () => $$props.indexes,
1944
1942
  () => $$props.indexId,
@@ -1995,28 +1993,30 @@ function SliceInHtmlTable($$anchor, $$props) {
1995
1993
  $.pop();
1996
1994
  }
1997
1995
 
1996
+ var rest_excludes$1 = new Set([
1997
+ '$$slots',
1998
+ '$$events',
1999
+ '$$legacy',
2000
+ 'tableId',
2001
+ 'cellId',
2002
+ 'descending',
2003
+ 'offset',
2004
+ 'limit',
2005
+ 'store',
2006
+ 'editable',
2007
+ 'sortOnClick',
2008
+ 'paginator',
2009
+ 'onChange',
2010
+ 'customCells',
2011
+ 'extraCellsBefore',
2012
+ 'extraCellsAfter',
2013
+ ]);
2014
+
1998
2015
  function SortedTableInHtmlTable($$anchor, $$props) {
1999
2016
  $.push($$props, true);
2000
2017
 
2001
2018
  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
- ]);
2019
+ props = $.rest_props($$props, rest_excludes$1);
2020
2020
 
2021
2021
  const defaultCellIds = getTableCellIds(
2022
2022
  () => $$props.tableId,
@@ -2099,21 +2099,22 @@ function SortedTableInHtmlTable($$anchor, $$props) {
2099
2099
  $.pop();
2100
2100
  }
2101
2101
 
2102
+ var rest_excludes = new Set([
2103
+ '$$slots',
2104
+ '$$events',
2105
+ '$$legacy',
2106
+ 'tableId',
2107
+ 'store',
2108
+ 'editable',
2109
+ 'customCells',
2110
+ 'extraCellsBefore',
2111
+ 'extraCellsAfter',
2112
+ ]);
2113
+
2102
2114
  function TableInHtmlTable($$anchor, $$props) {
2103
2115
  $.push($$props, true);
2104
2116
 
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
-
2117
+ let props = $.rest_props($$props, rest_excludes);
2117
2118
  const defaultCellIds = getTableCellIds(
2118
2119
  () => $$props.tableId,
2119
2120
  () => $$props.store,
@@ -2189,15 +2190,12 @@ function ValueView($$anchor, $$props) {
2189
2190
  $.pop();
2190
2191
  }
2191
2192
 
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>`);
2193
+ var root = $.from_html(`<th> </th>`);
2194
+ var root_1 = $.from_html(`<th>Id</th>`);
2195
+ var root_2 = $.from_html(`<thead><tr><!><!><th> </th><!></tr></thead>`);
2196
+ var root_3 = $.from_html(`<td><!></td>`);
2197
+ var root_4 = $.from_html(`<tr><!><!><td><!></td><!></tr>`);
2198
+ var root_5 = $.from_html(`<table><!><tbody></tbody></table>`);
2201
2199
 
2202
2200
  function ValuesInHtmlTable($$anchor, $$props) {
2203
2201
  $.push($$props, true);
@@ -2217,12 +2215,12 @@ function ValuesInHtmlTable($$anchor, $$props) {
2217
2215
  const extraHeadersAfter = $.derived(() =>
2218
2216
  getExtraHeaders(extraCellsAfter(), 1),
2219
2217
  );
2220
- var table = root();
2218
+ var table = root_5();
2221
2219
  var node = $.child(table);
2222
2220
 
2223
2221
  {
2224
2222
  var consequent_1 = ($$anchor) => {
2225
- var thead = root_1();
2223
+ var thead = root_2();
2226
2224
  var tr = $.child(thead);
2227
2225
  var node_1 = $.child(tr);
2228
2226
 
@@ -2232,7 +2230,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2232
2230
  () => $.get(extraHeadersBefore),
2233
2231
  (extraHeader) => extraHeader.key,
2234
2232
  ($$anchor, extraHeader) => {
2235
- var th = root_2();
2233
+ var th = root();
2236
2234
  var text = $.child(th, true);
2237
2235
 
2238
2236
  $.reset(th);
@@ -2250,7 +2248,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2250
2248
 
2251
2249
  {
2252
2250
  var consequent = ($$anchor) => {
2253
- var th_1 = root_3();
2251
+ var th_1 = root_1();
2254
2252
 
2255
2253
  $.append($$anchor, th_1);
2256
2254
  };
@@ -2273,7 +2271,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2273
2271
  () => $.get(extraHeadersAfter),
2274
2272
  (extraHeader) => extraHeader.key,
2275
2273
  ($$anchor, extraHeader) => {
2276
- var th_3 = root_4();
2274
+ var th_3 = root();
2277
2275
  var text_2 = $.child(th_3, true);
2278
2276
 
2279
2277
  $.reset(th_3);
@@ -2307,7 +2305,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2307
2305
  (valueId) => valueId,
2308
2306
  ($$anchor, valueId) => {
2309
2307
  const valueProps = $.derived(() => ({valueId, store: $$props.store}));
2310
- var tr_1 = root_5();
2308
+ var tr_1 = root_4();
2311
2309
  var node_4 = $.child(tr_1);
2312
2310
 
2313
2311
  $.each(
@@ -2317,7 +2315,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2317
2315
  (extraCell, index) => extraKey(index, 0),
2318
2316
  ($$anchor, extraCell) => {
2319
2317
  const ExtraCell = $.derived(() => $.get(extraCell).component);
2320
- var td = root_6();
2318
+ var td = root_3();
2321
2319
  var node_5 = $.child(td);
2322
2320
 
2323
2321
  $.component(
@@ -2341,7 +2339,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2341
2339
 
2342
2340
  {
2343
2341
  var consequent_2 = ($$anchor) => {
2344
- var th_4 = root_7();
2342
+ var th_4 = root();
2345
2343
  var text_3 = $.child(th_4, true);
2346
2344
 
2347
2345
  $.reset(th_4);
@@ -2395,7 +2393,7 @@ function ValuesInHtmlTable($$anchor, $$props) {
2395
2393
  (extraCell, index) => extraKey(index, 1),
2396
2394
  ($$anchor, extraCell) => {
2397
2395
  const ExtraCell = $.derived(() => $.get(extraCell).component);
2398
- var td_2 = root_8();
2396
+ var td_2 = root_3();
2399
2397
  var node_9 = $.child(td_2);
2400
2398
 
2401
2399
  $.component(