@xh/hoist 76.0.0-SNAPSHOT.1758144134385 → 76.0.0-SNAPSHOT.1758147719816

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.
Files changed (54) hide show
  1. package/admin/tabs/userData/roles/graph/RoleGraph.ts +2 -1
  2. package/build/types/core/XH.d.ts +1 -1
  3. package/build/types/utils/js/LangUtils.d.ts +1 -1
  4. package/build/types/utils/js/index.d.ts +0 -1
  5. package/build/types/utils/log/index.d.ts +1 -0
  6. package/cmp/ag-grid/AgGrid.ts +1 -1
  7. package/cmp/chart/Chart.ts +2 -1
  8. package/cmp/chart/impl/ChartContextMenuItems.ts +1 -1
  9. package/cmp/grid/columns/Column.ts +2 -1
  10. package/cmp/grid/helpers/GridCountLabel.ts +2 -1
  11. package/cmp/grid/impl/ColumnWidthCalculator.ts +2 -1
  12. package/cmp/grid/impl/Utils.ts +1 -1
  13. package/cmp/relativetimestamp/RelativeTimestamp.ts +2 -1
  14. package/cmp/treemap/TreeMap.ts +2 -1
  15. package/core/HoistBase.ts +2 -10
  16. package/core/HoistBaseDecorators.ts +2 -1
  17. package/core/HoistComponent.ts +1 -1
  18. package/core/XH.ts +1 -1
  19. package/core/exception/ExceptionHandler.ts +1 -1
  20. package/core/load/LoadSupport.ts +1 -1
  21. package/core/persist/PersistenceProvider.ts +2 -1
  22. package/data/filter/Utils.ts +1 -1
  23. package/data/impl/RecordSet.ts +2 -1
  24. package/desktop/cmp/button/grid/ColAutosizeButton.ts +2 -1
  25. package/desktop/cmp/button/grid/ColChooserButton.ts +2 -1
  26. package/desktop/cmp/button/grid/ExpandToLevelButton.ts +2 -1
  27. package/desktop/cmp/button/grid/ExportButton.ts +2 -1
  28. package/desktop/cmp/button/panel/ModalToggleButton.ts +2 -1
  29. package/desktop/cmp/button/zoneGrid/ZoneMapperButton.ts +2 -1
  30. package/desktop/cmp/dash/container/impl/DashContainerUtils.ts +2 -1
  31. package/desktop/cmp/form/FormField.ts +2 -1
  32. package/desktop/cmp/grid/editors/BooleanEditor.ts +1 -1
  33. package/desktop/cmp/panel/Panel.ts +1 -1
  34. package/desktop/hooks/UseContextMenu.ts +1 -1
  35. package/kit/ag-grid/index.ts +2 -1
  36. package/kit/highcharts/index.ts +2 -1
  37. package/mobile/cmp/button/grid/ColAutosizeButton.ts +2 -1
  38. package/mobile/cmp/button/grid/ColChooserButton.ts +2 -1
  39. package/mobile/cmp/button/grid/ExpandCollapseButton.ts +2 -1
  40. package/mobile/cmp/button/grid/ExpandToLevelButton.ts +2 -1
  41. package/mobile/cmp/button/zoneGrid/ZoneMapperButton.ts +2 -1
  42. package/mobile/cmp/panel/Panel.ts +1 -1
  43. package/mobx/overrides.ts +1 -1
  44. package/package.json +1 -1
  45. package/security/BaseOAuthClient.ts +2 -1
  46. package/security/msal/MsalClient.ts +2 -1
  47. package/tsconfig.tsbuildinfo +1 -1
  48. package/utils/async/Timer.ts +2 -1
  49. package/utils/js/Decorators.ts +1 -1
  50. package/utils/js/LangUtils.ts +1 -1
  51. package/utils/js/index.ts +0 -1
  52. package/utils/{js → log}/LogUtils.ts +1 -1
  53. package/utils/log/index.ts +8 -0
  54. /package/build/types/utils/{js → log}/LogUtils.d.ts +0 -0
