@sisense/sdk-ui-vue 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -40981,7 +40981,7 @@ const BW = "composesdk", Zz = (e, t, n, r = !1) => s4e(void 0, void 0, void 0, f
40981
40981
  const { app: n, enableTracking: r } = pa(), i = Sr(Ste), o = pt(!1);
40982
40982
  Ot(() => {
40983
40983
  if (n != null && n.httpClient && !o.current && !i) {
40984
- const a = { packageName: "sdk-ui", packageVersion: "1.4.0", componentName: e, attributesUsed: Object.entries(t).filter(([, s]) => !!s).map(([s]) => s).join(", ") };
40984
+ const a = { packageName: "sdk-ui", packageVersion: "1.4.1", componentName: e, attributesUsed: Object.entries(t).filter(([, s]) => !!s).map(([s]) => s).join(", ") };
40985
40985
  Zz(u4e, a, n.httpClient, !r).catch((s) => console.warn("An error occurred when sending the sdkComponentInit event", s)).finally(() => o.current = !0);
40986
40986
  }
40987
40987
  }, [e, t, n, r, i]);
@@ -40998,7 +40998,7 @@ let kte = class extends Wa {
40998
40998
  throw this.context.enableTracking && (this.httpClient ? this.sendErrorTracking(e, this.httpClient) : this.postponedErrors.push(e)), e;
40999
40999
  }
41000
41000
  sendErrorTracking(e, t) {
41001
- c4e({ packageVersion: "1.4.0", component: this.componentName, error: e }, t).catch((n) => console.log("Failed to send tracking error event: ", n));
41001
+ c4e({ packageVersion: "1.4.1", component: this.componentName, error: e }, t).catch((n) => console.log("Failed to send tracking error event: ", n));
41002
41002
  }
41003
41003
  render() {
41004
41004
  return this.httpClient && this.postponedErrors.length > 0 && this.postponedErrors.forEach((e) => this.sendErrorTracking(e, this.httpClient)), this.postponedErrors = [], this.props.children;
@@ -43385,7 +43385,7 @@ function N8e(e, t, n) {
43385
43385
  </div>`;
43386
43386
  }
43387
43387
  function I8e(e, t) {
43388
- return t === "world" ? Nu.map(e, { attributionControl: !1, scrollWheelZoom: !0, minZoom: 1, zoom: 1, center: [0, 0] }) : Nu.map(e, { crs: new Nu.Proj.CRS("EPSG:5070", "+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs", { resolutions: [16384, 10240, 8192, 4096] }), center: [35.96852047262865, -96.96520768859223], zoom: 0.4, attributionControl: !1 });
43388
+ return t === "world" ? Nu.map(e, { attributionControl: !1, scrollWheelZoom: !0, minZoom: 1, zoom: 1, maxZoom: 5, center: [0, 0] }) : Nu.map(e, { crs: new Nu.Proj.CRS("EPSG:5070", "+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs", { resolutions: [16384, 10240, 8192, 4096] }), center: [35.96852047262865, -96.96520768859223], zoom: 0.4, maxZoom: 3, attributionControl: !1 });
43389
43389
  }
43390
43390
  function j8e(e, t) {
43391
43391
  if (t.ATA && t.ATA.geoDataElement)
@@ -58168,7 +58168,7 @@ const Y7 = (e) => e % 2 === 1, U7 = ({ colIndex: e = 0, rowIndex: t = 0, themeSe
58168
58168
  const [o, a] = At(0), { topSlot: s, bottomSlot: l, title: c, description: p, styleOptions: x } = e, { themeSettings: d } = Po(), R = Qz("table", { hasHeader: !((t = x == null ? void 0 : x.header) != null && t.hidden) }), g = e.styleOptions || {}, { width: b, height: M } = g, V = da(g, ["width", "height"]);
58169
58169
  return e.dataOptions ? /* @__PURE__ */ ke(Bx, { defaultSize: R, size: { width: b, height: M }, children: /* @__PURE__ */ ke("div", { className: "csdk-w-full csdk-h-full csdk-overflow-hidden", children: /* @__PURE__ */ ke("div", { className: "csdk-h-full", style: { padding: Ok[(x == null ? void 0 : x.spaceAround) || "None"] }, children: /* @__PURE__ */ ke("div", { className: "csdk-h-full csdk-overflow-hidden", style: { borderWidth: x != null && x.border ? "1px" : 0, borderColor: (x == null ? void 0 : x.borderColor) || d.chart.textColor, borderRadius: x != null && x.cornerRadius ? Ak[x.cornerRadius] : 0, boxShadow: H6(x), display: "flex", flexDirection: "column" }, children: [!((n = x == null ? void 0 : x.header) != null && n.hidden) && /* @__PURE__ */ ke(W6, { title: c, description: p, dataSetName: e.dataSource, styleOptions: x == null ? void 0 : x.header, onRefresh: () => a(o + 1) }), s, /* @__PURE__ */ ke(W1, { theme: { chart: { backgroundColor: (x == null ? void 0 : x.backgroundColor) || ((r = d.chart) == null ? void 0 : r.backgroundColor) } }, children: /* @__PURE__ */ ke("div", { style: { flexGrow: 1, backgroundColor: (x == null ? void 0 : x.backgroundColor) || ((i = d.chart) == null ? void 0 : i.backgroundColor) }, children: /* @__PURE__ */ ke(Wie, { dataSet: e.dataSource, dataOptions: e.dataOptions, styleOptions: V, filters: e.filters, refreshCounter: o }) }) }), l] }) }) }) }) : null;
58170
58170
  }), CQe = "sdkHookInit", MQe = (e, t, n, r) => Ks(void 0, null, function* () {
58171
- n && Zz(CQe, { packageName: t, packageVersion: "1.4.0", hookName: e }, n.httpClient).catch((i) => console.warn("An error occurred when sending the sdkHookInit event", i)).finally(r);
58171
+ n && Zz(CQe, { packageName: t, packageVersion: "1.4.1", hookName: e }, n.httpClient).catch((i) => console.warn("An error occurred when sending the sdkHookInit event", i)).finally(r);
58172
58172
  });
58173
58173
  var SQe = Object.defineProperty, kQe = Object.defineProperties, TQe = Object.getOwnPropertyDescriptors, sM = Object.getOwnPropertySymbols, Yie = Object.prototype.hasOwnProperty, Uie = Object.prototype.propertyIsEnumerable, SR = (e, t, n) => t in e ? SQe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _t = (e, t) => {
58174
58174
  for (var n in t || (t = {}))
@@ -84146,7 +84146,7 @@ class Syt {
84146
84146
  constructor(t, n, r) {
84147
84147
  La(this, "httpClient"), La(this, "pivotClient"), La(this, "queryClient"), La(this, "defaultDataSource"), La(this, "settings"), window.addEventListener("unhandledrejection", (i) => {
84148
84148
  i.reason instanceof Error ? console.error(i.reason.message) : console.error(i.reason);
84149
- }), this.httpClient = new iJe(t, n, "sdk-ui-1.4.0"), this.pivotClient = new mle(this.httpClient), this.queryClient = new Igt(this.httpClient, this.pivotClient), r !== void 0 && (this.defaultDataSource = r);
84149
+ }), this.httpClient = new iJe(t, n, "sdk-ui-1.4.1"), this.pivotClient = new mle(this.httpClient), this.queryClient = new Igt(this.httpClient, this.pivotClient), r !== void 0 && (this.defaultDataSource = r);
84150
84150
  }
84151
84151
  }
84152
84152
  const kyt = (e) => Xu(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.4.0",
14
+ "version": "1.4.1",
15
15
  "type": "module",
16
16
  "main": "./dist/index.js",
17
17
  "module": "./dist/index.js",