@milaboratories/milaboratories.ui-examples.model 1.1.70 → 1.1.72

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.
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @milaboratories/milaboratories.ui-examples.model@1.1.70 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.1.72 build /home/runner/_work/platforma/platforma/etc/blocks/ui-examples/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -11,14 +11,14 @@
11
11
  CLI Cleaning output folder
12
12
  CJS Build start
13
13
  ESM Build start
14
- CJS dist/index.cjs 6.62 KB
15
- CJS dist/index.cjs.map 14.96 KB
16
- CJS ⚡️ Build success in 388ms
17
14
  ESM dist/index.js 6.51 KB
18
15
  ESM dist/index.js.map 14.87 KB
19
- ESM ⚡️ Build success in 388ms
16
+ ESM ⚡️ Build success in 404ms
17
+ CJS dist/index.cjs 6.62 KB
18
+ CJS dist/index.cjs.map 14.96 KB
19
+ CJS ⚡️ Build success in 405ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 5054ms
21
+ DTS ⚡️ Build success in 4314ms
22
22
  DTS dist/index.d.cts 4.33 KB
23
23
  DTS dist/index.d.ts 4.33 KB
24
24
  vite v6.3.5 building for production...
@@ -26,6 +26,6 @@ transforming...
26
26
  ✓ 11 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 190.74 kB │ gzip: 37.01 kB │ map: 409.79 kB
30
- dist/bundle.js 203.83 kB │ gzip: 37.68 kB │ map: 411.35 kB
31
- ✓ built in 2.68s
29
+ dist/bundle.js 190.74 kB │ gzip: 37.01 kB │ map: 409.68 kB
30
+ dist/bundle.js 203.82 kB │ gzip: 37.68 kB │ map: 411.24 kB
31
+ ✓ built in 2.31s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.1.72
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [23f719d]
8
+ - @platforma-sdk/model@1.34.8
9
+
10
+ ## 1.1.71
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [35ce863]
15
+ - @platforma-sdk/model@1.34.0
16
+
3
17
  ## 1.1.70
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -4108,7 +4108,7 @@
4108
4108
  function J(n2) {
4109
4109
  return n2.map(p$1);
4110
4110
  }
