@thatopen/components 2.1.19 → 2.1.20

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/dist/index.mjs CHANGED
@@ -3083,7 +3083,7 @@ const Fs = class Fs {
3083
3083
  /**
3084
3084
  * The version of the @thatopen/components library.
3085
3085
  */
3086
- I(Fs, "release", "2.1.19");
3086
+ I(Fs, "release", "2.1.20");
3087
3087
  let pi = Fs;
3088
3088
  class Fr {
3089
3089
  constructor(s) {
@@ -6985,29 +6985,29 @@ const Qr = /* @__PURE__ */ new Map([
6985
6985
  [
6986
6986
  U.IFCRELAGGREGATES,
6987
6987
  {
6988
- forRelating: "IsDecomposedBy",
6989
- forRelated: "Decomposes"
6988
+ forRelated: "Decomposes",
6989
+ forRelating: "IsDecomposedBy"
6990
6990
  }
6991
6991
  ],
6992
6992
  [
6993
6993
  U.IFCRELASSOCIATESMATERIAL,
6994
6994
  {
6995
- forRelating: "AssociatedTo",
6996
- forRelated: "HasAssociations"
6995
+ forRelated: "HasAssociations",
6996
+ forRelating: "AssociatedTo"
6997
6997
  }
6998
6998
  ],
6999
6999
  [
7000
7000
  U.IFCRELASSOCIATESCLASSIFICATION,
7001
7001
  {
7002
- forRelating: "ClassificationForObjects",
7003
- forRelated: "HasAssociations"
7002
+ forRelated: "HasAssociations",
7003
+ forRelating: "ClassificationForObjects"
7004
7004
  }
7005
7005
  ],
7006
7006
  [
7007
7007
  U.IFCRELASSIGNSTOGROUP,
7008
7008
  {
7009
- forRelating: "IsGroupedBy",
7010
- forRelated: "HasAssignments"
7009
+ forRelated: "HasAssignments",
7010
+ forRelating: "IsGroupedBy"
7011
7011
  }
7012
7012
  ],
7013
7013
  [
@@ -7051,6 +7051,13 @@ const Qr = /* @__PURE__ */ new Map([
7051
7051
  forRelated: "ConnectedFrom",
7052
7052
  forRelating: "ConnectedTo"
7053
7053
  }
7054
+ ],
7055
+ [
7056
+ U.IFCRELASSIGNSTOPRODUCT,
7057
+ {
7058
+ forRelated: "HasAssignments",
7059
+ forRelating: "ReferencedBy"
7060
+ }
7054
7061
  ]
7055
7062
  ]), Ve = class Ve extends et {
7056
7063
  constructor(t) {
@@ -7096,7 +7103,8 @@ const Qr = /* @__PURE__ */ new Map([
7096
7103
  "HasControlElements",
7097
7104
  "AssignedToFlowElement",
7098
7105
  "ConnectedTo",
7099
- "ConnectedFrom"
7106
+ "ConnectedFrom",
7107
+ "ReferencedBy"
7100
7108
  ]);
7101
7109
  I(this, "_ifcRels", [
7102
7110
  U.IFCRELAGGREGATES,
@@ -7108,7 +7116,8 @@ const Qr = /* @__PURE__ */ new Map([
7108
7116
  U.IFCRELDEFINESBYTEMPLATE,
7109
7117
  U.IFCRELCONTAINEDINSPATIALSTRUCTURE,
7110
7118
  U.IFCRELFLOWCONTROLELEMENTS,
7111
- U.IFCRELCONNECTSELEMENTS
7119
+ U.IFCRELCONNECTSELEMENTS,
7120
+ U.IFCRELASSIGNSTOPRODUCT
7112
7121
  ]);
7113
7122
  I(this, "onFragmentsDisposed", (t) => {
7114
7123
  delete this.relationMaps[t.groupID];
@@ -9844,7 +9853,7 @@ const Ge = class Ge extends et {
9844
9853
  */
9845
9854
  async readIfcFile(t) {
9846
9855
  const { path: e, absolute: i, logLevel: o } = this.settings.wasm;
9847
- return this.webIfc.SetWasmPath(e, i), await this.webIfc.Init(), o && this.webIfc.SetLogLevel(o), this.webIfc.OpenModel(t, this.settings.webIfc);
9856
+ return this.webIfc.SetWasmPath(e, i), await this.webIfc.Init(this.settings.customLocateFileHandler || void 0), o && this.webIfc.SetLogLevel(o), this.webIfc.OpenModel(t, this.settings.webIfc);
9848
9857
  }
9849
9858
  /**
9850
9859
  * Cleans up the IfcLoader component by resetting the Web-IFC library,