@xh/hoist 73.0.0-SNAPSHOT.1738073624805 → 73.0.0-SNAPSHOT.1738098086901

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.
@@ -10,7 +10,7 @@ import {toolbar, toolbarSep} from '@xh/hoist/desktop/cmp/toolbar';
10
10
  import {errorMessage} from '@xh/hoist/cmp/error';
11
11
  import {grid, GridConfig, gridCountLabel} from '@xh/hoist/cmp/grid';
12
12
  import {a, box, filler, h4, hframe, label, li, span, ul, vbox} from '@xh/hoist/cmp/layout';
13
- import {hoistCmp, SelectOption, useLocalModel} from '@xh/hoist/core';
13
+ import {hoistCmp, HoistProps, SelectOption, useLocalModel} from '@xh/hoist/core';
14
14
  import {button} from '@xh/hoist/desktop/cmp/button';
15
15
  import {buttonGroupInput, jsonInput, select, textInput} from '@xh/hoist/desktop/cmp/input';
16
16
  import {panel} from '@xh/hoist/desktop/cmp/panel';
@@ -19,7 +19,7 @@ import {popover} from '@xh/hoist/kit/blueprint';
19
19
  import {clipboardButton} from '@xh/hoist/desktop/cmp/clipboard';
20
20
  import {JsonSearchPanelImplModel} from './impl/JsonSearchPanelImplModel';
21
21
 
22
- export interface JsonSearchPanelProps {
22
+ export interface JsonSearchPanelProps extends HoistProps {
23
23
  /** Url to endpoint for searching for matching JSON documents */
24
24
  docSearchUrl: string;
25
25
 
@@ -34,10 +34,10 @@ export interface JsonSearchPanelProps {
34
34
  /**
35
35
  * Names of field(s) that can be used to group by.
36
36
  */
37
- groupByOptions: SelectOption[];
37
+ groupByOptions: Array<SelectOption | any>;
38
38
  }
39
39
 
40
- export const [JsonSearchPanel, jsonSearchPanel] = hoistCmp.withFactory({
40
+ export const [JsonSearchPanel, jsonSearchPanel] = hoistCmp.withFactory<JsonSearchPanelProps>({
41
41
  displayName: 'JsonSearchPanel',
42
42
 
43
43
  render() {
@@ -4,6 +4,7 @@
4
4
  *
5
5
  * Copyright © 2025 Extremely Heavy Industries Inc.
6
6
  */
7
+
7
8
  import * as Col from '@xh/hoist/admin/columns/Rest';
8
9
  import * as AdminCol from '@xh/hoist/admin/columns';
9
10
  import {prefEditorDialog} from '@xh/hoist/admin/tabs/userData/prefs/editor/PrefEditorDialog';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { GridConfig } from '@xh/hoist/cmp/grid';
3
- import { SelectOption } from '@xh/hoist/core';
4
- export interface JsonSearchPanelProps {
3
+ import { HoistProps, SelectOption } from '@xh/hoist/core';
4
+ export interface JsonSearchPanelProps extends HoistProps {
5
5
  /** Url to endpoint for searching for matching JSON documents */
6
6
  docSearchUrl: string;
7
7
  /** Url to endpoint for listing matching JSON nodes */
@@ -13,6 +13,6 @@ export interface JsonSearchPanelProps {
13
13
  /**
14
14
  * Names of field(s) that can be used to group by.
15
15
  */
16
- groupByOptions: SelectOption[];
16
+ groupByOptions: Array<SelectOption | any>;
17
17
  }
18
- export declare const JsonSearchPanel: import("react").FC<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>, jsonSearchPanel: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>;
18
+ export declare const JsonSearchPanel: import("react").FC<JsonSearchPanelProps>, jsonSearchPanel: import("@xh/hoist/core").ElementFactory<JsonSearchPanelProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "73.0.0-SNAPSHOT.1738073624805",
3
+ "version": "73.0.0-SNAPSHOT.1738098086901",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",