4111
- function Rn(n2) {
4111
+ function Rn$1(n2) {
4112
4112
  return ke(p$1(n2));
4113
4113
  }
4114
4114
  function Y$1(n2, e) {
@@ -4528,7 +4528,7 @@
4528
4528
  function re(t) {
4529
4529
  return { type: "Immediate", value: t };
4530
4530
  }
4531
- function dt() {
4531
+ function pt() {
4532
4532
  return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
4533
4533
  }
4534
4534
  function De(t) {
@@ -4537,7 +4537,7 @@
4537
4537
  if (typeof globalThis.platforma < "u") return globalThis.platforma;
4538
4538
  throw new Error("Can't get platforma instance.");
4539
4539
  }
4540
- function pt() {
4540
+ function ft() {
4541
4541
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
4542
4542
  }
4543
4543
  function m() {
@@ -4545,13 +4545,13 @@
4545
4545
  throw new Error("Not in config rendering context");
4546
4546
  }
4547
4547
  function H(t, e) {
4548
- const n2 = pt();
4548
+ const n2 = ft();
4549
4549
  if (n2 === void 0) return false;
4550
4550
  if (t in n2.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
4551
4551
  return n2.callbackRegistry[t] = e, true;
4552
4552
  }
4553
4553
  const ce = /* @__PURE__ */ new Map();
4554
- function ft(t, e) {
4554
+ function ht(t, e) {
4555
4555
  t in m().callbackRegistry || (m().callbackRegistry[t] = (n2) => {
4556
4556
  for (const r of ce.get(t))
4557
4557
  r(n2);
@@ -4561,7 +4561,7 @@
4561
4561
  constructor(e, n2 = (r) => r) {
4562
4562
  O(this, "isResolved", false);
4563
4563
  O(this, "resolvedValue");
4564
- this.handle = e, this.postProcess = n2, ft(e, (r) => {
4564
+ this.handle = e, this.postProcess = n2, ht(e, (r) => {
4565
4565
  this.resolvedValue = n2(r), this.isResolved = true;
4566
4566
  });
4567
4567
  }
@@ -4802,39 +4802,39 @@
4802
4802
  }
4803
4803
  }
4804
4804
  const Re = "staging", Fe = "main";
4805
- const mt = "pl7.app/label", yt = "pl7.app/trace", vt = z$1.object({
4805
+ const yt = "pl7.app/label", vt = "pl7.app/trace", bt = z$1.object({
4806
4806
  type: z$1.string(),
4807
4807
  importance: z$1.number().optional(),
4808
4808
  id: z$1.string().optional(),
4809
4809
  label: z$1.string()
4810
- }), bt = z$1.array(vt), wt = 1e-3, At = "__LABEL__", Pe = "__LABEL__@1";
4811
- function Ve(t, e, n2 = {}) {
4810
+ }), wt = z$1.array(bt), At = 1e-3, xt = "__LABEL__", Pe = "__LABEL__@1";
4811
+ function je(t, e, n2 = {}) {
4812
4812
  const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, s2 = /* @__PURE__ */ new Map(), o = t.map((f2) => {
4813
- var P2, F;
4813
+ var P2, R;
4814
4814
  const w2 = e(f2);
4815
4815
  let p2, g, b;
4816
4816
  "spec" in w2 && typeof w2.spec == "object" ? (p2 = w2.spec, g = w2.prefixTrace, b = w2.suffixTrace) : p2 = w2;
4817
- const h2 = (P2 = p2.annotations) == null ? void 0 : P2[mt], I = (F = p2.annotations) == null ? void 0 : F[yt], x = (I ? bt.safeParse(JSON.parse(I)).data : void 0) ?? [], v = [
4817
+ const h2 = (P2 = p2.annotations) == null ? void 0 : P2[yt], I = (R = p2.annotations) == null ? void 0 : R[vt], x = (I ? wt.safeParse(JSON.parse(I)).data : void 0) ?? [], v = [
4818
4818
  ...g ?? [],
4819
4819
  ...x,
4820
4820
  ...b ?? []
4821
4821
  ];
4822
4822
  if (h2 !== void 0) {
4823
- const k2 = { label: h2, type: At, importance: -2 };
4823
+ const k2 = { label: h2, type: xt, importance: -2 };
4824
4824
  n2.addLabelAsSuffix ? v.push(k2) : v.splice(0, 0, k2);
4825
4825
  }
4826
4826
  const A = [], L = /* @__PURE__ */ new Map();
4827
4827
  for (let k2 = v.length - 1; k2 >= 0; --k2) {
4828
- const { type: W } = v[k2], V = v[k2].importance ?? 0, $ = (L.get(W) ?? 0) + 1;
4828
+ const { type: W } = v[k2], j2 = v[k2].importance ?? 0, $ = (L.get(W) ?? 0) + 1;
4829
4829
  L.set(W, $);
4830
- const K2 = `${W}@${$}`;
4831
- s2.set(K2, (s2.get(K2) ?? 0) + 1), r.set(
4832
- K2,
4830
+ const F = `${W}@${$}`;
4831
+ s2.set(F, (s2.get(F) ?? 0) + 1), r.set(
4832
+ F,
4833
4833
  Math.max(
4834
- r.get(K2) ?? Number.NEGATIVE_INFINITY,
4835
- V - (v.length - k2) * wt
4834
+ r.get(F) ?? Number.NEGATIVE_INFINITY,
4835
+ j2 - (v.length - k2) * At
4836
4836
  )
4837
- ), A.push({ ...v[k2], fullType: K2, occurrenceIndex: $ });
4837
+ ), A.push({ ...v[k2], fullType: F, occurrenceIndex: $ });
4838
4838
  }
4839
4839
  return A.reverse(), {
4840
4840
  value: f2,
@@ -4881,7 +4881,7 @@
4881
4881
  }
4882
4882
  return c2(/* @__PURE__ */ new Set([...a, ...l2]), true);
4883
4883
  }
4884
- const Z = "PColumnData/", se = Z + "ResourceMap", oe = Z + "Partitioned/ResourceMap", q = Z + "JsonPartitioned", B = Z + "BinaryPartitioned", je = Z + "Partitioned/", ae = je + "JsonPartitioned", z = je + "BinaryPartitioned";
4884
+ const Z = "PColumnData/", se = Z + "ResourceMap", oe = Z + "Partitioned/ResourceMap", q = Z + "JsonPartitioned", B = Z + "BinaryPartitioned", Ve = Z + "Partitioned/", ae = Ve + "JsonPartitioned", z = Ve + "BinaryPartitioned";
4885
4885
  const me = (t) => {
4886
4886
  if (t.endsWith(".index"))
4887
4887
  return { baseKey: t.substring(0, t.length - 6), type: "index" };
@@ -4889,7 +4889,7 @@
4889
4889
  return { baseKey: t.substring(0, t.length - 7), type: "values" };
4890
4890
  throw new Error(`key must ends on .index/.values for binary p-column, got: ${t}`);
4891
4891
  };
4892
- function xt(t) {
4892
+ function Ct(t) {
4893
4893
  if (!t) return;
4894
4894
  const e = t.resourceType.name, n2 = t.getDataAsJson(), r = [];
4895
4895
  let i = 0;
@@ -4935,7 +4935,7 @@
4935
4935
  }
4936
4936
  return { data: r, keyLength: i };
4937
4937
  }
4938
- function Ct(t) {
4938
+ function Pt(t) {
4939
4939
  if (t.type !== "JsonPartitioned" && t.type !== "BinaryPartitioned")
4940
4940
  throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${t.type}`);
4941
4941
  const { parts: e, partitionKeyLength: n2 } = t, r = [];
@@ -4954,11 +4954,11 @@
4954
4954
  }
4955
4955
  return r.map((i) => Array.from(i.values()));
4956
4956
  }
4957
- function Pt(t) {
4957
+ function St(t) {
4958
4958
  if (t === void 0) return;
4959
4959
  if (K(t))
4960
- return Ct(t);
4961
- const e = xt(t);
4960
+ return Pt(t);
4961
+ const e = Ct(t);
4962
4962
  if (!e) return;
4963
4963
  const { data: n2, keyLength: r } = e, i = [];
4964
4964
  for (let s2 = 0; s2 < r; ++s2)
@@ -5069,7 +5069,7 @@
5069
5069
  throw new Error(`Unknown resource type: ${n2}`);
5070
5070
  }
5071
5071
  }
5072
- function St(t) {
5072
+ function _t(t) {
5073
5073
  if (t !== void 0) {
5074
5074
  if (K(t)) return t;
5075
5075
  if (En(t)) return Cn(t);
@@ -5077,7 +5077,7 @@
5077
5077
  throw new Error(`Unexpected input type: ${typeof t}`);
5078
5078
  }
5079
5079
  }
5080
- function _t(t, e) {
5080
+ function It(t, e) {
5081
5081
  const n2 = [...e].sort((s2, o) => o[0] - s2[0]);
5082
5082
  if (t.type === "JsonPartitioned" || t.type === "BinaryPartitioned") {
5083
5083
  const { partitionKeyLength: s2 } = t;
@@ -5137,13 +5137,13 @@
5137
5137
  }
5138
5138
  }
5139
5139
  }
5140
- function It(t) {
5140
+ function Lt(t) {
5141
5141
  if (!Array.isArray(t)) return false;
5142
5142
  if (t.length === 0) return true;
5143
5143
  const e = t[0];
5144
5144
  return typeof e == "object" && e !== null && "key" in e && "val" in e;
5145
5145
  }
5146
- class Lt {
5146
+ class Tt {
5147
5147
  constructor(e) {
5148
5148
  this.columns = e;
5149
5149
  }
@@ -5152,20 +5152,20 @@
5152
5152
  return this.columns.filter((r) => n2(r.spec));
5153
5153
  }
5154
5154
  }
5155
- function Tt(t) {
5155
+ function Et(t) {
5156
5156
  if (t)
5157
5157
  return t.map((e) => ({
5158
- type: `split:${Rn(e.axisId)}`,
5158
+ type: `split:${Rn$1(e.axisId)}`,
5159
5159
  label: e.label,
5160
5160
  importance: 1e6
5161
5161
  // High importance for split filters in labels
5162
5162
  }));
5163
5163
  }
5164
- function Et(t) {
5164
+ function kt(t) {
5165
5165
  if (t)
5166
5166
  return t.map((e) => [e.axisIdx, e.value]);
5167
5167
  }
5168
- function kt(t, e) {
5168
+ function Ot(t, e) {
5169
5169
  if (!e || e.length === 0) return t;
5170
5170
  const n2 = [...e].sort((r, i) => r[0] - i[0]);
5171
5171
  return ke({ id: t, axisFilters: n2 });
@@ -5175,7 +5175,7 @@
5175
5175
  const e = t, n2 = e.domain && typeof e.domain == "object" && Object.values(e.domain).some((i) => typeof i == "object" && i !== null && "anchor" in i), r = e.axes && Array.isArray(e.axes) && e.axes.some((i) => typeof i == "object" && i !== null && "anchor" in i);
5176
5176
  return !!e.domainAnchor || n2 || r;
5177
5177
  }
5178
- function Ot(t) {
5178
+ function Dt(t) {
5179
5179
  if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
5180
5180
  return [];
5181
5181
  const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
@@ -5186,7 +5186,7 @@
5186
5186
  class le {
5187
5187
  constructor() {
5188
5188
  O(this, "defaultProviderStore", []);
5189
- O(this, "providers", [new Lt(this.defaultProviderStore)]);
5189
+ O(this, "providers", [new Tt(this.defaultProviderStore)]);
5190
5190
  O(this, "axisLabelProviders", []);
5191
5191
  }
5192
5192
  addColumnProvider(e) {
@@ -5242,55 +5242,55 @@
5242
5242
  if (u2(P2.spec)) continue;
5243
5243
  if (h2.has(P2.id))
5244
5244
  throw new Error(`Duplicate column id ${P2.id} in provider ${A.constructor.name}`);
5245
- const F = Qn(P2.spec);
5246
- y.has(F) || (h2.add(P2.id), y.add(F), I.push(P2));
5245
+ const R = Qn(P2.spec);
5246
+ y.has(R) || (h2.add(P2.id), y.add(R), I.push(P2));
5247
5247
  }
5248
5248
  }
5249
5249
  if (I.length === 0) continue;
5250
- const x = Ot(p2), v = x.length > 0;
5250
+ const x = Dt(p2), v = x.length > 0;
5251
5251
  for (const A of I) {
5252
5252
  if (!f(A.spec)) continue;
5253
5253
  const L = A.spec;
5254
5254
  if (v) {
5255
- if (It(A.data))
5255
+ if (Lt(A.data))
5256
5256
  throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${A.id}`);
5257
- const P2 = St(A.data);
5257
+ const P2 = _t(A.data);
5258
5258
  if (!P2) {
5259
5259
  if (s2) continue;
5260
5260
  return;
5261
5261
  }
5262
5262
  if (!Sn(P2))
5263
5263
  throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${P2.type} for column ${A.id}`);
5264
- const F = Pt(P2), k2 = x[x.length - 1];
5264
+ const R = St(P2), k2 = x[x.length - 1];
5265
5265
  if (k2 >= P2.partitionKeyLength)
5266
5266
  throw new Error(`Not enough partition keys (${P2.partitionKeyLength}) for requested split axes (max index ${k2}) in column ${L.name}`);
5267
- const W = x.map((S) => this.findLabels(p$1(L.axesSpec[S]))), V = [], $ = (S, G) => {
5267
+ const W = x.map((S) => this.findLabels(p$1(L.axesSpec[S]))), j2 = [], $ = (S, G) => {
5268
5268
  if (G >= x.length) {
5269
- if (V.push([...S]), V.length > 1e4)
5269
+ if (j2.push([...S]), j2.length > 1e4)
5270
5270
  throw new Error("Too many key combinations, aborting.");
5271
5271
  return;
5272
5272
  }
5273
- const j2 = x[G];
5274
- if (j2 >= F.length)
5275
- throw new Error(`Axis index ${j2} out of bounds for unique keys array (length ${F.length}) during split key generation for column ${A.id}`);
5276
- const N2 = F[j2];
5273
+ const V = x[G];
5274
+ if (V >= R.length)
5275
+ throw new Error(`Axis index ${V} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${A.id}`);
5276
+ const N2 = R[V];
5277
5277
  if (!N2 || N2.length === 0) {
5278
- V.length = 0;
5278
+ j2.length = 0;
5279
5279
  return;
5280
5280
  }
5281
5281
  for (const ee of N2)
5282
5282
  S.push(ee), $(S, G + 1), S.pop();
5283
5283
  };
5284
- if ($([], 0), V.length === 0)
5284
+ if ($([], 0), j2.length === 0)
5285
5285
  continue;
5286
- const K2 = [...L.axesSpec], Be = x.map((S) => S);
5286
+ const F = [...L.axesSpec], Be = x.map((S) => S);
5287
5287
  for (let S = x.length - 1; S >= 0; S--)
5288
- K2.splice(x[S], 1);
5289
- const We = { ...L, axesSpec: K2 };
5290
- for (const S of V) {
5291
- const G = S.map((j2, N2) => {
5292
- const ee = Be[N2], Ge = p$1(L.axesSpec[ee]), ue = W[N2], He = (ue == null ? void 0 : ue[j2]) ?? String(j2);
5293
- return { axisIdx: ee, axisId: Ge, value: j2, label: He };
5288
+ F.splice(x[S], 1);
5289
+ const We = { ...L, axesSpec: F };
5290
+ for (const S of j2) {
5291
+ const G = S.map((V, N2) => {
5292
+ const ee = Be[N2], Ge = p$1(L.axesSpec[ee]), ue = W[N2], He = (ue == null ? void 0 : ue[V]) ?? String(V);
5293
+ return { axisIdx: ee, axisId: Ge, value: V, label: He };
5294
5294
  });
5295
5295
  d.push({
5296
5296
  type: "split",
@@ -5311,18 +5311,18 @@
5311
5311
  }
5312
5312
  }
5313
5313
  if (d.length === 0) return [];
5314
- const f$1 = Ve(
5314
+ const f$1 = je(
5315
5315
  d,
5316
5316
  (p2) => ({
5317
5317
  spec: p2.spec,
5318
- suffixTrace: p2.type === "split" ? Tt(p2.axisFilters) : void 0
5318
+ suffixTrace: p2.type === "split" ? Et(p2.axisFilters) : void 0
5319
5319
  }),
5320
5320
  l2
5321
5321
  ), w2 = [];
5322
5322
  for (const { value: p2, label: g } of f$1) {
5323
- const { originalColumn: b, spec: h2 } = p2, I = p2.type === "split" ? p2.axisFilters : void 0, x = Et(I);
5323
+ const { originalColumn: b, spec: h2 } = p2, I = p2.type === "split" ? p2.axisFilters : void 0, x = kt(I);
5324
5324
  let v;
5325
- r ? v = r.deriveS(h2, x) : v = kt(b.id, x);
5325
+ r ? v = r.deriveS(h2, x) : v = Ot(b.id, x);
5326
5326
  let A = { ...p2.adjustedSpec };
5327
5327
  o && (A = {
5328
5328
  ...A,
@@ -5333,7 +5333,7 @@
5333
5333
  }), w2.push({
5334
5334
  id: v,
5335
5335
  spec: A,
5336
- data: () => p2.type === "split" ? Jn(_t(p2.dataEntries, x)) : p2.originalColumn.data,
5336
+ data: () => p2.type === "split" ? Jn(It(p2.dataEntries, x)) : p2.originalColumn.data,
5337
5337
  label: g
5338
5338
  });
5339
5339
  }
@@ -5372,7 +5372,7 @@
5372
5372
  function _e(t) {
5373
5373
  return Wn(t, (e) => e instanceof E ? e.handle : En(e) ? Nn(e, (n2) => n2.handle) : e);
5374
5374
  }
5375
- class Dt {
5375
+ class Rt {
5376
5376
  constructor() {
5377
5377
  O(this, "ctx", m());
5378
5378
  }
@@ -5385,7 +5385,7 @@
5385
5385
  getOptions(e, n2) {
5386
5386
  const r = typeof e == "function" ? e : Gn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5387
5387
  let s2 = {}, o = false;
5388
- return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? Ve(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
5388
+ return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? je(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
5389
5389
  ref: te$1(a, o),
5390
5390
  label: l2
5391
5391
  })) : i.map(({ ref: a, obj: l2 }) => ({
@@ -5647,7 +5647,7 @@
5647
5647
  O(this, "args");
5648
5648
  O(this, "uiState");
5649
5649
  O(this, "_activeArgsCache");
5650
- O(this, "resultPool", new Dt());
5650
+ O(this, "resultPool", new Rt());
5651
5651
  this.ctx = m(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
5652
5652
  }
5653
5653
  /**
@@ -5724,13 +5724,13 @@
5724
5724
  this.ctx.logError(e);
5725
5725
  }
5726
5726
  }
5727
- const Y = "1.33.17";
5728
- function Rt(t) {
5727
+ const Y = "1.34.8";
5728
+ function Ft(t) {
5729
5729
  return t.__renderLambda === true;
5730
5730
  }
5731
5731
  function pe(t) {
5732
5732
  if (t !== void 0)
5733
- return Rt(t) ? t.handle : t;
5733
+ return Ft(t) ? t.handle : t;
5734
5734
  }
5735
5735
  class T {
5736
5736
  constructor(e, n2, r, i, s2, o, a, l2) {
@@ -5930,7 +5930,7 @@
5930
5930
  Object.entries(this._outputs).map(([n2, r]) => [n2, pe(r)])
5931
5931
  )
5932
5932
  };
5933
- return dt() ? De({ sdkVersion: Y }) : { config: e };
5933
+ return pt() ? De({ sdkVersion: Y }) : { config: e };
5934
5934
  }
5935
5935
  }
5936
5936
  function ve(t) {
@@ -6021,7 +6021,7 @@
6021
6021
  sorting: i
6022
6022
  };
6023
6023
  }
6024
- function On(t, e, n2, r) {
6024
+ function Dn(t, e, n2, r) {
6025
6025
  var u2, c2;
6026
6026
  Array.isArray(r) && (r = { filters: r });
6027
6027
  const i = (r == null ? void 0 : r.coreJoinType) ?? "full", s2 = [...(r == null ? void 0 : r.filters) ?? [], ...((u2 = n2 == null ? void 0 : n2.pTableParams) == null ? void 0 : u2.filters) ?? []], o = ((c2 = n2 == null ? void 0 : n2.pTableParams) == null ? void 0 : c2.sorting) ?? [], a = Ne(t.resultPool);
@@ -6032,17 +6032,17 @@
6032
6032
  Ue(e, l2, i, s2, o, r == null ? void 0 : r.coreColumnPredicate)
6033
6033
  );
6034
6034
  }
6035
- function Ft(t) {
6035
+ function Kt(t) {
6036
6036
  var e;
6037
6037
  return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "hidden";
6038
6038
  }
6039
- function Kt(t) {
6039
+ function jt(t) {
6040
6040
  var e;
6041
6041
  return ((e = t.annotations) == null ? void 0 : e["pl7.app/table/visibility"]) === "optional";
6042
6042
  }
6043
- function Dn(t, e, n2, r, i) {
6043
+ function Rn(t, e, n2, r, i) {
6044
6044
  var g, b;
6045
- const s2 = (i == null ? void 0 : i.coreJoinType) ?? "full", o = [...(i == null ? void 0 : i.filters) ?? [], ...((g = r == null ? void 0 : r.pTableParams) == null ? void 0 : g.filters) ?? []], a = ((b = r == null ? void 0 : r.pTableParams) == null ? void 0 : b.sorting) ?? [], l2 = e.filter((h2) => !Ft(h2.spec)), u2 = l2.find((h2) => n2(h2.spec));
6045
+ const s2 = (i == null ? void 0 : i.coreJoinType) ?? "full", o = [...(i == null ? void 0 : i.filters) ?? [], ...((g = r == null ? void 0 : r.pTableParams) == null ? void 0 : g.filters) ?? []], a = ((b = r == null ? void 0 : r.pTableParams) == null ? void 0 : b.sorting) ?? [], l2 = e.filter((h2) => !Kt(h2.spec)), u2 = l2.find((h2) => n2(h2.spec));
6046
6046
  if (!u2) return;
6047
6047
  const c2 = Ne(t.resultPool);
6048
6048
  if (!c2) return;
@@ -6050,7 +6050,7 @@
6050
6050
  var I, x;
6051
6051
  if (s2 === "inner") return [];
6052
6052
  const h2 = (x = (I = r == null ? void 0 : r.gridState.columnVisibility) == null ? void 0 : I.hiddenColIds) == null ? void 0 : x.map(ce$1).filter((v) => v.type === "column").map((v) => v.id);
6053
- return h2 || l2.filter((v) => Kt(v.spec)).map((v) => v.id);
6053
+ return h2 || l2.filter((v) => jt(v.spec)).map((v) => v.id);
6054
6054
  })());
6055
6055
  d.delete(u2.id), [...o.map((h2) => h2.column), ...a.map((h2) => h2.column)].filter((h2) => h2.type === "column").map((h2) => d.delete(h2.id));
6056
6056
  const y = l2.filter((h2) => !d.has(h2.id)), f2 = Je(y.map(Fn), c2), w2 = [
@@ -6120,7 +6120,7 @@
6120
6120
  val: v.toString()
6121
6121
  };
6122
6122
  });
6123
- return On(
6123
+ return Dn(
6124
6124
  ctx,
6125
6125
  [
6126
6126
  {
@@ -6173,7 +6173,7 @@
6173
6173
  val: v.toString()
6174
6174
  };
6175
6175
  });
6176
- return Dn(
6176
+ return Rn(
6177
6177
  ctx,
6178
6178
  [
6179
6179
  {