@platforma-sdk/model 1.20.24 → 1.20.27
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/index.mjs.map +1 -1
- package/dist/render/api.d.ts +1 -1
- package/dist/render/api.d.ts.map +1 -1
- package/dist/render/internal.d.ts +1 -1
- package/dist/render/internal.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/render/api.ts +11 -9
- package/src/render/internal.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -694,7 +694,7 @@ class D {
|
|
|
694
694
|
S(this, "args");
|
|
695
695
|
S(this, "uiState");
|
|
696
696
|
S(this, "resultPool", new Dt());
|
|
697
|
-
this.ctx = u(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) :
|
|
697
|
+
this.ctx = u(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
|
|
698
698
|
}
|
|
699
699
|
getNamedAccessor(t) {
|
|
700
700
|
return J(
|
|
@@ -752,10 +752,9 @@ class D {
|
|
|
752
752
|
if (n && !s) throw Error("inline columns not supported");
|
|
753
753
|
}
|
|
754
754
|
createPFrame(t) {
|
|
755
|
-
return this.verifyInlineColumnsSupport(t), this.ctx.createPFrame(
|
|
756
|
-
n,
|
|
757
|
-
|
|
758
|
-
)));
|
|
755
|
+
return this.verifyInlineColumnsSupport(t), this.ctx.createPFrame(
|
|
756
|
+
t.map((n) => x(n, (s) => s instanceof _ ? s.handle : s))
|
|
757
|
+
);
|
|
759
758
|
}
|
|
760
759
|
createPTable(t) {
|
|
761
760
|
var n;
|
|
@@ -766,10 +765,12 @@ class D {
|
|
|
766
765
|
},
|
|
767
766
|
filters: t.filters ?? [],
|
|
768
767
|
sorting: t.sorting ?? []
|
|
769
|
-
} : n = t, this.verifyInlineColumnsSupport(gt(n.src)), this.ctx.createPTable(
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
768
|
+
} : n = t, this.verifyInlineColumnsSupport(gt(n.src)), this.ctx.createPTable(
|
|
769
|
+
mt(
|
|
770
|
+
n,
|
|
771
|
+
(s) => x(s, (i) => i instanceof _ ? i.handle : i)
|
|
772
|
+
)
|
|
773
|
+
);
|
|
773
774
|
}
|
|
774
775
|
/** @deprecated scheduled for removal from SDK */
|
|
775
776
|
getBlockLabel(t) {
|
|
@@ -893,7 +894,7 @@ function he(e) {
|
|
|
893
894
|
}
|
|
894
895
|
return i.map((r) => Array.from(r.values()));
|
|
895
896
|
}
|
|
896
|
-
const F = "1.20.
|
|
897
|
+
const F = "1.20.27";
|
|
897
898
|
function xt(e) {
|
|
898
899
|
return e.__renderLambda === !0;
|
|
899
900
|
}
|