@platforma-sdk/model 1.14.0 → 1.15.4
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/components/PlDataTable.d.ts +14 -1
- package/dist/components/PlDataTable.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -7
- package/dist/index.mjs.map +1 -1
- package/dist/render/api.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/PlDataTable.ts +17 -1
- package/src/render/api.ts +4 -6
package/dist/index.mjs
CHANGED
|
@@ -538,12 +538,10 @@ class Oe {
|
|
|
538
538
|
}
|
|
539
539
|
getOptions(e, n) {
|
|
540
540
|
const r = this.getSpecs().entries.filter((s) => e(s.obj));
|
|
541
|
-
return typeof n == "object" || typeof n > "u" ? Fe(r, (s) => s.obj, n ?? {}).map(
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
})
|
|
546
|
-
) : r.map((s) => ({
|
|
541
|
+
return typeof n == "object" || typeof n > "u" ? Fe(r, (s) => s.obj, n ?? {}).map(({ value: { ref: s }, label: i }) => ({
|
|
542
|
+
ref: s,
|
|
543
|
+
label: i
|
|
544
|
+
})) : r.map((s) => ({
|
|
547
545
|
ref: s.ref,
|
|
548
546
|
label: n(s.obj, s.ref)
|
|
549
547
|
}));
|
|
@@ -850,7 +848,7 @@ function pt(t) {
|
|
|
850
848
|
}
|
|
851
849
|
return s.map((i) => Array.from(i.values()));
|
|
852
850
|
}
|
|
853
|
-
const C = "1.
|
|
851
|
+
const C = "1.15.4";
|
|
854
852
|
function ke(t) {
|
|
855
853
|
return t.__renderLambda === !0;
|
|
856
854
|
}
|