@sisense/sdk-ui-vue 1.15.0 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +4 -4
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -5211,7 +5211,7 @@ let lu = class AL extends hI {
|
|
5211
5211
|
* Gets JAQL representing this Filter instance
|
5212
5212
|
*/
|
5213
5213
|
filterJaql() {
|
5214
|
-
const e = { members: this.members.map((n) => n.toString()) }, t = this.excludeMembers ? { exclude: e } : e;
|
5214
|
+
const e = { members: this.members.map((n) => n.toString()) }, t = this.excludeMembers && this.members.length ? { exclude: e } : e;
|
5215
5215
|
return this.backgroundFilter ? { and: [t, this.backgroundFilter.filterJaql()] } : t;
|
5216
5216
|
}
|
5217
5217
|
}, rJ = class extends lu {
|
@@ -9219,7 +9219,7 @@ const o4e = /* @__PURE__ */ En(i4e), I8 = "composesdk", HC = (e, t, n, r = !1) =
|
|
9219
9219
|
const { app: n, tracking: r } = ti(), i = Xn(oee), o = Qe(!1);
|
9220
9220
|
pt(() => {
|
9221
9221
|
if (n != null && n.httpClient && !o.current && !i) {
|
9222
|
-
const a = { packageName: r.packageName, packageVersion: "1.15.
|
9222
|
+
const a = { packageName: r.packageName, packageVersion: "1.15.1", componentName: e, attributesUsed: Object.entries(t).filter(([, s]) => !!s).map(([s]) => s).join(", ") };
|
9223
9223
|
HC(l4e, a, n.httpClient, !r.enabled).finally(() => o.current = !0);
|
9224
9224
|
}
|
9225
9225
|
}, [e, t, n, r, i]);
|
@@ -9242,7 +9242,7 @@ let see = class extends Dn {
|
|
9242
9242
|
throw this.context.tracking.enabled && (this.httpClient ? this.sendErrorTracking(e, this.httpClient) : this.postponedErrors.push(e)), e;
|
9243
9243
|
}
|
9244
9244
|
sendErrorTracking(e, t) {
|
9245
|
-
s4e({ packageVersion: "1.15.
|
9245
|
+
s4e({ packageVersion: "1.15.1", component: this.componentName, error: e }, t).catch((n) => console.log("Failed to send tracking error event: ", n));
|
9246
9246
|
}
|
9247
9247
|
render() {
|
9248
9248
|
return this.httpClient && this.postponedErrors.length > 0 && this.postponedErrors.forEach((e) => this.sendErrorTracking(e, this.httpClient)), this.postponedErrors = [], this.props.children;
|
@@ -52906,13 +52906,13 @@ function rtt(e) {
|
|
52906
52906
|
return e.chartType !== "table";
|
52907
52907
|
}
|
52908
52908
|
const Aie = "sdkHookInit", itt = (e, t, n, r) => {
|
52909
|
-
n && HC(Aie, { packageName: t, packageVersion: "1.15.
|
52909
|
+
n && HC(Aie, { packageName: t, packageVersion: "1.15.1", hookName: e }, n.httpClient).finally(r);
|
52910
52910
|
};
|
52911
52911
|
function ott(e) {
|
52912
52912
|
const { app: t, tracking: n } = ti(), r = Qe(!1);
|
52913
52913
|
pt(() => {
|
52914
52914
|
if (t != null && t.httpClient && !r.current) {
|
52915
|
-
const i = { packageName: n.packageName, packageVersion: "1.15.
|
52915
|
+
const i = { packageName: n.packageName, packageVersion: "1.15.1", hookName: e };
|
52916
52916
|
HC(Aie, i, t.httpClient, !n.enabled).finally(() => r.current = !0);
|
52917
52917
|
}
|
52918
52918
|
}, [t, n, e]);
|
@@ -83865,7 +83865,7 @@ class VCt {
|
|
83865
83865
|
constructor(t, n, r) {
|
83866
83866
|
Mt(this, "httpClient"), Mt(this, "pivotClient"), Mt(this, "queryClient"), Mt(this, "defaultDataSource"), Mt(this, "settings"), Mt(this, "queryCache"), window.addEventListener("unhandledrejection", (i) => {
|
83867
83867
|
i.reason instanceof Error ? console.error(i.reason.message) : console.error(i.reason);
|
83868
|
-
}), this.httpClient = new Bit(t, n, "sdk-ui-1.15.
|
83868
|
+
}), this.httpClient = new Bit(t, n, "sdk-ui-1.15.1"), this.pivotClient = new Pce(this.httpClient), this.queryClient = new ICt(this.httpClient, this.pivotClient), this.queryCache = { clear: ZJ }, r !== void 0 && (this.defaultDataSource = r);
|
83869
83869
|
}
|
83870
83870
|
}
|
83871
83871
|
const YCt = (e) => Io(void 0, [e], function* ({ defaultDataSource: t, url: n, token: r, wat: i, ssoEnabled: o, appConfig: a, enableSilentPreAuth: s }) {
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"Sisense",
|
12
12
|
"Compose SDK"
|
13
13
|
],
|
14
|
-
"version": "1.15.
|
14
|
+
"version": "1.15.1",
|
15
15
|
"type": "module",
|
16
16
|
"main": "./dist/index.cjs",
|
17
17
|
"module": "./dist/index.js",
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"format:check": "prettier --check ."
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@sisense/sdk-ui-preact": "^1.15.
|
45
|
+
"@sisense/sdk-ui-preact": "^1.15.1",
|
46
46
|
"deepmerge": "^4.3.1",
|
47
47
|
"lodash": "^4.17.21",
|
48
48
|
"vue": "^3.3.2"
|