@platforma-sdk/ui-vue 1.40.5 → 1.40.6

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.
Files changed (26) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +9 -0
  4. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts +1 -4
  5. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts.map +1 -1
  6. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +155 -172
  7. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js.map +1 -1
  8. package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts +2 -2
  9. package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts.map +1 -1
  10. package/dist/components/PlAgDataTable/sources/table-source-v2.js +110 -105
  11. package/dist/components/PlAgDataTable/sources/table-source-v2.js.map +1 -1
  12. package/dist/components/PlAgDataTable/types.d.ts +27 -43
  13. package/dist/components/PlAgDataTable/types.d.ts.map +1 -1
  14. package/dist/components/PlAgDataTable/types.js +32 -43
  15. package/dist/components/PlAgDataTable/types.js.map +1 -1
  16. package/dist/lib/model/common/dist/index.js.map +1 -1
  17. package/dist/lib/ui/uikit/dist/components/PlDialogModal/PlDialogModal.vue.js.map +1 -1
  18. package/dist/lib/ui/uikit/dist/lib/model/common/dist/index.js +5 -5
  19. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +18 -18
  20. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
  21. package/dist/sdk/model/dist/index.js +80 -75
  22. package/dist/sdk/model/dist/index.js.map +1 -1
  23. package/package.json +7 -7
  24. package/src/components/PlAgDataTable/PlAgDataTableV2.vue +6 -31
  25. package/src/components/PlAgDataTable/sources/table-source-v2.ts +29 -29
  26. package/src/components/PlAgDataTable/types.ts +42 -70
