@xh/hoist 80.0.0-SNAPSHOT.1767974090726 → 80.0.0-SNAPSHOT.1768003263151

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 (33) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/types/cmp/filter/FilterChooserFieldSpec.d.ts +1 -1
  3. package/build/types/cmp/filter/FilterChooserModel.d.ts +19 -10
  4. package/build/types/cmp/grid/filter/GridFilterFieldSpec.d.ts +4 -3
  5. package/build/types/cmp/grid/filter/GridFilterModel.d.ts +1 -1
  6. package/build/types/cmp/tab/TabContainerModel.d.ts +10 -5
  7. package/build/types/data/Store.d.ts +5 -6
  8. package/build/types/data/cube/View.d.ts +5 -3
  9. package/build/types/data/filter/BaseFilterFieldSpec.d.ts +3 -3
  10. package/build/types/data/filter/CompoundFilter.d.ts +1 -1
  11. package/build/types/data/filter/FieldFilter.d.ts +1 -1
  12. package/build/types/data/filter/Filter.d.ts +3 -3
  13. package/build/types/data/filter/FunctionFilter.d.ts +1 -1
  14. package/build/types/data/filter/Types.d.ts +39 -13
  15. package/build/types/desktop/cmp/grid/impl/filter/headerfilter/values/ValuesTabModel.d.ts +2 -2
  16. package/build/types/svc/InspectorService.d.ts +2 -2
  17. package/cmp/filter/FilterChooserFieldSpec.ts +5 -22
  18. package/cmp/filter/FilterChooserModel.ts +27 -12
  19. package/cmp/grid/filter/GridFilterFieldSpec.ts +52 -51
  20. package/cmp/grid/filter/GridFilterModel.ts +6 -7
  21. package/cmp/tab/TabContainerModel.ts +9 -5
  22. package/data/Store.ts +47 -13
  23. package/data/cube/View.ts +14 -3
  24. package/data/filter/BaseFilterFieldSpec.ts +3 -3
  25. package/data/filter/CompoundFilter.ts +3 -3
  26. package/data/filter/FieldFilter.ts +2 -2
  27. package/data/filter/Filter.ts +4 -4
  28. package/data/filter/FunctionFilter.ts +2 -2
  29. package/data/filter/Types.ts +53 -20
  30. package/desktop/cmp/grid/impl/filter/headerfilter/values/ValuesTabModel.ts +9 -9
  31. package/package.json +1 -1
  32. package/svc/InspectorService.ts +6 -5
  33. package/tsconfig.tsbuildinfo +1 -1
@@ -5,6 +5,7 @@
5
5
  * Copyright © 2026 Extremely Heavy Industries Inc.
6
6
  */
7
7
  import {HoistService, managed, persist, XH} from '@xh/hoist/core';
8
+ import {Store} from '@xh/hoist/data';
8
9
  import {action, bindable, makeObservable, observable} from '@xh/hoist/mobx';
9
10
  import {wait} from '@xh/hoist/promise';
10
11
  import {Timer} from '@xh/hoist/utils/async';
@@ -59,8 +60,8 @@ export class InspectorService extends HoistService {
59
60
  @managed
60
61
  statsUpdateTimer: Timer;
61
62
 
62
- private _syncRun = 0;
63
- private _idToSyncRun = new Map();
63
+ private _syncRun: number = 0;
64
+ private _idToSyncRun = new Map<string, number>();
64
65
 
65
66
  constructor() {
66
67
  super();
@@ -196,7 +197,7 @@ export class InspectorService extends HoistService {
196
197
  created: inst._created,
197
198
  isHoistService: inst.isHoistService,
198
199
  isHoistModel: inst.isHoistModel,
199
- isStore: inst.isStore,
200
+ isStore: Store.isStore(inst),
200
201
  isLinked: inst.isLinked,
201
202
  isXhImpl: inst.xhImpl,
202
203
  hasLoadSupport: inst.loadSupport != null,
@@ -211,7 +212,7 @@ export class InspectorService extends HoistService {
211
212
  }
212
213
 
213
214
  @action
214
- setActiveInstances(ai) {
215
+ setActiveInstances(ai: InspectorInstanceData[]) {
215
216
  this.activeInstances = ai;
216
217
  }
217
218
 
@@ -229,7 +230,7 @@ export class InspectorService extends HoistService {
229
230
 
230
231
  interface InspectorInstanceData {
231
232
  className: string;
232
- created: Date;
233
+ created: number;
233
234
  isHoistModel: boolean;
234
235
  isHoistService: boolean;
235
236
  isStore: boolean;