@xh/hoist 73.0.0-SNAPSHOT.1738073624805 → 73.0.0-SNAPSHOT.1738073819234
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
|
|
|
@@ -37,7 +37,7 @@ export interface JsonSearchPanelProps {
|
|
|
37
37
|
groupByOptions: SelectOption[];
|
|
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() {
|
|
@@ -10,7 +10,10 @@ import * as AdminCol from '@xh/hoist/admin/columns';
|
|
|
10
10
|
import {hframe} from '@xh/hoist/cmp/layout';
|
|
11
11
|
import {creates, hoistCmp} from '@xh/hoist/core';
|
|
12
12
|
import {button} from '@xh/hoist/desktop/cmp/button';
|
|
13
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
jsonSearchPanel,
|
|
15
|
+
type JsonSearchPanelProps
|
|
16
|
+
} from '@xh/hoist/admin/jsonsearch/JsonSearchPanel';
|
|
14
17
|
import {panel} from '@xh/hoist/desktop/cmp/panel';
|
|
15
18
|
import {restGrid} from '@xh/hoist/desktop/cmp/rest';
|
|
16
19
|
import {Icon} from '@xh/hoist/icon';
|
|
@@ -64,7 +67,7 @@ export const jsonBlobPanel = hoistCmp.factory({
|
|
|
64
67
|
]
|
|
65
68
|
},
|
|
66
69
|
groupByOptions: ['owner', 'type', 'name']
|
|
67
|
-
}),
|
|
70
|
+
} as JsonSearchPanelProps),
|
|
68
71
|
differ({omit: !model.differModel})
|
|
69
72
|
);
|
|
70
73
|
}
|
|
@@ -11,7 +11,10 @@ import {UserPreferenceModel} from '@xh/hoist/admin/tabs/userData/prefs/UserPrefe
|
|
|
11
11
|
import {hframe} from '@xh/hoist/cmp/layout';
|
|
12
12
|
import {creates, hoistCmp} from '@xh/hoist/core';
|
|
13
13
|
import {button} from '@xh/hoist/desktop/cmp/button';
|
|
14
|
-
import {
|
|
14
|
+
import {
|
|
15
|
+
jsonSearchPanel,
|
|
16
|
+
type JsonSearchPanelProps
|
|
17
|
+
} from '@xh/hoist/admin/jsonsearch/JsonSearchPanel';
|
|
15
18
|
import {panel} from '@xh/hoist/desktop/cmp/panel';
|
|
16
19
|
import {restGrid} from '@xh/hoist/desktop/cmp/rest';
|
|
17
20
|
import {Icon} from '@xh/hoist/icon';
|
|
@@ -56,7 +59,7 @@ export const userPreferencePanel = hoistCmp.factory({
|
|
|
56
59
|
]
|
|
57
60
|
},
|
|
58
61
|
groupByOptions: ['owner', 'groupName', 'name']
|
|
59
|
-
})
|
|
62
|
+
} as JsonSearchPanelProps)
|
|
60
63
|
);
|
|
61
64
|
}
|
|
62
65
|
});
|
|
@@ -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 */
|
|
@@ -15,4 +15,4 @@ export interface JsonSearchPanelProps {
|
|
|
15
15
|
*/
|
|
16
16
|
groupByOptions: SelectOption[];
|
|
17
17
|
}
|
|
18
|
-
export declare const JsonSearchPanel: import("react").FC<
|
|
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.
|
|
3
|
+
"version": "73.0.0-SNAPSHOT.1738073819234",
|
|
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",
|