@lavalogic/scoria 0.5.0 → 0.5.1

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.
@@ -79,7 +79,6 @@
79
79
  {:then value}
80
80
  {@render ValueFallback(value)}
81
81
  {:catch e}
82
- {@debug e}
83
82
  <FocusableImmutableCell value={e?.toString()} {cell} />
84
83
  {/await}
85
84
  {/if}
@@ -166,9 +166,14 @@
166
166
  );
167
167
 
168
168
  if (def.debug) {
169
- console.log('value:', x);
169
+ console.log('value:', $state.snapshot(x));
170
170
  }
171
171
  value = (x ?? null) as SelectOption<unknown> | null;
172
+ } else if (def.debug) {
173
+ console.log(
174
+ 'filtering state value was undefined',
175
+ $state.snapshot(tableContext.paginationRepo?.filtering)
176
+ );
172
177
  }
173
178
  } catch (e) {
174
179
  console.warn(e);
@@ -388,7 +393,7 @@
388
393
  tableContext.paginationRepo?.filterBy(def.id, newValue?.value ?? null);
389
394
  tableContext.__queryValues.set(label ?? _uuid, newValue);
390
395
  // FIXME <T> is lost when autoformatting. why?
391
- value = newValue as SelectOption<T> | null;
396
+ value = newValue as SelectOption | null;
392
397
  }}
393
398
  />
394
399
  {:else}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lavalogic/scoria",
3
3
  "description": "Svelte components used for the FloWMS Web Frontend",
4
- "version": "0.5.0",
4
+ "version": "0.5.1",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },