@platforma-sdk/ui-vue 1.41.0 → 1.41.2
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/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +16 -0
- package/dist/lib/ui/uikit/dist/components/PlAccordion/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +1 -1
- package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue.js.map +1 -0
- package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js +1 -1
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +1 -1
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
- package/dist/sdk/model/dist/index.js +33 -33
- package/dist/sdk/model/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/lib/ui/uikit/dist/components/PlAccordion/ExpandTransition.vue2.js.map +0 -1
|
@@ -288,12 +288,12 @@ function Ae(n, e, t = {}) {
|
|
|
288
288
|
const r = /* @__PURE__ */ new Map(), i = t.forceTraceElements !== void 0 && t.forceTraceElements.length > 0 ? new Set(t.forceTraceElements) : void 0, s = /* @__PURE__ */ new Map(), a = n.map((h) => {
|
|
289
289
|
var C, u;
|
|
290
290
|
const d = e(h);
|
|
291
|
-
let b, I,
|
|
292
|
-
"spec" in d && typeof d.spec == "object" ? (b = d.spec, I = d.prefixTrace,
|
|
291
|
+
let b, I, F;
|
|
292
|
+
"spec" in d && typeof d.spec == "object" ? (b = d.spec, I = d.prefixTrace, F = d.suffixTrace) : b = d;
|
|
293
293
|
const c = (C = b.annotations) == null ? void 0 : C[tt], _ = (u = b.annotations) == null ? void 0 : u[nt], f = (_ ? it.safeParse(JSON.parse(_)).data : void 0) ?? [], g = [
|
|
294
294
|
...I ?? [],
|
|
295
295
|
...f,
|
|
296
|
-
...
|
|
296
|
+
...F ?? []
|
|
297
297
|
];
|
|
298
298
|
if (c !== void 0) {
|
|
299
299
|
const S = { label: c, type: at, importance: -2 };
|
|
@@ -333,9 +333,9 @@ function Ae(n, e, t = {}) {
|
|
|
333
333
|
value: b.value
|
|
334
334
|
});
|
|
335
335
|
else return;
|
|
336
|
-
const
|
|
336
|
+
const F = I.map((_) => _.label), c = t.separator ?? " / ";
|
|
337
337
|
u.push({
|
|
338
|
-
label:
|
|
338
|
+
label: F.join(c),
|
|
339
339
|
value: b.value
|
|
340
340
|
});
|
|
341
341
|
}
|
|
@@ -708,7 +708,7 @@ class be {
|
|
|
708
708
|
b = he(r.anchors, u, t);
|
|
709
709
|
} else
|
|
710
710
|
b = u;
|
|
711
|
-
const I = /* @__PURE__ */ new Set(),
|
|
711
|
+
const I = /* @__PURE__ */ new Set(), F = [];
|
|
712
712
|
for (const f of this.providers) {
|
|
713
713
|
const g = f.selectColumns(b);
|
|
714
714
|
for (const m of g) {
|
|
@@ -716,12 +716,12 @@ class be {
|
|
|
716
716
|
if (I.has(m.id))
|
|
717
717
|
throw new Error(`Duplicate column id ${m.id} in provider ${f.constructor.name}`);
|
|
718
718
|
const L = Be(m.spec);
|
|
719
|
-
V.has(L) || (I.add(m.id), V.add(L),
|
|
719
|
+
V.has(L) || (I.add(m.id), V.add(L), F.push(m));
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
|
-
if (
|
|
722
|
+
if (F.length === 0) continue;
|
|
723
723
|
const c = yt(u), _ = c.length > 0;
|
|
724
|
-
for (const f of
|
|
724
|
+
for (const f of F) {
|
|
725
725
|
if (!Y(f.spec)) continue;
|
|
726
726
|
const g = f.spec;
|
|
727
727
|
if (_) {
|
|
@@ -793,7 +793,7 @@ class be {
|
|
|
793
793
|
l
|
|
794
794
|
), C = [];
|
|
795
795
|
for (const { value: u, label: d } of h) {
|
|
796
|
-
const { originalColumn: b, spec: I } = u,
|
|
796
|
+
const { originalColumn: b, spec: I } = u, F = u.type === "split" ? u.axisFilters : void 0, c = gt(F);
|
|
797
797
|
let _;
|
|
798
798
|
r ? _ = r.deriveS(I, c) : _ = mt(b.id, c);
|
|
799
799
|
let f = { ...u.adjustedSpec };
|
|
@@ -1256,7 +1256,7 @@ class X {
|
|
|
1256
1256
|
this.ctx.logError(e);
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
|
-
const Q = "1.41.
|
|
1259
|
+
const Q = "1.41.2";
|
|
1260
1260
|
function vt(n) {
|
|
1261
1261
|
return n.__renderLambda === !0;
|
|
1262
1262
|
}
|
|
@@ -1504,7 +1504,7 @@ w(Tt, "INITIAL_BLOCK_FEATURE_FLAGS", {
|
|
|
1504
1504
|
requiresUIAPIVersion: 1,
|
|
1505
1505
|
requiresModelAPIVersion: 1
|
|
1506
1506
|
});
|
|
1507
|
-
function
|
|
1507
|
+
function Fe() {
|
|
1508
1508
|
return {
|
|
1509
1509
|
sourceId: null,
|
|
1510
1510
|
hiddenColIds: null,
|
|
@@ -1517,7 +1517,7 @@ function Pe() {
|
|
|
1517
1517
|
return {
|
|
1518
1518
|
version: 4,
|
|
1519
1519
|
stateCache: [],
|
|
1520
|
-
pTableParams:
|
|
1520
|
+
pTableParams: Fe()
|
|
1521
1521
|
};
|
|
1522
1522
|
}
|
|
1523
1523
|
function wt(n) {
|
|
@@ -1527,7 +1527,7 @@ function wt(n) {
|
|
|
1527
1527
|
...e,
|
|
1528
1528
|
filtersState: []
|
|
1529
1529
|
})),
|
|
1530
|
-
pTableParams:
|
|
1530
|
+
pTableParams: Fe()
|
|
1531
1531
|
}), n.version === 3 && (n = Pe()), n;
|
|
1532
1532
|
}
|
|
1533
1533
|
function At(n) {
|
|
@@ -1537,13 +1537,13 @@ function It(n) {
|
|
|
1537
1537
|
var e;
|
|
1538
1538
|
return ((e = n.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "hidden";
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function Ft(n) {
|
|
1541
1541
|
var e;
|
|
1542
1542
|
return ((e = n.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function xt(n) {
|
|
1545
1545
|
var e;
|
|
1546
|
-
return
|
|
1546
|
+
return ((e = n.annotations) == null ? void 0 : e[Pt]) === "true";
|
|
1547
1547
|
}
|
|
1548
1548
|
const Pt = "pl7.app/isLinkerColumn";
|
|
1549
1549
|
function Et({
|
|
@@ -1575,13 +1575,13 @@ function Et({
|
|
|
1575
1575
|
function Lt(n) {
|
|
1576
1576
|
return n === De ? (console.error("Axis value can never be N/A"), "") : n;
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function x(n) {
|
|
1579
1579
|
return n.valueType === "Int" || n.valueType === "Long" || n.valueType === "Float" || n.valueType === "Double";
|
|
1580
1580
|
}
|
|
1581
1581
|
function G(n) {
|
|
1582
1582
|
return n.valueType === "String";
|
|
1583
1583
|
}
|
|
1584
|
-
const
|
|
1584
|
+
const xe = {
|
|
1585
1585
|
lessThan: {
|
|
1586
1586
|
label: "Col < X (Less Than)",
|
|
1587
1587
|
form: {
|
|
@@ -1602,7 +1602,7 @@ const Fe = {
|
|
|
1602
1602
|
defaultValue: () => 0
|
|
1603
1603
|
}
|
|
1604
1604
|
},
|
|
1605
|
-
supportedFor:
|
|
1605
|
+
supportedFor: x
|
|
1606
1606
|
},
|
|
1607
1607
|
greaterThan: {
|
|
1608
1608
|
label: "Col > X (Greater Than)",
|
|
@@ -1624,7 +1624,7 @@ const Fe = {
|
|
|
1624
1624
|
defaultValue: () => 0
|
|
1625
1625
|
}
|
|
1626
1626
|
},
|
|
1627
|
-
supportedFor:
|
|
1627
|
+
supportedFor: x
|
|
1628
1628
|
},
|
|
1629
1629
|
lessThanOrEqual: {
|
|
1630
1630
|
label: "Col ≤ X (Less Than or Equal)",
|
|
@@ -1646,7 +1646,7 @@ const Fe = {
|
|
|
1646
1646
|
defaultValue: () => 0
|
|
1647
1647
|
}
|
|
1648
1648
|
},
|
|
1649
|
-
supportedFor:
|
|
1649
|
+
supportedFor: x
|
|
1650
1650
|
},
|
|
1651
1651
|
greaterThanOrEqual: {
|
|
1652
1652
|
label: "Col ≥ X (Greater Than or Equal)",
|
|
@@ -1668,7 +1668,7 @@ const Fe = {
|
|
|
1668
1668
|
defaultValue: () => 0
|
|
1669
1669
|
}
|
|
1670
1670
|
},
|
|
1671
|
-
supportedFor:
|
|
1671
|
+
supportedFor: x
|
|
1672
1672
|
},
|
|
1673
1673
|
lessThanColumn: {
|
|
1674
1674
|
label: "Col₁ < Col₂ (Compare Columns)",
|
|
@@ -1697,7 +1697,7 @@ const Fe = {
|
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
1699
|
},
|
|
1700
|
-
supportedFor: (n, e) =>
|
|
1700
|
+
supportedFor: (n, e) => x(n) && (e === void 0 || x(e))
|
|
1701
1701
|
},
|
|
1702
1702
|
lessThanColumnOrEqual: {
|
|
1703
1703
|
label: "Col₁ ≤ Col₂ (Compare Columns)",
|
|
@@ -1726,7 +1726,7 @@ const Fe = {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
},
|
|
1729
|
-
supportedFor: (n, e) =>
|
|
1729
|
+
supportedFor: (n, e) => x(n) && (e === void 0 || x(e))
|
|
1730
1730
|
},
|
|
1731
1731
|
topN: {
|
|
1732
1732
|
label: "Top N",
|
|
@@ -1748,7 +1748,7 @@ const Fe = {
|
|
|
1748
1748
|
defaultValue: () => 10
|
|
1749
1749
|
}
|
|
1750
1750
|
},
|
|
1751
|
-
supportedFor:
|
|
1751
|
+
supportedFor: x
|
|
1752
1752
|
},
|
|
1753
1753
|
bottomN: {
|
|
1754
1754
|
label: "Bottom N",
|
|
@@ -1770,7 +1770,7 @@ const Fe = {
|
|
|
1770
1770
|
defaultValue: () => 10
|
|
1771
1771
|
}
|
|
1772
1772
|
},
|
|
1773
|
-
supportedFor:
|
|
1773
|
+
supportedFor: x
|
|
1774
1774
|
},
|
|
1775
1775
|
patternContainSubsequence: {
|
|
1776
1776
|
label: "Col ~ Seq (Contain Subsequence)",
|
|
@@ -1946,13 +1946,13 @@ const Fe = {
|
|
|
1946
1946
|
}
|
|
1947
1947
|
};
|
|
1948
1948
|
function Vt(n) {
|
|
1949
|
-
return n ? Object.entries(
|
|
1949
|
+
return n ? Object.entries(xe).filter(([e, t]) => t.supportedFor(n)).map(([e, t]) => ({
|
|
1950
1950
|
label: t.label,
|
|
1951
1951
|
value: e
|
|
1952
1952
|
})) : [];
|
|
1953
1953
|
}
|
|
1954
1954
|
function Ot(n) {
|
|
1955
|
-
return
|
|
1955
|
+
return xe[n];
|
|
1956
1956
|
}
|
|
1957
1957
|
function kt() {
|
|
1958
1958
|
return platformaApiVersion ?? 1;
|
|
@@ -2011,7 +2011,7 @@ export {
|
|
|
2011
2011
|
qe as entriesToDataInfo,
|
|
2012
2012
|
Re as extractAllColumns,
|
|
2013
2013
|
dt as filterDataInfoEntries,
|
|
2014
|
-
|
|
2014
|
+
xe as filterUiMetadata,
|
|
2015
2015
|
Gt as getAxesId,
|
|
2016
2016
|
ge as getAxisId,
|
|
2017
2017
|
Dt as getEnvironmentValue,
|
|
@@ -2026,12 +2026,12 @@ export {
|
|
|
2026
2026
|
Qt as hasAbortError,
|
|
2027
2027
|
ie as ifDef,
|
|
2028
2028
|
It as isColumnHidden,
|
|
2029
|
-
|
|
2029
|
+
Ft as isColumnOptional,
|
|
2030
2030
|
vt as isConfigLambda,
|
|
2031
2031
|
ue as isDataInfo,
|
|
2032
2032
|
_e as isDataInfoEntries,
|
|
2033
2033
|
At as isLabelColumn,
|
|
2034
|
-
|
|
2034
|
+
xt as isLinkerColumn,
|
|
2035
2035
|
Ce as isPColumn,
|
|
2036
2036
|
Y as isPColumnSpec,
|
|
2037
2037
|
ke as isPTableAbsent,
|
|
@@ -2039,7 +2039,7 @@ export {
|
|
|
2039
2039
|
$e as isPlRef,
|
|
2040
2040
|
Zt as isValueAbsent,
|
|
2041
2041
|
en as isValueNA,
|
|
2042
|
-
|
|
2042
|
+
Fe as makeDefaultPTableParams,
|
|
2043
2043
|
He as mapDataInfo,
|
|
2044
2044
|
tn as mapJoinEntry,
|
|
2045
2045
|
pe as mapPObjectData,
|