@milaboratories/milaboratories.ui-examples.model 1.1.32 → 1.1.34

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 "/opt/actions-runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @milaboratories/milaboratories.ui-examples.model@1.1.32 build /opt/actions-runner/_work/platforma/platforma/etc/blocks/ui-examples/model
3
+ > @milaboratories/milaboratories.ui-examples.model@1.1.34 build /opt/actions-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
@@ -13,12 +13,12 @@
13
13
  ESM Build start
14
14
  ESM dist/index.js 4.74 KB
15
15
  ESM dist/index.js.map 11.23 KB
16
- ESM ⚡️ Build success in 76ms
16
+ ESM ⚡️ Build success in 100ms
17
17
  CJS dist/index.cjs 4.88 KB
18
18
  CJS dist/index.cjs.map 11.28 KB
19
- CJS ⚡️ Build success in 76ms
19
+ CJS ⚡️ Build success in 101ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 748ms
21
+ DTS ⚡️ Build success in 849ms
22
22
  DTS dist/index.d.cts 2.40 KB
23
23
  DTS dist/index.d.ts 2.40 KB
24
24
  vite v5.4.11 building for production...
@@ -26,6 +26,6 @@ transforming...
26
26
  ✓ 6 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 172.88 kB │ gzip: 33.08 kB │ map: 370.29 kB
30
- dist/bundle.js 184.89 kB │ gzip: 33.69 kB │ map: 371.68 kB
31
- ✓ built in 395ms
29
+ dist/bundle.js 172.87 kB │ gzip: 33.08 kB │ map: 370.30 kB
30
+ dist/bundle.js 184.89 kB │ gzip: 33.69 kB │ map: 371.69 kB
31
+ ✓ built in 479ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.1.34
4
+
5
+ ### Patch Changes
6
+
7
+ - @platforma-sdk/model@1.27.6
8
+
9
+ ## 1.1.33
10
+
11
+ ### Patch Changes
12
+
13
+ - 518ec02: Aminoacid validation pattern relaxed
14
+
3
15
  ## 1.1.32
4
16
 
5
17
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -3954,7 +3954,7 @@
3954
3954
  function w(n) {
3955
3955
  throw new Error("Unexpected object: " + n);
3956
3956
  }
3957
- function yn(n) {
3957
+ function dn(n) {
3958
3958
  if (!n || typeof n != "object")
3959
3959
  return false;
3960
3960
  const t = n;
@@ -3971,7 +3971,7 @@
3971
3971
  return false;
3972
3972
  }
3973
3973
  }
3974
- function mn(n, t) {
3974
+ function pn(n, t) {
3975
3975
  if (n !== void 0)
3976
3976
  switch (n.type) {
3977
3977
  case "Json":
@@ -3999,7 +3999,7 @@
3999
3999
  }
4000
4000
  }
4001
4001
  }
