@platforma-sdk/ui-vue 1.41.2 → 1.41.3

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 (23) hide show
  1. package/.turbo/turbo-build.log +13 -13
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +8 -0
  4. package/dist/components/PlAgDataTable/sources/table-source-v2.js +3 -3
  5. package/dist/components/PlAnnotations/components/DynamicForm.vue2.js +10 -10
  6. package/dist/components/PlMultiSequenceAlignment/data.js +14 -14
  7. package/dist/defineApp.js +12 -12
  8. package/dist/lib/ui/uikit/dist/components/PlAutocomplete/PlAutocomplete.vue.js +1 -1
  9. package/dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js +1 -1
  10. package/dist/lib/ui/uikit/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js +1 -1
  11. package/dist/lib/ui/uikit/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +1 -1
  12. package/dist/lib/ui/uikit/dist/components/PlFileDialog/Local.vue.js +4 -4
  13. package/dist/lib/ui/uikit/dist/components/PlFileInput/PlFileInput.vue.js +1 -1
  14. package/dist/lib/ui/uikit/dist/components/PlTextArea/PlTextArea.vue.js +1 -1
  15. package/dist/lib/ui/uikit/dist/components/PlTextField/PlTextField.vue.js +1 -1
  16. package/dist/lib/ui/uikit/dist/generated/components/svg/images/{SvgRequired.vue2.js → SvgRequired.vue.js} +1 -1
  17. package/dist/lib/ui/uikit/dist/generated/components/svg/images/SvgRequired.vue.js.map +1 -0
  18. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +25 -25
  19. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
  20. package/dist/sdk/model/dist/index.js +77 -77
  21. package/dist/sdk/model/dist/index.js.map +1 -1
  22. package/package.json +5 -5
  23. package/dist/lib/ui/uikit/dist/generated/components/svg/images/SvgRequired.vue2.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { isPTableAbsent as ke, uniquePlId as Ne, PTableNA as De, isDataInfo as ue, extractAllColumns as Re, mapPTableDef as Ue, selectorsToPredicate as W, withEnrichments as ce, AnchoredIdDeriver as fe, isPlRef as $e, mapValueInVOE as Ke, mapPObjectData as pe, ensurePColumn as je, isPColumnSpec as Y, isPColumn as Ce, resolveAnchors as he, deriveNativeId as Be, isPartitionedDataInfoEntries as Je, getAxisId as ge, entriesToDataInfo as qe, isDataInfoEntries as _e, dataInfoToEntries as Me, canonicalizeAxisId as We, mapDataInfo as He } from "../../../lib/model/common/dist/index.js";
2
- import { PTableAbsent as $t, PValueBytesNA as Kt, PValueIntNA as jt, PValueLongNA as Bt, PValueStringNA as Jt, PlId as qt, PlIdBytes as Mt, PlIdLength as Wt, canonicalizeJson as Ht, deserializeError as zt, ensureError as Xt, getAxesId as Gt, getPTableColumnId as Yt, hasAbortError as Qt, isValueAbsent as Zt, isValueNA as en, mapJoinEntry as tn, matchAxis as nn, matchAxisId as rn, matchPColumn as sn, pTableValue as an, parseJson as on, stringifyColumnId as ln, unwrapResult as un } from "../../../lib/model/common/dist/index.js";
1
+ import { isPTableAbsent as ke, uniquePlId as Ne, PTableNA as De, isDataInfo as ue, extractAllColumns as Re, mapPTableDef as Ue, selectorsToPredicate as W, withEnrichments as ce, AnchoredIdDeriver as fe, isPlRef as $e, mapValueInVOE as Ke, mapPObjectData as pe, ensurePColumn as je, isPColumnSpec as Q, isPColumn as Ce, resolveAnchors as he, deriveNativeId as Be, isPartitionedDataInfoEntries as Je, getAxisId as ge, entriesToDataInfo as qe, isDataInfoEntries as _e, dataInfoToEntries as Me, canonicalizeAxisId as We, mapDataInfo as He } from "../../../lib/model/common/dist/index.js";
2
+ import { PTableAbsent as Kt, PValueBytesNA as jt, PValueIntNA as Bt, PValueLongNA as Jt, PValueStringNA as qt, PlId as Mt, PlIdBytes as Wt, PlIdLength as Ht, canonicalizeJson as zt, deserializeError as Xt, ensureError as Gt, getAxesId as Qt, getPTableColumnId as Yt, hasAbortError as Zt, isValueAbsent as en, isValueNA as tn, mapJoinEntry as nn, matchAxis as rn, matchAxisId as sn, matchPColumn as an, pTableValue as on, parseJson as ln, stringifyColumnId as un, unwrapResult as pn } from "../../../lib/model/common/dist/index.js";
3
3
  import Se from "../../../_virtual/canonicalize.js";