@@ -14,7 +14,8 @@ import {panel} from '@xh/hoist/desktop/cmp/panel';
14
14
  import {toolbar} from '@xh/hoist/desktop/cmp/toolbar';
15
15
  import {Icon} from '@xh/hoist/icon';
16
16
  import {Highcharts} from '@xh/hoist/kit/highcharts';
17
- import {logError, pluralize} from '@xh/hoist/utils/js';
17
+ import {pluralize} from '@xh/hoist/utils/js';
18
+ import {logError} from '@xh/hoist/utils/log';
18
19
  import {isEmpty} from 'lodash';
19
20
  import {RoleModel} from '../RoleModel';
20
21
  import {RoleGraphModel} from './RoleGraphModel';
@@ -2,7 +2,7 @@ import { RouterModel } from '@xh/hoist/appcontainer/RouterModel';
2
2
  import { HoistAuthModel } from '@xh/hoist/core/HoistAuthModel';
3
3
  import { Store } from '@xh/hoist/data';
4
4
  import { AlertBannerService, AutoRefreshService, ChangelogService, ConfigService, EnvironmentService, FetchOptions, FetchService, GridAutosizeService, GridExportService, IdentityService, IdleService, InspectorService, JsonBlobService, LocalStorageService, PrefService, SessionStorageService, TrackService, WebSocketService, ClientHealthService } from '@xh/hoist/svc';
5
- import { LogLevel } from '@xh/hoist/utils/js/LogUtils';
5
+ import { type LogLevel } from '@xh/hoist/utils/log';
6
6
  import { Router, State } from 'router5';
7
7
  import { CancelFn } from 'router5/types/types/base';
8
8
  import { SetOptional } from 'type-fest';
@@ -1,5 +1,5 @@
1
1
  import { Thunkable } from '@xh/hoist/core';
2
- import { LogSource } from '@xh/hoist/utils/js/LogUtils';
2
+ import { type LogSource } from '@xh/hoist/utils/log';
3
3
  /**
4
4
  * Get a cached value on an object, creating it if it does not yet exist.
5
5
  *
@@ -1,7 +1,6 @@
1
1
  export * from './HtmlUtils';
2
2
  export * from './LangUtils';
3
3
  export * from './Decorators';
4
- export * from './LogUtils';
5
4
  export * from './DomUtils';
6
5
  export * from './TestUtils';
7
6
  export * from './VersionUtils';
@@ -0,0 +1 @@
1
+ export * from './LogUtils';
@@ -18,7 +18,7 @@ import {
18
18
  XH
19
19
  } from '@xh/hoist/core';
20
20
  import {AgGridReact, GridOptions} from '@xh/hoist/kit/ag-grid';
21
- import {logError} from '@xh/hoist/utils/js';
21
+ import {logError} from '@xh/hoist/utils/log';
22
22
  import {splitLayoutProps} from '@xh/hoist/utils/react';
23
23
  import classNames from 'classnames';
24
24
  import {isNil} from 'lodash';
@@ -21,7 +21,8 @@ import {
21
21
  import {useContextMenu} from '@xh/hoist/dynamics/desktop';
22
22
  import {Highcharts} from '@xh/hoist/kit/highcharts';
23
23
  import {runInAction} from '@xh/hoist/mobx';
24
- import {logError, mergeDeep} from '@xh/hoist/utils/js';
24
+ import {mergeDeep} from '@xh/hoist/utils/js';
25
+ import {logError} from '@xh/hoist/utils/log';
25
26
  import {
26
27
  createObservableRef,
27
28
  getLayoutProps,
@@ -5,7 +5,7 @@
5
5
  * Copyright © 2025 Extremely Heavy Industries Inc.
6
6
  */
7
7
  import type {ChartMenuContext, ChartMenuToken} from '@xh/hoist/cmp/chart/Types';