4002
- function bn(n) {
4002
+ function ln(n) {
4003
4003
  switch (n.type) {
4004
4004
  case "Json": {
4005
4005
  const t = {};
@@ -4040,15 +4040,15 @@
4040
4040
  function Sn(n) {
4041
4041
  return g(m(n));
4042
4042
  }
4043
- function z$1(n, t) {
4043
+ function W(n, t) {
4044
4044
  if (n === void 0) return t === void 0;
4045
4045
  if (t === void 0) return true;
4046
4046
  for (const e in t)
4047
4047
  if (n[e] !== t[e]) return false;
4048
4048
  return true;
4049
4049
  }
4050
- function G(n, t) {
4051
- return n.name === t.name && z$1(n.domain, t.domain);
4050
+ function X(n, t) {
4051
+ return n.name === t.name && W(n.domain, t.domain);
4052
4052
  }
4053
4053
  function En(n, t) {
4054
4054
  return { ...n, src: l(n.src, t) };
@@ -4076,7 +4076,7 @@
4076
4076
  w(n);
4077
4077
  }
4078
4078
  }
4079
- function Q$1(n) {
4079
+ function z$1(n) {
4080
4080
  return g(n);
4081
4081
  }
4082
4082
  function P(n) {
@@ -4176,7 +4176,7 @@
4176
4176
  * @returns A canonicalized string representation of the anchored column identifier
4177
4177
  */
4178
4178
  deriveS(t, e) {
4179
- return Q$1(this.derive(t, e));
4179
+ return z$1(this.derive(t, e));
4180
4180
  }
4181
4181
  }
4182
4182
  function Jn(n, t) {
@@ -4203,10 +4203,10 @@
4203
4203
  }
4204
4204
  e.domain = r;
4205
4205
  }
4206
- return e.axes && (e.axes = e.axes.map((r) => Y$1(n, r))), e;
4206
+ return e.axes && (e.axes = e.axes.map((r) => G(n, r))), e;
4207
4207
  }
4208
- function Y$1(n, t) {
4209
- if (!Z$1(t))
4208
+ function G(n, t) {
4209
+ if (!Q$1(t))
4210
4210
  return t;
4211
4211
  const e = t.anchor, r = n[e];
4212
4212
  if (!r)
@@ -4223,7 +4223,7 @@
4223
4223
  throw new Error(`Axis with name "${t.name}" not found in anchor "${e}"`);
4224
4224
  return o[0];
4225
4225
  } else if ("id" in t) {
4226
- const o = r.axesSpec.filter((i) => G(t.id, m(i)));
4226
+ const o = r.axesSpec.filter((i) => X(t.id, m(i)));
4227
4227
  if (o.length > 1)
4228
4228
  throw new Error(`Multiple matching axes found for matcher in anchor "${e}"`);
4229
4229
  if (o.length === 0)
@@ -4232,17 +4232,17 @@
4232
4232
  }
4233
4233
  throw new Error("Unsupported axis reference type");
4234
4234
  }
4235
- function Z$1(n) {
4235
+ function Q$1(n) {
4236
4236
  return typeof n == "object" && "anchor" in n;
4237
4237
  }
4238
4238
  function f(n) {
4239
4239
  return n.kind === "PColumn";
4240
4240
  }
4241
- function q$1(n) {
4241
+ function Y$1(n) {
4242
4242
  return f(n.spec);
4243
4243
  }
4244
4244
  function Dn(n) {
4245
- if (!q$1(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
4245
+ if (!Y$1(n)) throw new Error(`not a PColumn (kind = ${n.spec.kind})`);
4246
4246
  return n;
4247
4247
  }
4248
4248
  function jn(n, t) {
@@ -4351,8 +4351,8 @@
4351
4351
  function Mn(n, t) {
4352
4352
  return n.ok ? { ok: true, value: t(n.value) } : n;
4353
4353
  }
4354
- const an = 24;
4355
- z$2.string().length(an).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
4354
+ const rn = 24;
4355
+ z$2.string().length(rn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
4356
4356
  var _e = Object.defineProperty;
4357
4357
  var Ie = (t, e, n) => e in t ? _e(t, e, { enumerable: true, configurable: true, writable: true, value: n }) : t[e] = n;
4358
4358
  var T = (t, e, n) => Ie(t, typeof e != "symbol" ? e + "" : e, n);
@@ -4515,7 +4515,7 @@
4515
4515
  getPColumns(e = false, n = "") {
4516
4516
  const r = this.parsePObjectCollection(e, n);
4517
4517
  return r === void 0 ? void 0 : Object.entries(r).map(([, s]) => {
4518
- if (!q$1(s)) throw new Error(`not a PColumn (kind = ${s.spec.kind})`);
4518
+ if (!Y$1(s)) throw new Error(`not a PColumn (kind = ${s.spec.kind})`);
4519
4519
  return s;
4520
4520
  });
4521
4521
  }
@@ -4934,7 +4934,7 @@
4934
4934
  return true;
4935
4935
  }
4936
4936
  function fe(t) {
4937
- return jn(t, (e) => e instanceof I ? e.handle : yn(e) ? mn(e, (n) => n.handle) : e);
4937
+ return jn(t, (e) => e instanceof I ? e.handle : dn(e) ? pn(e, (n) => n.handle) : e);
4938
4938
  }
4939
4939
  function Qe(t) {
4940
4940
  if (t)
@@ -4999,7 +4999,7 @@
4999
4999
  if (r != null && r.dontWaitAllData) continue;
5000
5000
  return;
5001
5001
  }
5002
- if (!q$1(g2)) throw new Error(`Assertion failed: expected PColumn, got ${g2.spec.kind}`);
5002
+ if (!Y$1(g2)) throw new Error(`Assertion failed: expected PColumn, got ${g2.spec.kind}`);
5003
5003
  const v = Ye(g2.data);
5004
5004
  if (!v) {
5005
5005
  if (r != null && r.dontWaitAllData) continue;
@@ -5096,7 +5096,7 @@
5096
5096
  y.splice(g2, 1);
5097
5097
  u = { ...u, axesSpec: y };
5098
5098
  }
5099
- const f2 = bn(m2);
5099
+ const f2 = ln(m2);
5100
5100
  u.annotations ? u = {
5101
5101
  ...u,
5102
5102
  annotations: {
@@ -5278,7 +5278,7 @@
5278
5278
  findLabels(e) {
5279
5279
  const n = this.getData();
5280
5280
  for (const r of n.entries) {
5281
- if (!q$1(r.obj)) continue;
5281
+ if (!Y$1(r.obj)) continue;
5282
5282
  const i = r.obj.spec;
5283
5283
  if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && re(e.domain, i.axesSpec[0].domain)) {
5284
5284
  if (r.obj.data.resourceType.name !== "PColumnData/Json")
@@ -5336,7 +5336,7 @@
5336
5336
  }
5337
5337
  verifyInlineAndExplicitColumnsSupport(e) {
5338
5338
  var i;
5339
- const n = e.some((s) => !(s.data instanceof I) || yn(s.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5339
+ const n = e.some((s) => !(s.data instanceof I) || dn(s.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5340
5340
  if (n && !r) throw Error("Inline or explicit columns not supported");
5341
5341
  }
5342
5342
  createPFrame(e) {
@@ -5366,7 +5366,7 @@
5366
5366
  return this.ctx.getCurrentUnstableMarker();
5367
5367
  }
5368
5368
  }
5369
- const U = "1.26.0";
5369
+ const U = "1.27.6";
5370
5370
  function tt(t) {
5371
5371
  return t.__renderLambda === true;
5372
5372
  }
@@ -5550,7 +5550,7 @@
5550
5550
  function Gt(t, e, n, r) {
5551
5551
  var l2, m$1;
5552
5552
  Array.isArray(r) && (r = { filters: r });
5553
- const i = t.resultPool.getData().entries.map((u) => u.obj).filter(q$1).filter((u) => u.spec.name === "pl7.app/label" && u.spec.axesSpec.length === 1), s = (u, f2) => {
5553
+ const i = t.resultPool.getData().entries.map((u) => u.obj).filter(Y$1).filter((u) => u.spec.name === "pl7.app/label" && u.spec.axesSpec.length === 1), s = (u, f2) => {
5554
5554
  let p2 = u.toString();
5555
5555
  if (f2)
5556
5556
  for (const d in f2)
@@ -5562,7 +5562,7 @@
5562
5562
  const p2 = m(f2);
5563
5563
  for (const d of i) {
5564
5564
  const y = d.spec.axesSpec[0], g2 = m(d.spec.axesSpec[0]);
5565
- if (G(p2, g2)) {
5565
+ if (X(p2, g2)) {
5566
5566
  const v = Object.keys(p2.domain ?? {}).length, w2 = Object.keys(g2.domain ?? {}).length;
5567
5567
  if (v > w2) {
5568
5568
  const x2 = s(d.id, p2.domain);