@lavalogic/scoria 0.0.37 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components/Table/Body/QuickSearchCell.svelte +2 -2
- package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte +1 -1
- package/dist/Components/Table/Misc/FilterInput.svelte +1 -1
- package/dist/Components/Table/Types/Columns/Definitions/Expand/ExpandDef.svelte.d.ts +1 -1
- package/package.json +1 -1
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
let valueMax: number | null = $state(null);
|
|
97
97
|
|
|
98
98
|
let selectedOptions: Array<SelectOption<string | number>> = $state([]);
|
|
99
|
-
let lastQueryOptions: Array<SelectOption<
|
|
99
|
+
let lastQueryOptions: Array<SelectOption<string | number>> = $state([]);
|
|
100
100
|
|
|
101
101
|
const inputId = $derived(`${tableContext.tableName}-cell-quicksearch-${column.id}`);
|
|
102
102
|
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
name={customFilter?.objectName ?? 'Item'}
|
|
291
291
|
valueProp="value"
|
|
292
292
|
labelProp="label"
|
|
293
|
-
|
|
293
|
+
{value}
|
|
294
294
|
query={customFilter!.query!}
|
|
295
295
|
bind:options={lastQueryOptions}
|
|
296
296
|
onchange={(newValue) => {
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
valueProp="value"
|
|
214
214
|
labelProp="label"
|
|
215
215
|
valueAsObject={columnDef.valueAsObject}
|
|
216
|
-
|
|
216
|
+
{value}
|
|
217
217
|
query={(v) => columnDef.query(v, cell.row.original, cell.row.originalIndex)}
|
|
218
218
|
bind:options={lastOptions}
|
|
219
219
|
onfocus={addKeydownEvent}
|
|
@@ -8,7 +8,7 @@ export interface ExpandDefProps<T extends object, R extends object> extends Colu
|
|
|
8
8
|
headerIcon: IconProps['name'];
|
|
9
9
|
innerTableName: string;
|
|
10
10
|
innerTableOptions: TableInitOptions<R>;
|
|
11
|
-
accessorFn: (item: T, index: number) => R | Promise<R>;
|
|
11
|
+
accessorFn: (item: T, index: number) => R[] | Promise<R[]>;
|
|
12
12
|
}
|
|
13
13
|
export declare class ExpandDef<T extends object, R extends object = object> extends ColumnDef<T> {
|
|
14
14
|
readonly columnType: "Expand";
|