4
4
  import U from "../../../node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js";
5
- import { BasePlErrorLike as dn, ErrorLike as cn, PlErrorLike as fn, StandardErrorLike as hn, ensureErrorLike as gn } from "../../../lib/model/pl-error-like/dist/index.js";
5
+ import { BasePlErrorLike as cn, ErrorLike as fn, PlErrorLike as hn, StandardErrorLike as gn, ensureErrorLike as mn } from "../../../lib/model/pl-error-like/dist/index.js";
6
6
  var ze = Object.defineProperty, Xe = (n, e, t) => e in n ? ze(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, w = (n, e, t) => Xe(n, typeof e != "symbol" ? e + "" : e, t);
7
7
  function ee(n) {
8
8
  return { type: "Immediate", value: n };
@@ -16,7 +16,7 @@ function we(n) {
16
16
  if (typeof globalThis.platforma < "u") return globalThis.platforma;
17
17
  throw new Error("Can't get platforma instance.");
18
18
  }
19
- function Ye() {
19
+ function Qe() {
20
20
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
21
21
  }
22
22
  function p() {
@@ -24,13 +24,13 @@ function p() {
24
24
  throw new Error("Not in config rendering context");
25
25
  }
26
26
  function J(n, e) {
27
- const t = Ye();
27
+ const t = Qe();
28
28
  if (t === void 0) return !1;
29
29
  if (n in t.callbackRegistry) throw new Error(`Callback with key ${n} already registered.`);
30
30
  return t.callbackRegistry[n] = e, !0;
31
31
  }
32
32
  const te = /* @__PURE__ */ new Map();
33
- function Qe(n, e) {
33
+ function Ye(n, e) {
34
34
  n in p().callbackRegistry || (p().callbackRegistry[n] = (t) => {
35
35
  for (const r of te.get(n))
36
36
  r(t);
@@ -38,7 +38,7 @@ function Qe(n, e) {
38
38
  }
39
39
  class P {
40
40
  constructor(e, t = (r) => r) {
41
- w(this, "isResolved", !1), w(this, "resolvedValue"), this.handle = e, this.postProcess = t, Qe(e, (r) => {
41
+ w(this, "isResolved", !1), w(this, "resolvedValue"), this.handle = e, this.postProcess = t, Ye(e, (r) => {
42
42
  this.resolvedValue = t(r), this.isResolved = !0;
43
43
  });
44
44
  }
@@ -722,7 +722,7 @@ class be {
722
722
  if (F.length === 0) continue;
723
723
  const c = yt(u), _ = c.length > 0;
724
724
  for (const f of F) {
725
- if (!Y(f.spec)) continue;
725
+ if (!Q(f.spec)) continue;
726
726
  const g = f.spec;
727
727
  if (_) {
728
728
  if (ct(f.data))
@@ -1055,7 +1055,7 @@ class bt {
1055
1055
  getPColumnSpecByRef(e) {
1056
1056
  const t = this.getSpecByRef(e);
1057
1057
  if (t) {
1058
- if (!Y(t)) throw new Error(`not a PColumn spec (kind = ${t.kind})`);
1058
+ if (!Q(t)) throw new Error(`not a PColumn spec (kind = ${t.kind})`);
1059
1059
  return t;
1060
1060
  }
1061
1061
  }
@@ -1074,7 +1074,7 @@ class bt {
1074
1074
  findDataWithCompatibleSpec(e) {
1075
1075
  const t = [];
1076
1076
  e: for (const r of this.getData().entries) {
1077
- if (!Y(r.obj.spec))
1077
+ if (!Q(r.obj.spec))
1078
1078
  continue;
1079
1079
  const i = r.obj.spec;
1080
1080
  if (e.name === i.name && e.valueType === i.valueType && e.axesSpec.length === i.axesSpec.length && ne(e.domain, i.domain)) {
@@ -1117,7 +1117,7 @@ class bt {
1117
1117
  */
1118
1118
  selectColumns(e) {
1119
1119
  const t = typeof e == "function" ? e : W(e);
1120
- return this.getSpecs().entries.filter(({ obj: r }) => Y(r) ? t(r) : !1).map(({ ref: r, obj: i }) => {
1120
+ return this.getSpecs().entries.filter(({ obj: r }) => Q(r) ? t(r) : !1).map(({ ref: r, obj: i }) => {
1121
1121
  const s = i;
1122
1122
  let a = null;
1123
1123
  const o = this;
@@ -1256,15 +1256,15 @@ class X {
1256
1256
  this.ctx.logError(e);
1257
1257
  }
1258
1258
  }
1259
- const Q = "1.41.2";
1260
- function vt(n) {
1259
+ const vt = "1.41.3", Y = vt;
1260
+ function Tt(n) {
1261
1261
  return n.__renderLambda === !0;
1262
1262
  }
1263
1263
  function re(n) {
1264
1264
  if (n !== void 0)
1265
- return vt(n) ? n.handle : n;
1265
+ return Tt(n) ? n.handle : n;
1266
1266
  }
1267
- const Tt = class v {
1267
+ const Pt = class v {
1268
1268
  constructor(e, t, r, i, s, a, o, l, y) {
1269
1269
  this._renderingMode = e, this._initialArgs = t, this._initialUiState = r, this._outputs = i, this._inputsValid = s, this._sections = a, this._title = o, this._enrichmentTargets = l, this._featureFlags = y;
1270
1270
  }
@@ -1475,7 +1475,7 @@ const Tt = class v {
1475
1475
  if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
1476
1476
  const t = {
1477
1477
  v3: {
1478
- sdkVersion: Q,
1478
+ sdkVersion: Y,
1479
1479
  renderingMode: this._renderingMode,
1480
1480
  initialArgs: this._initialArgs,
1481
1481
  initialUiState: this._initialUiState,
@@ -1487,7 +1487,7 @@ const Tt = class v {
1487
1487
  featureFlags: this._featureFlags
1488
1488
  },
1489
1489
  // fields below are added to allow previous desktop versions read generated configs
1490
- sdkVersion: Q,
1490
+ sdkVersion: Y,
1491
1491
  renderingMode: this._renderingMode,
1492
1492
  initialArgs: this._initialArgs,
1493
1493
  inputsValid: re(this._inputsValid),
@@ -1496,10 +1496,10 @@ const Tt = class v {
1496
1496
  Object.entries(this._outputs).map(([r, i]) => [r, re(i)])
1497
1497
  )
1498
1498
  };
1499
- return globalThis.platformaApiVersion = e, Ge() ? we({ sdkVersion: Q, apiVersion: platformaApiVersion }) : { config: t };
1499
+ return globalThis.platformaApiVersion = e, Ge() ? we({ sdkVersion: Y, apiVersion: platformaApiVersion }) : { config: t };
1500
1500
  }
1501
1501
  };
1502
- w(Tt, "INITIAL_BLOCK_FEATURE_FLAGS", {
1502
+ w(Pt, "INITIAL_BLOCK_FEATURE_FLAGS", {
1503
1503
  supportsLazyState: !0,
1504
1504
  requiresUIAPIVersion: 1,
1505
1505
  requiresModelAPIVersion: 1
@@ -1520,7 +1520,7 @@ function Pe() {
1520
1520
  pTableParams: Fe()
1521
1521
  };
1522
1522
  }
1523
- function wt(n) {
1523
+ function At(n) {
1524
1524
  return "version" in n || (n = Pe()), n.version === 2 && (n = {
1525
1525
  version: 3,
1526
1526
  stateCache: n.stateCache.map((e) => ({
@@ -1530,23 +1530,23 @@ function wt(n) {
1530
1530
  pTableParams: Fe()
1531
1531
  }), n.version === 3 && (n = Pe()), n;
1532
1532
  }
1533
- function At(n) {
1533
+ function It(n) {
1534
1534
  return n.axesSpec.length === 1 && n.name === "pl7.app/label";
1535
1535
  }
1536
- function It(n) {
1536
+ function Ft(n) {
1537
1537
  var e;
1538
1538
  return ((e = n.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "hidden";
1539
1539
  }
1540
- function Ft(n) {
1540
+ function xt(n) {
1541
1541
  var e;
1542
1542
  return ((e = n.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
1543
1543
  }
1544
- function xt(n) {
1544
+ function Et(n) {
1545
1545
  var e;
1546
- return ((e = n.annotations) == null ? void 0 : e[Pt]) === "true";
1546
+ return ((e = n.annotations) == null ? void 0 : e[Ct]) === "true";
1547
1547
  }
1548
- const Pt = "pl7.app/isLinkerColumn";
1549
- function Et({
1548
+ const Ct = "pl7.app/isLinkerColumn";
1549
+ function Lt({
1550
1550
  selection: n,
1551
1551
  columnId: e = Ne(),
1552
1552
  label: t = "Selection marker",
@@ -1572,7 +1572,7 @@ function Et({
1572
1572
  data: i
1573
1573
  };
1574
1574
  }
1575
- function Lt(n) {
1575
+ function Vt(n) {
1576
1576
  return n === De ? (console.error("Axis value can never be N/A"), "") : n;
1577
1577
  }
1578
1578
  function x(n) {
@@ -1945,44 +1945,44 @@ const xe = {
1945
1945
  supportedFor: () => !1
1946
1946
  }
1947
1947
  };
1948
- function Vt(n) {
1948
+ function Ot(n) {
1949
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
- function Ot(n) {
1954
+ function kt(n) {
1955
1955
  return xe[n];
1956
1956
  }
1957
- function kt() {
1957
+ function Nt() {
1958
1958
  return platformaApiVersion ?? 1;
1959
1959
  }
1960
- function Nt() {
1961
- return we({ sdkVersion: Q, apiVersion: platformaApiVersion });
1960
+ function Dt() {
1961
+ return we({ sdkVersion: Y, apiVersion: platformaApiVersion });
1962
1962
  }
1963
- function Dt(n) {
1963
+ function Rt(n) {
1964
1964
  if (typeof globalThis.getEnvironmentValue == "function")
1965
1965
  return globalThis.getEnvironmentValue(n);
1966
1966
  }
1967
1967
  export {
1968
1968
  fe as AnchoredIdDeriver,
1969
- dn as BasePlErrorLike,
1970
- cn as ErrorLike,
1969
+ cn as BasePlErrorLike,
1970
+ fn as ErrorLike,
1971
1971
  P as FutureRef,
1972
- Pt as LINKER_COLUMN_ANNOTATION,
1972
+ Ct as LINKER_COLUMN_ANNOTATION,
1973
1973
  tt as PAnnotationLabel,
1974
1974
  nt as PAnnotationTrace,
1975
1975
  be as PColumnCollection,
1976
- $t as PTableAbsent,
1976
+ Kt as PTableAbsent,
1977
1977
  De as PTableNA,
1978
- Kt as PValueBytesNA,
1979
- jt as PValueIntNA,
1980
- Bt as PValueLongNA,
1981
- Jt as PValueStringNA,
1982
- fn as PlErrorLike,
1983
- qt as PlId,
1984
- Mt as PlIdBytes,
1985
- Wt as PlIdLength,
1978
+ jt as PValueBytesNA,
1979
+ Bt as PValueIntNA,
1980
+ Jt as PValueLongNA,
1981
+ qt as PValueStringNA,
1982
+ hn as PlErrorLike,
1983
+ Mt as PlId,
1984
+ Wt as PlIdBytes,
1985
+ Ht as PlIdLength,
1986
1986
  $ as RT_BINARY_PARTITIONED,
1987
1987
  M as RT_BINARY_SUPER_PARTITIONED,
1988
1988
  q as RT_JSON_PARTITIONED,
@@ -1991,73 +1991,73 @@ export {
1991
1991
  ae as RT_RESOURCE_MAP_PARTITIONED,
1992
1992
  X as RenderCtx,
1993
1993
  bt as ResultPool,
1994
- hn as StandardErrorLike,
1994
+ gn as StandardErrorLike,
1995
1995
  it as Trace,
1996
1996
  rt as TraceEntry,
1997
1997
  A as TreeNodeAccessor,
1998
1998
  We as canonicalizeAxisId,
1999
- Ht as canonicalizeJson,
1999
+ zt as canonicalizeJson,
2000
2000
  pt as convertOrParsePColumnData,
2001
2001
  Pe as createPlDataTableStateV2,
2002
- Et as createRowSelectionColumn,
2002
+ Lt as createRowSelectionColumn,
2003
2003
  Me as dataInfoToEntries,
2004
2004
  Ae as deriveLabels,
2005
2005
  Be as deriveNativeId,
2006
- zt as deserializeError,
2006
+ Xt as deserializeError,
2007
2007
  re as downgradeCfgOrLambda,
2008
- Xt as ensureError,
2009
- gn as ensureErrorLike,
2008
+ Gt as ensureError,
2009
+ mn as ensureErrorLike,
2010
2010
  je as ensurePColumn,
2011
2011
  qe as entriesToDataInfo,
2012
2012
  Re as extractAllColumns,
2013
2013
  dt as filterDataInfoEntries,
2014
2014
  xe as filterUiMetadata,
2015
- Gt as getAxesId,
2015
+ Qt as getAxesId,
2016
2016
  ge as getAxisId,
2017
- Dt as getEnvironmentValue,
2018
- Ot as getFilterUiMetadata,
2019
- Vt as getFilterUiTypeOptions,
2017
+ Rt as getEnvironmentValue,
2018
+ kt as getFilterUiMetadata,
2019
+ Ot as getFilterUiTypeOptions,
2020
2020
  ee as getImmediate,
2021
2021
  Yt as getPTableColumnId,
2022
2022
  ot as getPartitionKeysList,
2023
- kt as getPlatformaApiVersion,
2024
- Nt as getRawPlatformaInstance,
2023
+ Nt as getPlatformaApiVersion,
2024
+ Dt as getRawPlatformaInstance,
2025
2025
  ut as getUniquePartitionKeys,
2026
- Qt as hasAbortError,
2026
+ Zt as hasAbortError,
2027
2027
  ie as ifDef,
2028
- It as isColumnHidden,
2029
- Ft as isColumnOptional,
2030
- vt as isConfigLambda,
2028
+ Ft as isColumnHidden,
2029
+ xt as isColumnOptional,
2030
+ Tt as isConfigLambda,
2031
2031
  ue as isDataInfo,
2032
2032
  _e as isDataInfoEntries,
2033
- At as isLabelColumn,
2034
- xt as isLinkerColumn,
2033
+ It as isLabelColumn,
2034
+ Et as isLinkerColumn,
2035
2035
  Ce as isPColumn,
2036
- Y as isPColumnSpec,
2036
+ Q as isPColumnSpec,
2037
2037
  ke as isPTableAbsent,
2038
2038
  Je as isPartitionedDataInfoEntries,
2039
2039
  $e as isPlRef,
2040
- Zt as isValueAbsent,
2041
- en as isValueNA,
2040
+ en as isValueAbsent,
2041
+ tn as isValueNA,
2042
2042
  Fe as makeDefaultPTableParams,
2043
2043
  He as mapDataInfo,
2044
- tn as mapJoinEntry,
2044
+ nn as mapJoinEntry,
2045
2045
  pe as mapPObjectData,
2046
2046
  Ue as mapPTableDef,
2047
- Lt as mapPTableValueToAxisKey,
2047
+ Vt as mapPTableValueToAxisKey,
2048
2048
  Ke as mapValueInVOE,
2049
- nn as matchAxis,
2050
- rn as matchAxisId,
2051
- sn as matchPColumn,
2052
- an as pTableValue,
2053
- on as parseJson,
2049
+ rn as matchAxis,
2050
+ sn as matchAxisId,
2051
+ an as matchPColumn,
2052
+ on as pTableValue,
2053
+ ln as parseJson,
2054
2054
  le as parsePColumnData,
2055
2055
  he as resolveAnchors,
2056
2056
  W as selectorsToPredicate,
2057
- ln as stringifyColumnId,
2057
+ un as stringifyColumnId,
2058
2058
  Ne as uniquePlId,
2059
- un as unwrapResult,
2060
- wt as upgradePlDataTableStateV2,
2059
+ pn as unwrapResult,
2060
+ At as upgradePlDataTableStateV2,
2061
2061
  ce as withEnrichments
2062
2062
  };
2063
2063
  //# sourceMappingURL=index.js.map