@geode/opengeodeweb-front 12.1.0-rc.3 → 12.1.0-rc.4
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.
|
@@ -40,7 +40,7 @@ function row_props({ item }: { item: CRS }): Record<string, unknown> {
|
|
|
40
40
|
class: ["crs-row", { "bg-primary": selected }],
|
|
41
41
|
tabindex: 0,
|
|
42
42
|
"aria-selected": selected,
|
|
43
|
-
onKeydown: (event: KeyboardEvent) => {
|
|
43
|
+
onKeydown: (event: KeyboardEvent): void => {
|
|
44
44
|
if (event.key === "Enter") {
|
|
45
45
|
select_crs(item);
|
|
46
46
|
}
|
|
@@ -242,7 +242,6 @@ function getLeafViewerIds(item: CollectionTreeItem): number[] {
|
|
|
242
242
|
:scroll-top="currentView?.scrollTop || 0"
|
|
243
243
|
class="transparent-treeview virtual-tree-height"
|
|
244
244
|
@update:selected="(val) => onUpdateSelection(val as string[])"
|
|
245
|
-
@click:item="onUpdateSelection([$event.id as string, ...visibleComponents])"
|
|
246
245
|
@update:scroll-top="treeviewStore.setScrollTop(id, $event)"
|
|
247
246
|
@hover:enter="
|
|
248
247
|
({ item, immediate }) =>
|
package/package.json
CHANGED
|
@@ -171,7 +171,7 @@ function createServerWsRpcClient(baseUrl: string): ServerWsRpcClient {
|
|
|
171
171
|
function getConnection(): ReturnType<ServerWsRpcClient["getConnection"]> {
|
|
172
172
|
return {
|
|
173
173
|
getSession: () => ({
|
|
174
|
-
call: async (rpc: string, [params]: readonly [object]) => {
|
|
174
|
+
call: async (rpc: string, [params]: readonly [object]): Promise<unknown> => {
|
|
175
175
|
const result = await call(rpc, params);
|
|
176
176
|
return result;
|
|
177
177
|
},
|