@xh/hoist 77.0.0-SNAPSHOT.1761229417098 → 77.0.0-SNAPSHOT.1761257771095
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/CHANGELOG.md +0 -21
- package/admin/jsonsearch/impl/JsonSearchImplModel.ts +1 -1
- package/admin/tabs/activity/tracking/ActivityTrackingModel.ts +1 -1
- package/admin/tabs/cluster/instances/logs/LogDisplayModel.ts +1 -1
- package/admin/tabs/cluster/instances/logs/levels/LogLevelDialogModel.ts +1 -1
- package/admin/tabs/general/config/ConfigPanelModel.ts +1 -1
- package/admin/tabs/monitor/editor/MonitorEditorDialog.ts +1 -1
- package/admin/tabs/userData/jsonblob/JsonBlobModel.ts +1 -1
- package/admin/tabs/userData/prefs/UserPreferenceModel.ts +1 -1
- package/admin/tabs/userData/prefs/editor/PrefEditorModel.ts +1 -1
- package/admin/tabs/userData/users/UserModel.ts +0 -1
- package/build/types/core/AppSpec.d.ts +7 -14
- package/build/types/data/Field.d.ts +9 -18
- package/build/types/data/Store.d.ts +1 -2
- package/build/types/data/cube/Query.d.ts +1 -1
- package/build/types/data/cube/ViewRowData.d.ts +0 -2
- package/cmp/chart/impl/copyToClipboard.ts +8 -14
- package/cmp/treemap/TreeMap.ts +14 -4
- package/cmp/treemap/TreeMapModel.ts +2 -2
- package/core/AppSpec.ts +7 -14
- package/data/Field.ts +20 -24
- package/data/Store.ts +8 -21
- package/data/cube/Query.ts +1 -1
- package/data/cube/ViewRowData.ts +0 -3
- package/data/cube/row/AggregateRow.ts +0 -1
- package/data/cube/row/BucketRow.ts +0 -1
- package/data/cube/row/LeafRow.ts +1 -1
- package/kit/highcharts/index.ts +2 -2
- package/package.json +1 -1
- package/promise/Promise.ts +3 -3
- package/tsconfig.tsbuildinfo +1 -1
package/data/cube/row/LeafRow.ts
CHANGED
|
@@ -33,8 +33,8 @@ export class LeafRow extends BaseRow {
|
|
|
33
33
|
|
|
34
34
|
constructor(view: View, id: string, rawRecord: StoreRecord) {
|
|
35
35
|
super(view, id);
|
|
36
|
+
|
|
36
37
|
this.cubeRecordId = rawRecord.id;
|
|
37
|
-
this.data.cubeRowType = 'leaf';
|
|
38
38
|
this.data.cubeLabel = rawRecord.id.toString();
|
|
39
39
|
this.data.cubeDimension = null;
|
|
40
40
|
|
package/kit/highcharts/index.ts
CHANGED
|
@@ -9,8 +9,8 @@ import {checkVersion, logError} from '@xh/hoist/utils/js';
|
|
|
9
9
|
|
|
10
10
|
export let Highcharts = null;
|
|
11
11
|
|
|
12
|
-
const MIN_VERSION = '
|
|
13
|
-
const MAX_VERSION = '
|
|
12
|
+
const MIN_VERSION = '12.4.0';
|
|
13
|
+
const MAX_VERSION = '12.*.*';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Expose application versions of Highcharts to Hoist.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "77.0.0-SNAPSHOT.
|
|
3
|
+
"version": "77.0.0-SNAPSHOT.1761257771095",
|
|
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",
|
package/promise/Promise.ts
CHANGED
|
@@ -132,15 +132,15 @@ export function waitFor(
|
|
|
132
132
|
condition: () => boolean,
|
|
133
133
|
{interval = 50, timeout = 5 * SECONDS}: {interval?: number; timeout?: number} = {}
|
|
134
134
|
): Promise<void> {
|
|
135
|
-
if (interval <= 0) throw new Error('Invalid interval');
|
|
136
|
-
if (timeout
|
|
135
|
+
if (!isNumber(interval) || interval <= 0) throw new Error('Invalid interval');
|
|
136
|
+
if (!isNumber(timeout) || timeout <= 0) throw new Error('Invalid timeout');
|
|
137
137
|
|
|
138
138
|
const startTime = Date.now();
|
|
139
139
|
return new Promise((resolve, reject) => {
|
|
140
140
|
const resolveOnMet = () => {
|
|
141
141
|
if (condition()) {
|
|
142
142
|
resolve();
|
|
143
|
-
} else if (
|
|
143
|
+
} else if (olderThan(startTime, timeout)) {
|
|
144
144
|
reject(Exception.timeout({interval: Date.now() - startTime}));
|
|
145
145
|
} else {
|
|
146
146
|
setTimeout(resolveOnMet, interval);
|