@xh/hoist 79.0.0-SNAPSHOT.1766244066570 → 79.0.0-SNAPSHOT.1766259546947
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/build/types/data/UrlStore.d.ts +1 -1
- package/cmp/ag-grid/AgGrid.ts +1 -4
- package/cmp/grid/impl/ColumnGroupHeader.ts +1 -2
- package/core/HoistProps.ts +2 -1
- package/core/model/HoistModel.ts +8 -1
- package/data/UrlStore.ts +9 -1
- package/desktop/cmp/button/Button.ts +1 -5
- package/desktop/cmp/button/ButtonGroup.ts +2 -1
- package/desktop/cmp/dash/container/DashContainerModel.ts +4 -2
- package/desktop/cmp/input/ButtonGroupInput.ts +1 -2
- package/desktop/cmp/rest/RestGrid.ts +1 -2
- package/kit/react-dates/datepicker.css +530 -528
- package/mobile/appcontainer/VersionBar.ts +1 -1
- package/mobile/cmp/button/Button.ts +1 -3
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Loadable, LoadSpec, LoadSupport, PlainObject, TaskObserver } from '@xh/hoist/core';
|
|
2
2
|
import { Store, StoreConfig } from './Store';
|
|
3
3
|
export interface UrlStoreConfig extends StoreConfig {
|
|
4
4
|
/** URL from which to load data. */
|
package/cmp/ag-grid/AgGrid.ts
CHANGED
|
@@ -26,10 +26,7 @@ import './AgGrid.scss';
|
|
|
26
26
|
import {AgGridModel} from './AgGridModel';
|
|
27
27
|
|
|
28
28
|
export interface AgGridProps
|
|
29
|
-
extends HoistProps<AgGridModel>,
|
|
30
|
-
GridOptions,
|
|
31
|
-
LayoutProps,
|
|
32
|
-
TestSupportProps {}
|
|
29
|
+
extends HoistProps<AgGridModel>, GridOptions, LayoutProps, TestSupportProps {}
|
|
33
30
|
|
|
34
31
|
/**
|
|
35
32
|
* Minimal wrapper for AgGridReact, supporting direct use of the ag-Grid component with limited
|
|
@@ -16,8 +16,7 @@ import {ReactNode} from 'react';
|
|
|
16
16
|
import type {AgProvidedColumnGroup, IHeaderGroupParams} from '@xh/hoist/kit/ag-grid';
|
|
17
17
|
|
|
18
18
|
export interface ColumnGroupHeaderProps
|
|
19
|
-
extends HoistProps<ColumnGroupHeaderModel>,
|
|
20
|
-
IHeaderGroupParams {
|
|
19
|
+
extends HoistProps<ColumnGroupHeaderModel>, IHeaderGroupParams {
|
|
21
20
|
gridModel: GridModel;
|
|
22
21
|
xhColumnGroup: ColumnGroup;
|
|
23
22
|
}
|
package/core/HoistProps.ts
CHANGED
|
@@ -67,7 +67,8 @@ export interface DefaultHoistProps<M extends HoistModel = HoistModel> extends Ho
|
|
|
67
67
|
* which also supports this interface. Eventually, they should be passed to a Box class.
|
|
68
68
|
*/
|
|
69
69
|
export interface BoxProps
|
|
70
|
-
extends
|
|
70
|
+
extends
|
|
71
|
+
LayoutProps,
|
|
71
72
|
TestSupportProps,
|
|
72
73
|
Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'contextMenu'> {}
|
|
73
74
|
|
package/core/model/HoistModel.ts
CHANGED
|
@@ -7,7 +7,14 @@
|
|
|
7
7
|
import {action, computed, comparer, makeObservable, observable} from '@xh/hoist/mobx';
|
|
8
8
|
import {apiDeprecated, warnIf} from '@xh/hoist/utils/js';
|
|
9
9
|
import {isFunction} from 'lodash';
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
DefaultHoistProps,
|
|
12
|
+
HoistBase,
|
|
13
|
+
LoadSpecConfig,
|
|
14
|
+
managed,
|
|
15
|
+
PlainObject,
|
|
16
|
+
TaskObserver
|
|
17
|
+
} from '../';
|
|
11
18
|
import {instanceManager} from '../impl/InstanceManager';
|
|
12
19
|
import {Loadable, LoadSpec, LoadSupport} from '../load';
|
|
13
20
|
import {ModelSelector} from './';
|
package/data/UrlStore.ts
CHANGED
|
@@ -5,7 +5,15 @@
|
|
|
5
5
|
* Copyright © 2025 Extremely Heavy Industries Inc.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
Loadable,
|
|
10
|
+
LoadSpec,
|
|
11
|
+
LoadSupport,
|
|
12
|
+
managed,
|
|
13
|
+
PlainObject,
|
|
14
|
+
TaskObserver,
|
|
15
|
+
XH
|
|
16
|
+
} from '@xh/hoist/core';
|
|
9
17
|
import {apiDeprecated} from '@xh/hoist/utils/js';
|
|
10
18
|
|
|
11
19
|
import {Store, StoreConfig} from './Store';
|
|
@@ -23,11 +23,7 @@ import {ReactElement, ReactNode} from 'react';
|
|
|
23
23
|
import './Button.scss';
|
|
24
24
|
|
|
25
25
|
export interface ButtonProps<M extends HoistModel = null>
|
|
26
|
-
extends HoistProps<M>,
|
|
27
|
-
StyleProps,
|
|
28
|
-
LayoutProps,
|
|
29
|
-
TestSupportProps,
|
|
30
|
-
Omit<BpButtonProps, 'ref'> {
|
|
26
|
+
extends HoistProps<M>, StyleProps, LayoutProps, TestSupportProps, Omit<BpButtonProps, 'ref'> {
|
|
31
27
|
active?: boolean;
|
|
32
28
|
autoFocus?: boolean;
|
|
33
29
|
disabled?: boolean;
|
|
@@ -20,7 +20,8 @@ import {splitLayoutProps} from '@xh/hoist/utils/react';
|
|
|
20
20
|
import {SetOptional} from 'type-fest';
|
|
21
21
|
|
|
22
22
|
export interface ButtonGroupProps<M extends HoistModel = null>
|
|
23
|
-
extends
|
|
23
|
+
extends
|
|
24
|
+
HoistProps<M>,
|
|
24
25
|
LayoutProps,
|
|
25
26
|
StyleProps,
|
|
26
27
|
TestSupportProps,
|
|
@@ -49,8 +49,10 @@ import {
|
|
|
49
49
|
} from './impl/DashContainerUtils';
|
|
50
50
|
import {dashContainerView} from './impl/DashContainerView';
|
|
51
51
|
|
|
52
|
-
export interface DashContainerConfig
|
|
53
|
-
|
|
52
|
+
export interface DashContainerConfig extends DashConfig<
|
|
53
|
+
DashContainerViewSpec,
|
|
54
|
+
DashContainerViewState
|
|
55
|
+
> {
|
|
54
56
|
/** Strategy for rendering DashContainerViews. Can also be set per-view in `viewSpecs`*/
|
|
55
57
|
renderMode?: RenderMode;
|
|
56
58
|
|
|
@@ -14,8 +14,7 @@ import {castArray, filter, isEmpty, without} from 'lodash';
|
|
|
14
14
|
import {Children, cloneElement, isValidElement} from 'react';
|
|
15
15
|
|
|
16
16
|
export interface ButtonGroupInputProps
|
|
17
|
-
extends Omit<ButtonGroupProps<HoistModel>, 'onChange'>,
|
|
18
|
-
HoistInputProps {
|
|
17
|
+
extends Omit<ButtonGroupProps<HoistModel>, 'onChange'>, HoistInputProps {
|
|
19
18
|
/**
|
|
20
19
|
* True to allow buttons to be unselected (aka inactivated). Defaults to false.
|
|
21
20
|
* Does not apply when enableMulti: true.
|
|
@@ -21,8 +21,7 @@ import {restGridToolbar} from './impl/RestGridToolbar';
|
|
|
21
21
|
import {RestGridModel} from './RestGridModel';
|
|
22
22
|
|
|
23
23
|
export interface RestGridProps
|
|
24
|
-
extends HoistProps<RestGridModel>,
|
|
25
|
-
Omit<PanelProps, 'model' | 'modelConfig' | 'modelRef'> {
|
|
24
|
+
extends HoistProps<RestGridModel>, Omit<PanelProps, 'model' | 'modelConfig' | 'modelRef'> {
|
|
26
25
|
/**
|
|
27
26
|
* This constitutes an 'escape hatch' for applications that need to get to the underlying
|
|
28
27
|
* AG Grid API. Use with care - settings made here might be overwritten and/or interfere with
|