8
- import {logWarn} from '@xh/hoist/utils/js';
8
+ import {logWarn} from '@xh/hoist/utils/log';
9
9
  import {cloneDeep, isEmpty, isString} from 'lodash';
10
10
  import {ChartModel} from '@xh/hoist/cmp/chart';
11
11
  import {isMenuItem, type MenuItem, type MenuItemLike} from '@xh/hoist/core';
@@ -15,7 +15,8 @@ import {
15
15
  RecordActionSpec,
16
16
  StoreRecord
17
17
  } from '@xh/hoist/data';
18
- import {logDebug, logWarn, throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
18
+ import {logDebug, logWarn} from '@xh/hoist/utils/log';
19
+ import {throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
19
20
  import classNames from 'classnames';
20
21
  import {
21
22
  castArray,
@@ -7,7 +7,8 @@
7
7
  import {box} from '@xh/hoist/cmp/layout';
8
8
  import {BoxProps, hoistCmp, HoistProps, useContextModel} from '@xh/hoist/core';
9
9
  import {fmtNumber} from '@xh/hoist/format';
10
- import {logError, pluralize, singularize, withDefault} from '@xh/hoist/utils/js';
10
+ import {pluralize, singularize, withDefault} from '@xh/hoist/utils/js';
11
+ import {logError} from '@xh/hoist/utils/log';
11
12
  import {GridModel} from '../GridModel';
12
13
 
13
14
  export interface GridCountLabelProps extends HoistProps, BoxProps {
@@ -9,7 +9,8 @@ import {GridAutosizeOptions} from '@xh/hoist/cmp/grid/GridAutosizeOptions';
9
9
  import {XH} from '@xh/hoist/core';
10
10
  import {CompoundFilter, FieldFilter, Filter, StoreRecord} from '@xh/hoist/data';
11
11
  import {forEachAsync} from '@xh/hoist/utils/async';
12
- import {logWarn, stripTags} from '@xh/hoist/utils/js';
12
+ import {logWarn} from '@xh/hoist/utils/log';
13
+ import {stripTags} from '@xh/hoist/utils/js';
13
14
  import {
14
15
  forOwn,
15
16
  groupBy,
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import {Column, ColumnGroup, ColumnRenderer, GroupRowRenderer} from '@xh/hoist/cmp/grid';
8
8
  import {HeaderClassParams} from '@xh/hoist/kit/ag-grid';
9
- import {logWarn} from '@xh/hoist/utils/js';
9
+ import {logWarn} from '@xh/hoist/utils/log';
10
10
  import {castArray, isFunction} from 'lodash';
11
11
 
12
12
  /** @internal */
@@ -21,7 +21,8 @@ import {fmtCompactDate, fmtDateTime} from '@xh/hoist/format';
21
21
  import {action, computed, makeObservable, observable} from '@xh/hoist/mobx';
22
22
  import {Timer} from '@xh/hoist/utils/async';
23
23
  import {DAYS, HOURS, LocalDate, SECONDS} from '@xh/hoist/utils/datetime';
24
- import {apiDeprecated, logWarn, withDefault} from '@xh/hoist/utils/js';
24
+ import {logWarn} from '@xh/hoist/utils/log';
25
+ import {apiDeprecated, withDefault} from '@xh/hoist/utils/js';
25
26
 
26
27
  interface RelativeTimestampProps extends HoistProps, BoxProps, RelativeTimestampOptions {
27
28
  /**
@@ -21,7 +21,8 @@ import {errorMessage} from '@xh/hoist/cmp/error';
21
21
  import {mask} from '@xh/hoist/cmp/mask';
22
22
  import {Highcharts} from '@xh/hoist/kit/highcharts';
23
23
  import {wait} from '@xh/hoist/promise';
24
- import {logError, logWithDebug} from '@xh/hoist/utils/js';
24
+ import {logWithDebug} from '@xh/hoist/utils/js';
25
+ import {logError} from '@xh/hoist/utils/log';
25
26
  import {
26
27
  createObservableRef,
27
28
  getLayoutProps,
package/core/HoistBase.ts CHANGED
@@ -13,16 +13,8 @@ import {
13
13
  runInAction,
14
14
  when as mobxWhen
15
15
  } from '@xh/hoist/mobx';
16
- import {
17
- getOrCreate,
18
- logDebug,
19
- logError,
20
- logInfo,
21
- logWarn,
22
- throwIf,
23
- withDebug,
24
- withInfo
25
- } from '@xh/hoist/utils/js';
16
+ import {getOrCreate, throwIf} from '@xh/hoist/utils/js';
17
+ import {logDebug, logError, logInfo, logWarn, withDebug, withInfo} from '@xh/hoist/utils/log';
26
18
  import {
27
19
  debounce as lodashDebounce,
28
20
  isFunction,
@@ -6,7 +6,8 @@
6
6
  */
7
7
  import {wait} from '@xh/hoist/promise';
8
8
  import {observable} from 'mobx';
9
- import {logError, throwIf} from '../utils/js';
9
+ import {logError} from '@xh/hoist/utils/log';
10
+ import {throwIf} from '../utils/js';
10
11
  import {HoistBaseClass, PersistableState, PersistenceProvider, PersistOptions} from './';
11
12
 
12
13
  /**
@@ -26,7 +26,7 @@ import {
26
26
  HoistModel
27
27
  } from './model';
28
28
  import {throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
29
- import {logError} from '@xh/hoist/utils/js/LogUtils';
29
+ import {logError} from '@xh/hoist/utils/log';
30
30
  import {getLayoutProps, useOnMount, useOnUnmount} from '@xh/hoist/utils/react';
31
31
  import classNames from 'classnames';
32
32
  import {isFunction, isPlainObject, isObject} from 'lodash';
package/core/XH.ts CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  WebSocketService,
32
32
  ClientHealthService
33
33
  } from '@xh/hoist/svc';
34
- import {getLogLevel, setLogLevel, LogLevel} from '@xh/hoist/utils/js/LogUtils';
34
+ import {getLogLevel, setLogLevel, type LogLevel} from '@xh/hoist/utils/log';
35
35
  import {camelCase, flatten, isString, uniqueId} from 'lodash';
36
36
  import {Router, State} from 'router5';
37
37
  import {CancelFn} from 'router5/types/types/base';
@@ -7,7 +7,7 @@
7
7
  import {Exception} from './Exception';
8
8
  import {fragment, span} from '@xh/hoist/cmp/layout';
9
9
  import {stripTags} from '@xh/hoist/utils/js';
10
- import {logDebug, logError, logWarn} from '@xh/hoist/utils/js/LogUtils';
10
+ import {logDebug, logError, logWarn} from '@xh/hoist/utils/log';
11
11
  import {Icon} from '@xh/hoist/icon';
12
12
  import {forOwn, has, isArray, isNil, isObject, omitBy, pick, set} from 'lodash';
13
13
  import {HoistException, PlainObject, XH} from '../';
@@ -15,7 +15,7 @@ import {
15
15
  import {LoadSpec, Loadable} from './';
16
16
  import {makeObservable, observable, runInAction} from '@xh/hoist/mobx';
17
17
  import {throwIf} from '@xh/hoist/utils/js';
18
- import {logDebug, logError} from '@xh/hoist/utils/js/LogUtils';
18
+ import {logDebug, logError} from '@xh/hoist/utils/log';
19
19
  import {isPlainObject, pull} from 'lodash';
20
20
 
21
21
  /**
@@ -6,7 +6,8 @@
6
6
  */
7
7
 
8
8
  import {olderThan} from '@xh/hoist/utils/datetime';
9
- import {logDebug, logError, throwIf} from '@xh/hoist/utils/js';
9
+ import {logDebug, logError} from '@xh/hoist/utils/log';
10
+ import {throwIf} from '@xh/hoist/utils/js';
10
11
  import {
11
12
  cloneDeep,
12
13
  compact,
@@ -7,7 +7,7 @@
7
7
 
8
8
  import {Some} from '@xh/hoist/core';
9
9
  import {CompoundFilter, FunctionFilter} from '@xh/hoist/data';
10
- import {logError} from '@xh/hoist/utils/js';
10
+ import {logError} from '@xh/hoist/utils/log';
11
11
  import {castArray, flatMap, groupBy, isArray, isFunction} from 'lodash';
12
12
  import {FieldFilter} from './FieldFilter';
13
13
  import {Filter} from './Filter';
@@ -6,7 +6,8 @@
6
6
  */
7
7
 
8
8
  import equal from 'fast-deep-equal';
9
- import {logWarn, throwIf} from '@xh/hoist/utils/js';
9
+ import {logWarn} from '@xh/hoist/utils/log';
10
+ import {throwIf} from '@xh/hoist/utils/js';
10
11
  import {maxBy, isNil} from 'lodash';
11
12
  import {StoreRecord, StoreRecordId} from '../StoreRecord';
12
13
  import {Store} from '../Store';
@@ -8,7 +8,8 @@ import {GridAutosizeOptions, GridModel} from '@xh/hoist/cmp/grid';
8
8
  import {hoistCmp, useContextModel} from '@xh/hoist/core';
9
9
  import '@xh/hoist/desktop/register';
10
10
  import {Icon} from '@xh/hoist/icon';
11
- import {logError, withDefault} from '@xh/hoist/utils/js';
11
+ import {logError} from '@xh/hoist/utils/log';
12
+ import {withDefault} from '@xh/hoist/utils/js';
12
13
  import {button, ButtonProps} from '../Button';
13
14
 
14
15
  export interface ColAutosizeButtonProps extends ButtonProps {
@@ -12,7 +12,8 @@ import {ColChooserModel} from '@xh/hoist/desktop/cmp/grid/impl/colchooser/ColCho
12
12
  import '@xh/hoist/desktop/register';
13
13
  import {Icon} from '@xh/hoist/icon';
14
14
  import {popover, Position} from '@xh/hoist/kit/blueprint';
15
- import {logError, stopPropagation, withDefault} from '@xh/hoist/utils/js';
15
+ import {logError} from '@xh/hoist/utils/log';
16
+ import {stopPropagation, withDefault} from '@xh/hoist/utils/js';
16
17
  import {button, ButtonProps} from '../Button';
17
18
 
18
19
  export interface ColChooserButtonProps extends ButtonProps {
@@ -11,7 +11,8 @@ import '@xh/hoist/desktop/register';
11
11
  import {Icon} from '@xh/hoist/icon';
12
12
  import {menu, popover, Position} from '@xh/hoist/kit/blueprint';
13
13
  import {parseMenuItems} from '@xh/hoist/utils/impl';
14
- import {logError, withDefault} from '@xh/hoist/utils/js';
14
+ import {logError} from '@xh/hoist/utils/log';
15
+ import {withDefault} from '@xh/hoist/utils/js';
15
16
  import {ReactNode} from 'react';
16
17
  import {button, ButtonProps} from '../Button';
17
18
 
@@ -9,7 +9,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
9
9
  import '@xh/hoist/desktop/register';
10
10
  import {Icon} from '@xh/hoist/icon';
11
11
  import {ExportOptions} from '@xh/hoist/svc';
12
- import {logError, withDefault} from '@xh/hoist/utils/js';
12
+ import {logError} from '@xh/hoist/utils/log';
13
+ import {withDefault} from '@xh/hoist/utils/js';
13
14
  import {button, ButtonProps} from '../Button';
14
15
 
15
16
  export interface ExportButtonProps extends ButtonProps {
@@ -9,7 +9,8 @@ import {button, ButtonProps} from '@xh/hoist/desktop/cmp/button/Button';
9
9
  import {PanelModel} from '@xh/hoist/desktop/cmp/panel';
10
10
  import '@xh/hoist/desktop/register';
11
11
  import {Icon} from '@xh/hoist/icon';
12
- import {logError, withDefault} from '@xh/hoist/utils/js';
12
+ import {logError} from '@xh/hoist/utils/log';
13
+ import {withDefault} from '@xh/hoist/utils/js';
13
14
 
14
15
  export interface ModalToggleButtonProps extends ButtonProps {
15
16
  panelModel?: PanelModel;
@@ -12,7 +12,8 @@ import {ZoneMapperModel} from '@xh/hoist/cmp/zoneGrid/impl/ZoneMapperModel';
12
12
  import {zoneMapper} from '@xh/hoist/desktop/cmp/zoneGrid/impl/ZoneMapper';
13
13
  import {Icon} from '@xh/hoist/icon';
14
14
  import {popover, Position} from '@xh/hoist/kit/blueprint';
15
- import {logError, stopPropagation, withDefault} from '@xh/hoist/utils/js';
15
+ import {logError} from '@xh/hoist/utils/log';
16
+ import {stopPropagation, withDefault} from '@xh/hoist/utils/js';
16
17
  import {button, ButtonProps} from '../Button';
17
18
 
18
19
  export interface ZoneMapperButtonProps extends ButtonProps {
@@ -7,7 +7,8 @@
7
7
  import {PlainObject} from '@xh/hoist/core';
8
8
  import {DashContainerModel} from '@xh/hoist/desktop/cmp/dash';
9
9
  import {serializeIcon} from '@xh/hoist/icon';
10
- import {logDebug, throwIf} from '@xh/hoist/utils/js';
10
+ import {logDebug} from '@xh/hoist/utils/log';
11
+ import {throwIf} from '@xh/hoist/utils/js';
11
12
  import {isArray, isEmpty, isFinite, isNil, isPlainObject, isString, round} from 'lodash';
12
13
  import {DashContainerViewSpec} from '../DashContainerViewSpec';
13
14
  import GoldenLayout, {ContentItem} from 'golden-layout';
@@ -23,7 +23,8 @@ import {fmtDate, fmtDateTime, fmtJson, fmtNumber} from '@xh/hoist/format';
23
23
  import {Icon} from '@xh/hoist/icon';
24
24
  import {tooltip} from '@xh/hoist/kit/blueprint';
25
25
  import {isLocalDate} from '@xh/hoist/utils/datetime';
26
- import {errorIf, getTestId, logWarn, TEST_ID, throwIf, withDefault} from '@xh/hoist/utils/js';
26
+ import {logWarn} from '@xh/hoist/utils/log';
27
+ import {errorIf, getTestId, TEST_ID, throwIf, withDefault} from '@xh/hoist/utils/js';
27
28
  import {getLayoutProps, getReactElementName, useOnMount, useOnUnmount} from '@xh/hoist/utils/react';
28
29
  import classNames from 'classnames';
29
30
  import {isBoolean, isDate, isEmpty, isFinite, isNil, isUndefined, kebabCase} from 'lodash';
@@ -12,7 +12,7 @@ import '@xh/hoist/desktop/register';
12
12
  import {EditorProps} from './EditorProps';
13
13
  import './Editors.scss';
14
14
  import {useInlineEditorModel} from './impl/InlineEditorModel';
15
- import {logWarn} from '@xh/hoist/utils/js';
15
+ import {logWarn} from '@xh/hoist/utils/log';
16
16
 
17
17
  export interface BooleanEditorProps extends EditorProps<CheckboxProps> {
18
18
  /**
@@ -24,7 +24,7 @@ import {toolbar} from '@xh/hoist/desktop/cmp/toolbar';
24
24
  import {useContextMenu, useHotkeys} from '@xh/hoist/desktop/hooks';
25
25
  import '@xh/hoist/desktop/register';
26
26
  import {HotkeyConfig} from '@xh/hoist/kit/blueprint';
27
- import {logWarn} from '@xh/hoist/utils/js';
27
+ import {logWarn} from '@xh/hoist/utils/log';
28
28
  import {splitLayoutProps} from '@xh/hoist/utils/react';
29
29
  import {castArray, omitBy} from 'lodash';
30
30
  import {Children, isValidElement, ReactElement, ReactNode, useLayoutEffect, useRef} from 'react';
@@ -7,7 +7,7 @@
7
7
  import type {ContextMenuSpec} from '@xh/hoist/core';
8
8
  import {contextMenu} from '@xh/hoist/desktop/cmp/contextmenu/ContextMenu';
9
9
  import {showContextMenu} from '@xh/hoist/kit/blueprint';
10
- import {logError} from '@xh/hoist/utils/js';
10
+ import {logError} from '@xh/hoist/utils/log';
11
11
  import {isArray, isEmpty, isFunction, isUndefined} from 'lodash';
12
12
  import {cloneElement, isValidElement, MouseEvent, ReactElement} from 'react';
13
13
 
@@ -5,7 +5,8 @@
5
5
  * Copyright © 2025 Extremely Heavy Industries Inc.
6
6
  */
7
7
 
8
- import {checkVersion, logError} from '@xh/hoist/utils/js';
8
+ import {logError} from '@xh/hoist/utils/log';
9
+ import {checkVersion} from '@xh/hoist/utils/js';
9
10
 
10
11
  /**
11
12
  * The exports below are ag-Grid components provided at runtime by applications.
@@ -5,7 +5,8 @@
5
5
  * Copyright © 2025 Extremely Heavy Industries Inc.
6
6
  */
7
7
 
8
- import {checkVersion, logError} from '@xh/hoist/utils/js';
8
+ import {logError} from '@xh/hoist/utils/log';
9
+ import {checkVersion} from '@xh/hoist/utils/js';
9
10
 
10
11
  export let Highcharts = null;
11
12
 
@@ -10,7 +10,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
10
10
  import {Icon} from '@xh/hoist/icon';
11
11
  import {button, ButtonProps} from '@xh/hoist/mobile/cmp/button';
12
12
  import '@xh/hoist/mobile/register';
13
- import {logError, withDefault} from '@xh/hoist/utils/js';
13
+ import {logError} from '@xh/hoist/utils/log';
14
+ import {withDefault} from '@xh/hoist/utils/js';
14
15
 
15
16
  export interface ColAutosizeButtonProps extends ButtonProps {
16
17
  /** GridModel to which this button should bind. Will find nearest in context if not provided. */
@@ -9,7 +9,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
9
9
  import {Icon} from '@xh/hoist/icon';
10
10
  import {button, ButtonProps} from '@xh/hoist/mobile/cmp/button';
11
11
  import '@xh/hoist/mobile/register';
12
- import {logError, withDefault} from '@xh/hoist/utils/js';
12
+ import {logError} from '@xh/hoist/utils/log';
13
+ import {withDefault} from '@xh/hoist/utils/js';
13
14
 
14
15
  export interface ColChooserButtonProps extends ButtonProps {
15
16
  /** GridModel to which this button should bind. Will find nearest in context if not provided. */
@@ -9,7 +9,8 @@ import {hoistCmp, useContextModel} from '@xh/hoist/core';
9
9
  import {Icon} from '@xh/hoist/icon';
10
10
  import {button, ButtonProps} from '@xh/hoist/mobile/cmp/button';
11
11
  import '@xh/hoist/mobile/register';
12
- import {logError, withDefault} from '@xh/hoist/utils/js';
12
+ import {logError} from '@xh/hoist/utils/log';
13
+ import {withDefault} from '@xh/hoist/utils/js';
13
14
  import {isEmpty} from 'lodash';
14
15
 
15
16
  export interface ExpandCollapseButtonProps extends ButtonProps {
@@ -8,7 +8,8 @@ import {GridModel} from '@xh/hoist/cmp/grid';
8
8
  import {hoistCmp, MenuItemLike, useContextModel} from '@xh/hoist/core';
9
9
  import {Icon} from '@xh/hoist/icon';
10
10
  import '@xh/hoist/mobile/register';
11
- import {logError, withDefault} from '@xh/hoist/utils/js';
11
+ import {logError} from '@xh/hoist/utils/log';
12
+ import {withDefault} from '@xh/hoist/utils/js';
12
13
  import {menuButton, MenuButtonProps} from '../../menu';
13
14
 
14
15
  export interface ExpandToLevelButtonProps extends MenuButtonProps {
@@ -7,7 +7,8 @@
7
7
  import {hoistCmp, useContextModel} from '@xh/hoist/core';
8
8
  import {Icon} from '@xh/hoist/icon';
9
9
  import {button, ButtonProps} from '@xh/hoist/mobile/cmp/button';
10
- import {logError, withDefault} from '@xh/hoist/utils/js';
10
+ import {withDefault} from '@xh/hoist/utils/js';
11
+ import {logError} from '@xh/hoist/utils/log';
11
12
  import {ZoneGridModel} from '@xh/hoist/cmp/zoneGrid';
12
13
  import '@xh/hoist/mobile/register';
13
14
 
@@ -25,7 +25,7 @@ import {omitBy} from 'lodash';
25
25
  import {isValidElement, ReactNode, ReactElement} from 'react';
26
26
  import {panelHeader} from './impl/PanelHeader';
27
27
  import './Panel.scss';
28
- import {logWarn} from '@xh/hoist/utils/js';
28
+ import {logWarn} from '@xh/hoist/utils/log';
29
29
 
30
30
  export interface PanelProps extends HoistProps, Omit<BoxProps, 'title'> {
31
31
  /** A toolbar to be docked at the bottom of the panel. */
package/mobx/overrides.ts CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  observable,
14
14
  runInAction
15
15
  } from 'mobx';
16
- import {logError} from '@xh/hoist/utils/js';
16
+ import {logError} from '@xh/hoist/utils/log';
17
17
 
18
18
  /**
19
19
  * An enhanced version of the native mobx makeObservable.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "76.0.0-SNAPSHOT.1758144134385",
3
+ "version": "76.0.0-SNAPSHOT.1758147719816",
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",
@@ -13,7 +13,8 @@ import {Token} from '@xh/hoist/security/Token';
13
13
  import {AccessTokenSpec, TokenMap} from './Types';
14
14
  import {Timer} from '@xh/hoist/utils/async';
15
15
  import {MINUTES, olderThan, ONE_MINUTE, SECONDS} from '@xh/hoist/utils/datetime';
16
- import {isJSON, logError, throwIf} from '@xh/hoist/utils/js';
16
+ import {logError} from '@xh/hoist/utils/log';
17
+ import {isJSON, throwIf} from '@xh/hoist/utils/js';
17
18
  import {compact, find, forEach, head, isEmpty, isObject, keys, map, pickBy, union} from 'lodash';
18
19
  import ShortUniqueId from 'short-unique-id';
19
20
 
@@ -17,7 +17,8 @@ import {
17
17
  } from '@azure/msal-browser';
18
18
  import {AppState, PlainObject, XH} from '@xh/hoist/core';
19
19
  import {Token} from '@xh/hoist/security/Token';
20
- import {logDebug, logError, logInfo, logWarn, mergeDeep, throwIf} from '@xh/hoist/utils/js';
20
+ import {mergeDeep, throwIf} from '@xh/hoist/utils/js';
21
+ import {logDebug, logError, logInfo, logWarn} from '@xh/hoist/utils/log';
21
22
  import {withFormattedTimestamps} from '@xh/hoist/format';
22
23
  import {flatMap, union, uniq} from 'lodash';
23
24
  import {BaseOAuthClient, BaseOAuthClientConfig} from '../BaseOAuthClient';