@xh/hoist 76.0.0-SNAPSHOT.1758206730608 → 76.0.0-SNAPSHOT.1758211176948

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 (57) hide show
  1. package/CHANGELOG.md +0 -4
  2. package/admin/tabs/userData/roles/graph/RoleGraph.ts +1 -2
  3. package/build/types/core/XH.d.ts +0 -13
  4. package/build/types/utils/js/LangUtils.d.ts +2 -2
  5. package/build/types/utils/{log → js}/LogUtils.d.ts +2 -29
  6. package/build/types/utils/js/index.d.ts +1 -0
  7. package/cmp/ag-grid/AgGrid.ts +1 -1
  8. package/cmp/chart/Chart.ts +1 -2
  9. package/cmp/chart/impl/ChartContextMenuItems.ts +1 -1
  10. package/cmp/grid/columns/Column.ts +1 -2
  11. package/cmp/grid/helpers/GridCountLabel.ts +1 -2
  12. package/cmp/grid/impl/ColumnWidthCalculator.ts +1 -2
  13. package/cmp/grid/impl/Utils.ts +1 -2
  14. package/cmp/relativetimestamp/RelativeTimestamp.ts +1 -2
  15. package/cmp/treemap/TreeMap.ts +1 -2
  16. package/core/HoistBase.ts +3 -2
  17. package/core/HoistBaseDecorators.ts +1 -2
  18. package/core/HoistComponent.ts +6 -9
  19. package/core/XH.ts +0 -19
  20. package/core/exception/ExceptionHandler.ts +2 -3
  21. package/core/load/LoadSupport.ts +2 -3
  22. package/core/persist/PersistenceProvider.ts +1 -2
  23. package/data/filter/Utils.ts +1 -2
  24. package/data/impl/RecordSet.ts +1 -2
  25. package/desktop/cmp/button/grid/ColAutosizeButton.ts +1 -2
  26. package/desktop/cmp/button/grid/ColChooserButton.ts +1 -2
  27. package/desktop/cmp/button/grid/ExpandToLevelButton.ts +1 -2
  28. package/desktop/cmp/button/grid/ExportButton.ts +1 -2
  29. package/desktop/cmp/button/panel/ModalToggleButton.ts +1 -2
  30. package/desktop/cmp/button/zoneGrid/ZoneMapperButton.ts +1 -2
  31. package/desktop/cmp/dash/container/impl/DashContainerUtils.ts +3 -4
  32. package/desktop/cmp/form/FormField.ts +1 -2
  33. package/desktop/cmp/grid/editors/BooleanEditor.ts +1 -1
  34. package/desktop/cmp/panel/Panel.ts +1 -1
  35. package/desktop/hooks/UseContextMenu.ts +1 -1
  36. package/inspector/instances/InstancesModel.ts +2 -2
  37. package/kit/ag-grid/index.ts +2 -3
  38. package/kit/highcharts/index.ts +2 -3
  39. package/mobile/cmp/button/grid/ColAutosizeButton.ts +1 -2
  40. package/mobile/cmp/button/grid/ColChooserButton.ts +1 -2
  41. package/mobile/cmp/button/grid/ExpandCollapseButton.ts +1 -2
  42. package/mobile/cmp/button/grid/ExpandToLevelButton.ts +1 -2
  43. package/mobile/cmp/button/zoneGrid/ZoneMapperButton.ts +1 -2
  44. package/mobile/cmp/panel/Panel.ts +1 -1
  45. package/mobx/overrides.ts +1 -1
  46. package/package.json +1 -1
  47. package/security/BaseOAuthClient.ts +1 -2
  48. package/security/msal/MsalClient.ts +1 -2
  49. package/svc/FetchService.ts +1 -1
  50. package/tsconfig.tsbuildinfo +1 -1
  51. package/utils/async/Timer.ts +1 -2
  52. package/utils/js/Decorators.ts +1 -1
  53. package/utils/js/LangUtils.ts +3 -3
  54. package/utils/{log → js}/LogUtils.ts +12 -79
  55. package/utils/js/index.ts +1 -0
  56. package/build/types/utils/log/index.d.ts +0 -1
  57. package/utils/log/index.ts +0 -8
@@ -9,8 +9,7 @@ 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} from '@xh/hoist/utils/log';
13
- import {withDefault} from '@xh/hoist/utils/js';
12
+ import {logError, withDefault} from '@xh/hoist/utils/js';
14
13
  import {isEmpty} from 'lodash';
15
14
 
16
15
  export interface ExpandCollapseButtonProps extends ButtonProps {
@@ -8,8 +8,7 @@ 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} from '@xh/hoist/utils/log';
12
- import {withDefault} from '@xh/hoist/utils/js';
11
+ import {logError, withDefault} from '@xh/hoist/utils/js';
13
12
  import {menuButton, MenuButtonProps} from '../../menu';
14
13
 
15
14
  export interface ExpandToLevelButtonProps extends MenuButtonProps {
@@ -7,8 +7,7 @@
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 {withDefault} from '@xh/hoist/utils/js';
11
- import {logError} from '@xh/hoist/utils/log';
10
+ import {logError, withDefault} from '@xh/hoist/utils/js';
12
11
  import {ZoneGridModel} from '@xh/hoist/cmp/zoneGrid';
13
12
  import '@xh/hoist/mobile/register';
14
13
 
@@ -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/log';
28
+ import {logWarn} from '@xh/hoist/utils/js';
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/log/LogUtils';
16
+ import {logError} from '@xh/hoist/utils/js';
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.1758206730608",
3
+ "version": "76.0.0-SNAPSHOT.1758211176948",
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,8 +13,7 @@ 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 {logError} from '@xh/hoist/utils/log';
17
- import {isJSON, throwIf} from '@xh/hoist/utils/js';
16
+ import {isJSON, logError, throwIf} from '@xh/hoist/utils/js';
18
17
  import {compact, find, forEach, head, isEmpty, isObject, keys, map, pickBy, union} from 'lodash';
19
18
  import ShortUniqueId from 'short-unique-id';
20
19
 
@@ -17,8 +17,7 @@ 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 {mergeDeep, throwIf} from '@xh/hoist/utils/js';
21
- import {logDebug, logError, logInfo, logWarn} from '@xh/hoist/utils/log';
20
+ import {logDebug, logError, logInfo, logWarn, mergeDeep, throwIf} from '@xh/hoist/utils/js';
22
21
  import {withFormattedTimestamps} from '@xh/hoist/format';
23
22
  import {flatMap, union, uniq} from 'lodash';
24
23
  import {BaseOAuthClient, BaseOAuthClientConfig} from '../BaseOAuthClient';
@@ -261,7 +261,7 @@ export class FetchService extends HoistService {
261
261
  const {correlationIdHeaderKey} = this;
262
262
  if (opts.correlationId) {
263
263
  if (headers[correlationIdHeaderKey]) {
264
- this.logWarn(
264
+ console.warn(
265
265
  `Header ${correlationIdHeaderKey} value already set within FetchOptions.`
266
266
  );
267
267
  } else {