@@ -30,7 +30,7 @@ function S(n) {
30
30
  function j(n) {
31
31
  return n.replace(/^.*[\\/]/, "");
32
32
  }
33
- function B(n) {
33
+ function R(n) {
34
34
  return j(S(n));
35
35
  }
36
36
  function U(n) {
@@ -513,11 +513,11 @@ function rn(n, e = !0) {
513
513
  function on(n, e) {
514
514
  return n.ok ? { ok: !0, value: e(n.value) } : n;
515
515
  }
516
- const F = 24;
517
- u.string().length(F).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
516
+ const B = 24;
517
+ u.string().length(B).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
518
518
  export {
519
519
  G as AnchoredIdDeriver,
520
- F as PlIdLength,
520
+ B as PlIdLength,
521
521
  W as canonicalizeAxisId,
522
522
  q as dataInfoToEntries,
523
523
  en as deriveNativeId,
@@ -526,7 +526,7 @@ export {
526
526
  Z as extractAllColumns,
527
527
  L as getAxesId,
528
528
  d as getAxisId,
529
- B as getFileNameFromHandle,
529
+ R as getFileNameFromHandle,
530
530
  S as getFilePathFromHandle,
531
531
  U as isDataInfo,
532
532
  E as isDataInfoEntries,
@@ -1,4 +1,4 @@
1
- import { isDataInfo as ae, extractAllColumns as Ee, mapPTableDef as Te, selectorsToPredicate as W, withEnrichments as ce, AnchoredIdDeriver as he, isPlRef as Fe, mapValueInVOE as Oe, mapPObjectData as le, ensurePColumn as ke, isPColumnSpec as G, isPColumn as be, resolveAnchors as pe, deriveNativeId as Re, isPartitionedDataInfoEntries as De, getAxisId as de, entriesToDataInfo as $e, isDataInfoEntries as _e, dataInfoToEntries as Ke, canonicalizeAxisId as Ne, mapDataInfo as je } from "../../../lib/model/common/dist/index.js";
1
+ import { isDataInfo as ae, extractAllColumns as Ee, mapPTableDef as Te, selectorsToPredicate as W, withEnrichments as ce, AnchoredIdDeriver as he, isPlRef as Fe, mapValueInVOE as Oe, mapPObjectData as le, ensurePColumn as ke, isPColumnSpec as z, isPColumn as be, resolveAnchors as pe, deriveNativeId as Re, isPartitionedDataInfoEntries as De, getAxisId as de, entriesToDataInfo as $e, isDataInfoEntries as _e, dataInfoToEntries as Ke, canonicalizeAxisId as Ne, mapDataInfo as je } from "../../../lib/model/common/dist/index.js";
2
2
  import { PlIdLength as bt, getAxesId as _t, getFileNameFromHandle as wt, getFilePathFromHandle as Pt, isImportFileHandleIndex as At, isImportFileHandleUpload as xt, mapJoinEntry as It, matchAxis as Lt, matchAxisId as St, matchPColumn as Ct, stringifyColumnId as Et } from "../../../lib/model/common/dist/index.js";
3
3
  import we from "../../../_virtual/canonicalize.js";
4
4
  import K from "../../../node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js";
@@ -278,19 +278,19 @@ class L {
278
278
  return n && (a = a.filter((l) => l[1] !== void 0)), a.map(([l, y]) => o(l, y));
279
279
  }
280
280
  }
281
- const We = "staging", He = "main", qe = "pl7.app/label", ze = "pl7.app/trace", Ge = K.object({
281
+ const We = "staging", He = "main", qe = "pl7.app/label", Ge = "pl7.app/trace", ze = K.object({
282
282
  type: K.string(),
283
283
  importance: K.number().optional(),
284
284
  id: K.string().optional(),
285
285
  label: K.string()
286
- }), Ye = K.array(Ge), Qe = 1e-3, Xe = "__LABEL__", fe = "__LABEL__@1";
286
+ }), Ye = K.array(ze), Qe = 1e-3, Xe = "__LABEL__", fe = "__LABEL__@1";
287
287
  function Ae(i, e, t = {}) {
288
288
  const r = /* @__PURE__ */ new Map(), s = t.forceTraceElements !== void 0 && t.forceTraceElements.length > 0 ? new Set(t.forceTraceElements) : void 0, n = /* @__PURE__ */ new Map(), o = i.map((f) => {
289
289
  var P, u;
290
290
  const h = e(f);
291
291
  let v, S, C;
292
292
  "spec" in h && typeof h.spec == "object" ? (v = h.spec, S = h.prefixTrace, C = h.suffixTrace) : v = h;
293
- const p = (P = v.annotations) == null ? void 0 : P[qe], A = (u = v.annotations) == null ? void 0 : u[ze], d = (A ? Ye.safeParse(JSON.parse(A)).data : void 0) ?? [], g = [
293
+ const p = (P = v.annotations) == null ? void 0 : P[qe], A = (u = v.annotations) == null ? void 0 : u[Ge], d = (A ? Ye.safeParse(JSON.parse(A)).data : void 0) ?? [], g = [
294
294
  ...S ?? [],
295
295
  ...d,
296
296
  ...C ?? []
@@ -722,7 +722,7 @@ class me {
722
722
  if (C.length === 0) continue;
723
723
  const p = ut(u), A = p.length > 0;
724
724
  for (const d of C) {
725
- if (!G(d.spec)) continue;
725
+ if (!z(d.spec)) continue;
726
726
  const g = d.spec;
727
727
  if (A) {
728
728
  if (st(d.data))
@@ -1055,7 +1055,7 @@ class ct {
1055
1055
  getPColumnSpecByRef(e) {
1056
1056
  const t = this.getSpecByRef(e);
1057
1057
  if (t) {
1058
- if (!G(t)) throw new Error(`not a PColumn spec (kind = ${t.kind})`);
1058
+ if (!z(t)) throw new Error(`not a PColumn spec (kind = ${t.kind})`);
1059
1059
  return t;
1060
1060
  }
1061
1061
  }
@@ -1074,7 +1074,7 @@ class ct {
1074
1074
  findDataWithCompatibleSpec(e) {
1075
1075
  const t = [];
1076
1076
  e: for (const r of this.getData().entries) {
1077
- if (!G(r.obj.spec))
1077
+ if (!z(r.obj.spec))
1078
1078
  continue;
1079
1079
  const s = r.obj.spec;
1080
1080
  if (e.name === s.name && e.valueType === s.valueType && e.axesSpec.length === s.axesSpec.length && ee(e.domain, s.domain)) {
@@ -1117,7 +1117,7 @@ class ct {
1117
1117
  */
1118
1118
  selectColumns(e) {
1119
1119
  const t = typeof e == "function" ? e : W(e);
1120
- return this.getSpecs().entries.filter(({ obj: r }) => G(r) ? t(r) : !1).map(({ ref: r, obj: s }) => {
1120
+ return this.getSpecs().entries.filter(({ obj: r }) => z(r) ? t(r) : !1).map(({ ref: r, obj: s }) => {
1121
1121
  const n = s;
1122
1122
  let o = null;
1123
1123
  const a = this;
@@ -1147,7 +1147,7 @@ class ct {
1147
1147
  return s;
1148
1148
  }
1149
1149
  }
1150
- class z {
1150
+ class G {
1151
1151
  constructor() {
1152
1152
  I(this, "ctx"), I(this, "_argsCache"), I(this, "_uiStateCache"), I(this, "_activeArgsCache"), I(this, "resultPool", new ct()), this.ctx = c();
1153
1153
  }
@@ -1256,7 +1256,7 @@ class z {
1256
1256
  this.ctx.logError(e);
1257
1257
  }
1258
1258
  }
1259
- const Y = "1.40.5";
1259
+ const Y = "1.40.6";
1260
1260
  function ht(i) {
1261
1261
  return i.__renderLambda === !0;
1262
1262
  }
@@ -1284,7 +1284,7 @@ const pt = class _ {
1284
1284
  output(e, t, r = {}) {
1285
1285
  if (typeof t == "function") {
1286
1286
  const s = `output#${e}`;
1287
- return J(s, () => t(new z())), new _(
1287
+ return J(s, () => t(new G())), new _(
1288
1288
  this._renderingMode,
1289
1289
  this._initialArgs,
1290
1290
  this._initialUiState,
@@ -1323,7 +1323,7 @@ const pt = class _ {
1323
1323
  return this.output(e, t, { retentive: !0 });
1324
1324
  }
1325
1325
  argsValid(e) {
1326
- return typeof e == "function" ? (J("inputsValid", () => e(new z())), new _(
1326
+ return typeof e == "function" ? (J("inputsValid", () => e(new G())), new _(
1327
1327
  this._renderingMode,
1328
1328
  this._initialArgs,
1329
1329
  this._initialUiState,
@@ -1349,7 +1349,7 @@ const pt = class _ {
1349
1349
  );
1350
1350
  }
1351
1351
  sections(e) {
1352
- return Array.isArray(e) ? this.sections(X(e)) : typeof e == "function" ? (J("sections", () => e(new z())), new _(
1352
+ return Array.isArray(e) ? this.sections(X(e)) : typeof e == "function" ? (J("sections", () => e(new G())), new _(
1353
1353
  this._renderingMode,
1354
1354
  this._initialArgs,
1355
1355
  this._initialUiState,
@@ -1373,7 +1373,7 @@ const pt = class _ {
1373
1373
  }
1374
1374
  /** Sets a rendering function to derive block title, shown for the block in the left blocks-overview panel. */
1375
1375
  title(e) {
1376
- return J("title", () => e(new z())), new _(
1376
+ return J("title", () => e(new G())), new _(
1377
1377
  this._renderingMode,
1378
1378
  this._initialArgs,
1379
1379
  this._initialUiState,
@@ -1492,7 +1492,7 @@ export {
1492
1492
  Ot as ErrorLike,
1493
1493
  w as FutureRef,
1494
1494
  qe as PAnnotationLabel,
1495
- ze as PAnnotationTrace,
1495
+ Ge as PAnnotationTrace,
1496
1496
  me as PColumnCollection,
1497
1497
  kt as PlErrorLike,
1498
1498
  bt as PlIdLength,
@@ -1502,11 +1502,11 @@ export {
1502
1502
  Q as RT_JSON_SUPER_PARTITIONED,
1503
1503
  ie as RT_RESOURCE_MAP,
1504
1504
  se as RT_RESOURCE_MAP_PARTITIONED,
1505
- z as RenderCtx,
1505
+ G as RenderCtx,
1506
1506
  ct as ResultPool,
1507
1507
  Rt as StandardErrorLike,
1508
1508
  Ye as Trace,
1509
- Ge as TraceEntry,
1509
+ ze as TraceEntry,
1510
1510
  L as TreeNodeAccessor,
1511
1511
  Ne as canonicalizeAxisId,
1512
1512
  rt as convertOrParsePColumnData,
@@ -1533,7 +1533,7 @@ export {
1533
1533
  At as isImportFileHandleIndex,
1534
1534
  xt as isImportFileHandleUpload,
1535
1535
  be as isPColumn,
1536
- G as isPColumnSpec,
1536
+ z as isPColumnSpec,
1537
1537
  De as isPartitionedDataInfoEntries,
1538
1538
  Fe as isPlRef,
1539
1539
  je as mapDataInfo,