@xh/hoist 79.0.0-SNAPSHOT.1763737948137 → 79.0.0-SNAPSHOT.1763746427291

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 CHANGED
@@ -35,6 +35,12 @@
35
35
 
36
36
  ## 77.1.1 - 2025-11-12
37
37
 
38
+ ### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW)
39
+
40
+ * Apps that use and provide the `highcharts` library should be sure to update the version to v12.4.0.
41
+ Refer to `Bootstrap.js` in Toolbox for required import changes.
42
+ * Visit https://www.highcharts.com/blog/changelog/ for specific changes.
43
+
38
44
  ### 🎁 New Features
39
45
 
40
46
  * New method `StoreRecord.getModifiedValues()` to gather edited data from a store record.
@@ -64,7 +64,7 @@ const tbar = hoistCmp.factory<DifferModel>(({model}) => {
64
64
  placeholder: 'https://remote-host/',
65
65
  enableCreate: true,
66
66
  createMessageFn: identity,
67
- width: 250,
67
+ width: 350,
68
68
  options: model.remoteHosts
69
69
  }),
70
70
  button({
@@ -60,8 +60,14 @@ export class DifferModel extends HoistModel {
60
60
  recordsRequired: true
61
61
  };
62
62
 
63
+ /**
64
+ * All other configured appInstances URLs, excepting the current one.
65
+ * (Use of startsWith allows configs to end in trailing /)
66
+ */
63
67
  get remoteHosts(): string[] {
64
- return XH.getConf('xhAppInstances').filter(it => it !== window.location.origin);
68
+ return XH.getConf('xhAppInstances').filter(
69
+ (it: string) => !it.startsWith(window.location.origin)
70
+ );
65
71
  }
66
72
 
67
73
  constructor({
@@ -83,6 +89,9 @@ export class DifferModel extends HoistModel {
83
89
 
84
90
  this.url = entityName + 'DiffAdmin';
85
91
 
92
+ // Default to first available remote for comparison
93
+ this.remoteHost = this.remoteHosts[0];
94
+
86
95
  const rendererIsComplex = true;
87
96
  this.gridModel = new GridModel({
88
97
  store: {
@@ -24,6 +24,10 @@ export declare class DifferModel extends HoistModel {
24
24
  hasLoaded: boolean;
25
25
  get readonly(): boolean;
26
26
  applyRemoteAction: RecordActionSpec;
27
+ /**
28
+ * All other configured appInstances URLs, excepting the current one.
29
+ * (Use of startsWith allows configs to end in trailing /)
30
+ */
27
31
  get remoteHosts(): string[];
28
32
  constructor({ parentModel, entityName, displayName, columnFields, matchFields, valueRenderer }: Partial<DifferModel>);
29
33
  doLoadAsync(loadSpec: LoadSpec): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "79.0.0-SNAPSHOT.1763737948137",
3
+ "version": "79.0.0-SNAPSHOT.1763746427291",
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",