@sisense/sdk-ui-preact 1.15.0 → 1.15.1

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.es.js CHANGED
@@ -5210,7 +5210,7 @@ let Kc = class fD extends GI {
5210
5210
  * Gets JAQL representing this Filter instance
5211
5211
  */
5212
5212
  filterJaql() {
5213
- const e = { members: this.members.map((r) => r.toString()) }, n = this.excludeMembers ? { exclude: e } : e;
5213
+ const e = { members: this.members.map((r) => r.toString()) }, n = this.excludeMembers && this.members.length ? { exclude: e } : e;
5214
5214
  return this.backgroundFilter ? { and: [n, this.backgroundFilter.filterJaql()] } : n;
5215
5215
  }
5216
5216
  }, IZ = class extends Kc {
@@ -9221,7 +9221,7 @@ const eRt = /* @__PURE__ */ On(tRt), Z4 = "composesdk", ZS = (t, e, n, r = !1) =
9221
9221
  const { app: n, tracking: r } = pr(), i = zn(IJ), o = Kt(!1);
9222
9222
  he(() => {
9223
9223
  if (n != null && n.httpClient && !o.current && !i) {
9224
- const a = { packageName: r.packageName, packageVersion: "1.15.0", componentName: t, attributesUsed: Object.entries(e).filter(([, s]) => !!s).map(([s]) => s).join(", ") };
9224
+ const a = { packageName: r.packageName, packageVersion: "1.15.1", componentName: t, attributesUsed: Object.entries(e).filter(([, s]) => !!s).map(([s]) => s).join(", ") };
9225
9225
  ZS(iRt, a, n.httpClient, !r.enabled).finally(() => o.current = !0);
9226
9226
  }
9227
9227
  }, [t, e, n, r, i]);
@@ -9244,7 +9244,7 @@ let jJ = class extends Ln {
9244
9244
  throw this.context.tracking.enabled && (this.httpClient ? this.sendErrorTracking(e, this.httpClient) : this.postponedErrors.push(e)), e;
9245
9245
  }
9246
9246
  sendErrorTracking(e, n) {
9247
- rRt({ packageVersion: "1.15.0", component: this.componentName, error: e }, n).catch((r) => console.log("Failed to send tracking error event: ", r));
9247
+ rRt({ packageVersion: "1.15.1", component: this.componentName, error: e }, n).catch((r) => console.log("Failed to send tracking error event: ", r));
9248
9248
  }
9249
9249
  render() {
9250
9250
  return this.httpClient && this.postponedErrors.length > 0 && this.postponedErrors.forEach((e) => this.sendErrorTracking(e, this.httpClient)), this.postponedErrors = [], this.props.children;
@@ -52911,13 +52911,13 @@ function JJt(t) {
52911
52911
  return t.chartType !== "table";
52912
52912
  }
52913
52913
  const ant = "sdkHookInit", ADe = (t, e, n, r) => {
52914
- n && ZS(ant, { packageName: e, packageVersion: "1.15.0", hookName: t }, n.httpClient).finally(r);
52914
+ n && ZS(ant, { packageName: e, packageVersion: "1.15.1", hookName: t }, n.httpClient).finally(r);
52915
52915
  };
52916
52916
  function KJt(t) {
52917
52917
  const { app: e, tracking: n } = pr(), r = Kt(!1);
52918
52918
  he(() => {
52919
52919
  if (e != null && e.httpClient && !r.current) {
52920
- const i = { packageName: n.packageName, packageVersion: "1.15.0", hookName: t };
52920
+ const i = { packageName: n.packageName, packageVersion: "1.15.1", hookName: t };
52921
52921
  ZS(ant, i, e.httpClient, !n.enabled).finally(() => r.current = !0);
52922
52922
  }
52923
52923
  }, [e, n, t]);
@@ -84137,7 +84137,7 @@ class n_e {
84137
84137
  constructor(e, n, r) {
84138
84138
  Me(this, "httpClient"), Me(this, "pivotClient"), Me(this, "queryClient"), Me(this, "defaultDataSource"), Me(this, "settings"), Me(this, "queryCache"), window.addEventListener("unhandledrejection", (i) => {
84139
84139
  i.reason instanceof Error ? console.error(i.reason.message) : console.error(i.reason);
84140
- }), this.httpClient = new Jee(e, n, "sdk-ui-1.15.0"), this.pivotClient = new pst(this.httpClient), this.queryClient = new qwe(this.httpClient, this.pivotClient), this.queryCache = { clear: MJ }, r !== void 0 && (this.defaultDataSource = r);
84140
+ }), this.httpClient = new Jee(e, n, "sdk-ui-1.15.1"), this.pivotClient = new pst(this.httpClient), this.queryClient = new qwe(this.httpClient, this.pivotClient), this.queryCache = { clear: MJ }, r !== void 0 && (this.defaultDataSource = r);
84141
84141
  }
84142
84142
  }
84143
84143
  const r_e = (t) => po(void 0, [t], function* ({ defaultDataSource: e, url: n, token: r, wat: i, ssoEnabled: o, appConfig: a, enableSilentPreAuth: s }) {