@milaboratories/milaboratories.ui-examples.model 1.0.29 → 1.0.30

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,5 +1,5 @@
1
1
 
2
- > @milaboratories/milaboratories.ui-examples.model@1.0.29 build /home/runner/work/platforma/platforma/etc/block-components/ui-examples/model
2
+ > @milaboratories/milaboratories.ui-examples.model@1.0.30 build /home/runner/work/platforma/platforma/etc/block-components/ui-examples/model
3
3
  > tsup && vite build && block-tools build-model
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,14 +10,14 @@
10
10
  CLI Cleaning output folder
11
11
  CJS Build start
12
12
  ESM Build start
13
- CJS dist/index.cjs 2.63 KB
14
- CJS dist/index.cjs.map 6.66 KB
15
- CJS ⚡️ Build success in 92ms
16
13
  ESM dist/index.js 2.57 KB
17
14
  ESM dist/index.js.map 6.60 KB
18
- ESM ⚡️ Build success in 93ms
15
+ ESM ⚡️ Build success in 95ms
16
+ CJS dist/index.cjs 2.63 KB
17
+ CJS dist/index.cjs.map 6.66 KB
18
+ CJS ⚡️ Build success in 96ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 1052ms
20
+ DTS ⚡️ Build success in 1100ms
21
21
  DTS dist/index.d.cts 1.66 KB
22
22
  DTS dist/index.d.ts 1.66 KB
23
23
  vite v5.4.10 building for production...
@@ -25,6 +25,6 @@ transforming...
25
25
  ✓ 4 modules transformed.
26
26
  rendering chunks...
27
27
  computing gzip size...
28
- dist/bundle.js 131.71 kB │ gzip: 22.99 kB │ map: 279.21 kB
29
- dist/bundle.js 141.10 kB │ gzip: 23.42 kB │ map: 280.26 kB
30
- ✓ built in 443ms
28
+ dist/bundle.js 132.60 kB │ gzip: 23.27 kB │ map: 280.91 kB
29
+ dist/bundle.js 142.04 kB │ gzip: 23.70 kB │ map: 281.97 kB
30
+ ✓ built in 467ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @milaboratories/milaboratories.ui-examples.model
2
2
 
3
+ ## 1.0.30
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a5af4f2]
8
+ - @platforma-sdk/model@1.8.0
9
+
3
10
  ## 1.0.29
4
11
 
5
12
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -2659,17 +2659,17 @@
2659
2659
  });
2660
2660
  }
2661
2661
  }
2662
- function mergeValues(a2, b2) {
2663
- const aType = getParsedType(a2);
2662
+ function mergeValues(a, b2) {
2663
+ const aType = getParsedType(a);
2664
2664
  const bType = getParsedType(b2);
2665
- if (a2 === b2) {
2666
- return { valid: true, data: a2 };
2665
+ if (a === b2) {
2666
+ return { valid: true, data: a };
2667
2667
  } else if (aType === ZodParsedType.object && bType === ZodParsedType.object) {
2668
2668
  const bKeys = util.objectKeys(b2);
2669
- const sharedKeys = util.objectKeys(a2).filter((key) => bKeys.indexOf(key) !== -1);
2670
- const newObj = { ...a2, ...b2 };
2669
+ const sharedKeys = util.objectKeys(a).filter((key) => bKeys.indexOf(key) !== -1);
2670
+ const newObj = { ...a, ...b2 };
2671
2671
  for (const key of sharedKeys) {
2672
- const sharedValue = mergeValues(a2[key], b2[key]);
2672
+ const sharedValue = mergeValues(a[key], b2[key]);
2673
2673
  if (!sharedValue.valid) {
2674
2674
  return { valid: false };
2675
2675
  }
@@ -2677,12 +2677,12 @@
2677
2677
  }
2678
2678
  return { valid: true, data: newObj };
2679
2679
  } else if (aType === ZodParsedType.array && bType === ZodParsedType.array) {
2680
- if (a2.length !== b2.length) {
2680
+ if (a.length !== b2.length) {
2681
2681
  return { valid: false };
2682
2682
  }
2683
2683
  const newArray = [];
2684
- for (let index = 0; index < a2.length; index++) {
2685
- const itemA = a2[index];
2684
+ for (let index = 0; index < a.length; index++) {
2685
+ const itemA = a[index];
2686
2686
  const itemB = b2[index];
2687
2687
  const sharedValue = mergeValues(itemA, itemB);
2688
2688
  if (!sharedValue.valid) {
@@ -2691,8 +2691,8 @@
2691
2691
  newArray.push(sharedValue.data);
2692
2692
  }
2693
2693
  return { valid: true, data: newArray };
2694
- } else if (aType === ZodParsedType.date && bType === ZodParsedType.date && +a2 === +b2) {
2695
- return { valid: true, data: a2 };
2694
+ } else if (aType === ZodParsedType.date && bType === ZodParsedType.date && +a === +b2) {
2695
+ return { valid: true, data: a };
2696
2696
  } else {
2697
2697
  return { valid: false };
2698
2698
  }
@@ -3662,9 +3662,9 @@
3662
3662
  }
3663
3663
  }
3664
3664
  }
3665
- static create(a2, b2) {
3665
+ static create(a, b2) {
3666
3666
  return new ZodPipeline({
3667
- in: a2,
3667
+ in: a,
3668
3668
  out: b2,
3669
3669
  typeName: ZodFirstPartyTypeKind.ZodPipeline
3670
3670
  });
@@ -3697,10 +3697,10 @@
3697
3697
  return ZodAny.create().superRefine((data, ctx) => {
3698
3698
  var _a, _b;
3699
3699
  if (!check(data)) {
3700
- const p = typeof params === "function" ? params(data) : typeof params === "string" ? { message: params } : params;
3701
- const _fatal = (_b = (_a = p.fatal) !== null && _a !== void 0 ? _a : fatal) !== null && _b !== void 0 ? _b : true;
3702
- const p2 = typeof p === "string" ? { message: p } : p;
3703
- ctx.addIssue({ code: "custom", ...p2, fatal: _fatal });
3700
+ const p2 = typeof params === "function" ? params(data) : typeof params === "string" ? { message: params } : params;
3701
+ const _fatal = (_b = (_a = p2.fatal) !== null && _a !== void 0 ? _a : fatal) !== null && _b !== void 0 ? _b : true;
3702
+ const p22 = typeof p2 === "string" ? { message: p2 } : p2;
3703
+ ctx.addIssue({ code: "custom", ...p22, fatal: _fatal });
3704
3704
  }
3705
3705
  });
3706
3706
  return ZodAny.create();
@@ -3917,7 +3917,7 @@
3917
3917
  function c$1(n) {
3918
3918
  throw new Error("Unexpected object: " + n);
3919
3919
  }
3920
- function D(n, t) {
3920
+ function D$1(n, t) {
3921
3921
  return { ...n, src: i(n.src, t) };
3922
3922
  }
3923
3923
  function i(n, t) {
@@ -3958,7 +3958,7 @@
3958
3958
  function x$1(n) {
3959
3959
  return r(n.spec);
3960
3960
  }
3961
- function B$1(n, t) {
3961
+ function B(n, t) {
3962
3962
  return {
3963
3963
  ...n,
3964
3964
  data: t(n.data)
@@ -3967,22 +3967,22 @@
3967
3967
  function L(n, t) {
3968
3968
  return n.ok ? { ok: true, value: t(n.value) } : n;
3969
3969
  }
3970
- var B = Object.defineProperty;
3971
- var E = (e, t, n) => t in e ? B(e, t, { enumerable: true, configurable: true, writable: true, value: n }) : e[t] = n;
3972
- var l = (e, t, n) => E(e, typeof t != "symbol" ? t + "" : t, n);
3970
+ var E = Object.defineProperty;
3971
+ var j = (e, t, n) => t in e ? E(e, t, { enumerable: true, configurable: true, writable: true, value: n }) : e[t] = n;
3972
+ var c = (e, t, n) => j(e, typeof t != "symbol" ? t + "" : t, n);
3973
3973
  function f(e) {
3974
3974
  return { type: "Immediate", value: e };
3975
3975
  }
3976
- function G() {
3976
+ function $() {
3977
3977
  return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
3978
3978
  }
3979
- function R(e) {
3979
+ function x(e) {
3980
3980
  if (e && typeof globalThis.getPlatforma == "function")
3981
3981
  return globalThis.getPlatforma(e);
3982
3982
  if (typeof globalThis.platforma < "u") return globalThis.platforma;
3983
3983
  throw new Error("Can't get platforma instance.");
3984
3984
  }
3985
- function N() {
3985
+ function M() {
3986
3986
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
3987
3987
  }
3988
3988
  function s() {
@@ -3990,31 +3990,31 @@
3990
3990
  throw new Error("Not in config rendering context");
3991
3991
  }
3992
3992
  function y(e, t) {
3993
- const n = N();
3993
+ const n = M();
3994
3994
  if (n === void 0) return false;
3995
3995
  if (e in n.callbackRegistry) throw new Error(`Callback with key ${e} already registered.`);
3996
3996
  return n.callbackRegistry[e] = t, true;
3997
3997
  }
3998
3998
  const b = /* @__PURE__ */ new Map();
3999
- function $(e, t) {
3999
+ function K(e, t) {
4000
4000
  e in s().callbackRegistry || (s().callbackRegistry[e] = (n) => {
4001
4001
  for (const r2 of b.get(e))
4002
4002
  r2(n);
4003
4003
  }, b.set(e, [])), b.get(e).push(t);
4004
4004
  }
4005
- class a {
4005
+ class l {
4006
4006
  constructor(t, n = (r2) => r2) {
4007
- l(this, "isResolved", false);
4008
- l(this, "resolvedValue");
4009
- this.handle = t, this.postProcess = n, $(t, (r2) => {
4007
+ c(this, "isResolved", false);
4008
+ c(this, "resolvedValue");
4009
+ this.handle = t, this.postProcess = n, K(t, (r2) => {
4010
4010
  this.resolvedValue = n(r2), this.isResolved = true;
4011
4011
  });
4012
4012
  }
4013
4013
  map(t) {
4014
- return new a(this.handle, (n) => t(this.postProcess(n)));
4014
+ return new l(this.handle, (n) => t(this.postProcess(n)));
4015
4015
  }
4016
4016
  mapDefined(t) {
4017
- return new a(this.handle, (n) => {
4017
+ return new l(this.handle, (n) => {
4018
4018
  const r2 = this.postProcess(n);
4019
4019
  return r2 ? t(r2) : void 0;
4020
4020
  });
@@ -4023,10 +4023,10 @@
4023
4023
  return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
4024
4024
  }
4025
4025
  }
4026
- function P(e) {
4027
- return e === void 0 ? void 0 : new d(e);
4026
+ function F(e) {
4027
+ return e === void 0 ? void 0 : new p(e);
4028
4028
  }
4029
- class d {
4029
+ class p {
4030
4030
  constructor(t) {
4031
4031
  this.handle = t;
4032
4032
  }
@@ -4034,7 +4034,7 @@
4034
4034
  return this.resolveWithCommon({}, ...t);
4035
4035
  }
4036
4036
  resolveWithCommon(t, ...n) {
4037
- return P(s().resolveWithCommon(this.handle, t, ...n));
4037
+ return F(s().resolveWithCommon(this.handle, t, ...n));
4038
4038
  }
4039
4039
  get resourceType() {
4040
4040
  return s().getResourceType(this.handle);
@@ -4052,7 +4052,7 @@
4052
4052
  return s().getIsFinal(this.handle);
4053
4053
  }
4054
4054
  getError() {
4055
- return P(s().getError(this.handle));
4055
+ return F(s().getError(this.handle));
4056
4056
  }
4057
4057
  listInputFields() {
4058
4058
  return s().listInputFields(this.handle);
@@ -4090,9 +4090,9 @@
4090
4090
  */
4091
4091
  getPColumns(t = false, n = "") {
4092
4092
  const r2 = this.parsePObjectCollection(t, n);
4093
- return r2 === void 0 ? void 0 : Object.entries(r2).map(([, u]) => {
4094
- if (!x$1(u)) throw new Error(`not a PColumn (kind = ${u.spec.kind})`);
4095
- return u;
4093
+ return r2 === void 0 ? void 0 : Object.entries(r2).map(([, a]) => {
4094
+ if (!x$1(a)) throw new Error(`not a PColumn (kind = ${a.spec.kind})`);
4095
+ return a;
4096
4096
  });
4097
4097
  }
4098
4098
  /**
@@ -4106,18 +4106,18 @@
4106
4106
  );
4107
4107
  if (r2 === void 0) return;
4108
4108
  const i2 = {};
4109
- for (const [u, h] of Object.entries(r2))
4110
- i2[u] = B$1(h, (g) => new d(g));
4109
+ for (const [a, d] of Object.entries(r2))
4110
+ i2[a] = B(d, (u) => new p(u));
4111
4111
  return i2;
4112
4112
  }
4113
4113
  getFileContentAsBase64() {
4114
- return new a(s().getBlobContentAsBase64(this.handle));
4114
+ return new l(s().getBlobContentAsBase64(this.handle));
4115
4115
  }
4116
4116
  getFileContentAsString() {
4117
- return new a(s().getBlobContentAsString(this.handle));
4117
+ return new l(s().getBlobContentAsString(this.handle));
4118
4118
  }
4119
4119
  getFileContentAsJson() {
4120
- return new a(
4120
+ return new l(
4121
4121
  s().getBlobContentAsString(this.handle)
4122
4122
  ).mapDefined((t) => JSON.parse(t));
4123
4123
  }
@@ -4137,7 +4137,7 @@
4137
4137
  * @returns downloaded file handle
4138
4138
  */
4139
4139
  getFileHandle() {
4140
- return new a(s().getDownloadedBlobContentHandle(this.handle));
4140
+ return new l(s().getDownloadedBlobContentHandle(this.handle));
4141
4141
  }
4142
4142
  /**
4143
4143
  * @deprecated use getFileHandle
@@ -4149,7 +4149,7 @@
4149
4149
  * @returns downloaded file handle
4150
4150
  */
4151
4151
  getRemoteFileHandle() {
4152
- return new a(s().getOnDemandBlobContentHandle(this.handle));
4152
+ return new l(s().getOnDemandBlobContentHandle(this.handle));
4153
4153
  }
4154
4154
  /**
4155
4155
  * @deprecated use getRemoteFileHandle
@@ -4158,23 +4158,23 @@
4158
4158
  return this.getRemoteFileHandle();
4159
4159
  }
4160
4160
  getImportProgress() {
4161
- return new a(s().getImportProgress(this.handle));
4161
+ return new l(s().getImportProgress(this.handle));
4162
4162
  }
4163
4163
  getLastLogs(t) {
4164
- return new a(s().getLastLogs(this.handle, t));
4164
+ return new l(s().getLastLogs(this.handle, t));
4165
4165
  }
4166
4166
  getProgressLog(t) {
4167
- return new a(s().getProgressLog(this.handle, t));
4167
+ return new l(s().getProgressLog(this.handle, t));
4168
4168
  }
4169
4169
  getLogHandle() {
4170
- return new a(s().getLogHandle(this.handle));
4170
+ return new l(s().getLogHandle(this.handle));
4171
4171
  }
4172
4172
  }
4173
- const V = "staging", I = "main";
4174
- class K {
4173
+ const R = "staging", V = "main";
4174
+ class U {
4175
4175
  constructor() {
4176
- l(this, "ctx", s());
4177
- l(this, "defaultLabelFn", (t, n) => {
4176
+ c(this, "ctx", s());
4177
+ c(this, "defaultLabelFn", (t, n) => {
4178
4178
  var r2;
4179
4179
  return ((r2 = t.annotations) == null ? void 0 : r2["pl7.app/label"]) ?? "Unlabelled";
4180
4180
  });
@@ -4205,7 +4205,7 @@
4205
4205
  ref: n.ref,
4206
4206
  obj: {
4207
4207
  ...n.obj,
4208
- data: new d(n.obj.data)
4208
+ data: new p(n.obj.data)
4209
4209
  }
4210
4210
  }))
4211
4211
  };
@@ -4224,7 +4224,7 @@
4224
4224
  ref: n.ref,
4225
4225
  obj: {
4226
4226
  ...n.obj,
4227
- data: L(n.obj.data, (r2) => new d(r2))
4227
+ data: L(n.obj.data, (r2) => new p(r2))
4228
4228
  }
4229
4229
  }))
4230
4230
  };
@@ -4244,7 +4244,9 @@
4244
4244
  */
4245
4245
  getDataByRef(t) {
4246
4246
  var n;
4247
- return (n = this.getData().entries.find((r2) => r2.ref.blockId === t.blockId && r2.ref.name === t.name)) == null ? void 0 : n.obj;
4247
+ return (n = this.getData().entries.find(
4248
+ (r2) => r2.ref.blockId === t.blockId && r2.ref.name === t.name
4249
+ )) == null ? void 0 : n.obj;
4248
4250
  }
4249
4251
  /**
4250
4252
  * @param ref a Ref
@@ -4252,23 +4254,53 @@
4252
4254
  */
4253
4255
  getSpecByRef(t) {
4254
4256
  var n;
4255
- return (n = this.getSpecs().entries.find((r2) => r2.ref.blockId === t.blockId && r2.ref.name === t.name)) == null ? void 0 : n.obj;
4257
+ return (n = this.getSpecs().entries.find(
4258
+ (r2) => r2.ref.blockId === t.blockId && r2.ref.name === t.name
4259
+ )) == null ? void 0 : n.obj;
4256
4260
  }
4261
+ /**
4262
+ * @param spec object specification
4263
+ * @returns array of data objects with compatible specs
4264
+ */
4265
+ findDataWithCompatibleSpec(t) {
4266
+ const n = [];
4267
+ t: for (const r$1 of this.getData().entries) {
4268
+ if (!r(r$1.obj.spec))
4269
+ continue;
4270
+ const i2 = r$1.obj.spec;
4271
+ if (t.name === i2.name && t.valueType === i2.valueType && t.axesSpec.length === i2.axesSpec.length && D(t.domain, i2.domain)) {
4272
+ for (let a = 0; a < t.axesSpec.length; ++a) {
4273
+ const d = t.axesSpec[a], u = i2.axesSpec[a];
4274
+ if (d.name !== u.name || d.type !== u.type || !D(d.domain, u.domain))
4275
+ continue t;
4276
+ }
4277
+ n.push(r$1.obj);
4278
+ }
4279
+ }
4280
+ return n;
4281
+ }
4282
+ }
4283
+ function D(e, t) {
4284
+ if (e === void 0) return t === void 0;
4285
+ if (t === void 0) return true;
4286
+ for (const n in t)
4287
+ if (e[n] !== t[n]) return false;
4288
+ return true;
4257
4289
  }
4258
4290
  class w {
4259
4291
  constructor() {
4260
- l(this, "ctx");
4261
- l(this, "args");
4262
- l(this, "uiState");
4263
- l(this, "resultPool", new K());
4292
+ c(this, "ctx");
4293
+ c(this, "args");
4294
+ c(this, "uiState");
4295
+ c(this, "resultPool", new U());
4264
4296
  this.ctx = s(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : void 0;
4265
4297
  }
4266
4298
  getNamedAccessor(t) {
4267
4299
  const n = this.ctx.getAccessorHandleByName(t);
4268
- return n ? new d(n) : void 0;
4300
+ return n ? new p(n) : void 0;
4269
4301
  }
4270
4302
  get prerun() {
4271
- return this.getNamedAccessor(V);
4303
+ return this.getNamedAccessor(R);
4272
4304
  }
4273
4305
  /**
4274
4306
  * @deprecated use prerun
@@ -4283,7 +4315,7 @@
4283
4315
  return this.precalc;
4284
4316
  }
4285
4317
  get outputs() {
4286
- return this.getNamedAccessor(I);
4318
+ return this.getNamedAccessor(V);
4287
4319
  }
4288
4320
  /**
4289
4321
  * @deprecated use outputs
@@ -4292,7 +4324,7 @@
4292
4324
  return this.outputs;
4293
4325
  }
4294
4326
  createPFrame(t) {
4295
- return this.ctx.createPFrame(t.map((n) => B$1(n, (r2) => r2.handle)));
4327
+ return this.ctx.createPFrame(t.map((n) => B(n, (r2) => r2.handle)));
4296
4328
  }
4297
4329
  createPTable(t) {
4298
4330
  var n;
@@ -4303,20 +4335,20 @@
4303
4335
  },
4304
4336
  filters: t.filters ?? [],
4305
4337
  sorting: t.sorting ?? []
4306
- } : n = t, this.ctx.createPTable(D(n, (r2) => B$1(r2, (i2) => i2.handle)));
4338
+ } : n = t, this.ctx.createPTable(D$1(n, (r2) => B(r2, (i2) => i2.handle)));
4307
4339
  }
4308
4340
  getBlockLabel(t) {
4309
4341
  return this.ctx.getBlockLabel(t);
4310
4342
  }
4311
4343
  }
4312
- const x = "1.7.53";
4313
- class c {
4314
- constructor(t, n, r2, i2, u) {
4315
- this._renderingMode = t, this._initialArgs = n, this._outputs = r2, this._inputsValid = i2, this._sections = u;
4344
+ const O = "1.8.0";
4345
+ class g {
4346
+ constructor(t, n, r2, i2, a) {
4347
+ this._renderingMode = t, this._initialArgs = n, this._outputs = r2, this._inputsValid = i2, this._sections = a;
4316
4348
  }
4317
4349
  /** Initiates configuration builder */
4318
4350
  static create(t = "Heavy") {
4319
- return new c(
4351
+ return new g(
4320
4352
  t,
4321
4353
  void 0,
4322
4354
  {},
@@ -4327,7 +4359,7 @@
4327
4359
  output(t, n) {
4328
4360
  if (typeof n == "function") {
4329
4361
  const r2 = `output#${t}`;
4330
- return y(r2, () => n(new w())), new c(
4362
+ return y(r2, () => n(new w())), new g(
4331
4363
  this._renderingMode,
4332
4364
  this._initialArgs,
4333
4365
  {
@@ -4338,7 +4370,7 @@
4338
4370
  this._sections
4339
4371
  );
4340
4372
  } else
4341
- return new c(
4373
+ return new g(
4342
4374
  this._renderingMode,
4343
4375
  this._initialArgs,
4344
4376
  {
@@ -4354,13 +4386,13 @@
4354
4386
  return this.inputsValid(t);
4355
4387
  }
4356
4388
  argsValid(t) {
4357
- return typeof t == "function" ? (y("inputsValid", () => t(new w())), new c(
4389
+ return typeof t == "function" ? (y("inputsValid", () => t(new w())), new g(
4358
4390
  this._renderingMode,
4359
4391
  this._initialArgs,
4360
4392
  this._outputs,
4361
4393
  "inputsValid",
4362
4394
  this._sections
4363
- )) : new c(
4395
+ )) : new g(
4364
4396
  this._renderingMode,
4365
4397
  this._initialArgs,
4366
4398
  this._outputs,
@@ -4372,13 +4404,13 @@
4372
4404
  return this.argsValid(t);
4373
4405
  }
4374
4406
  sections(t) {
4375
- return Array.isArray(t) ? this.sections(f(t)) : typeof t == "function" ? (y("sections", () => t(new w())), new c(
4407
+ return Array.isArray(t) ? this.sections(f(t)) : typeof t == "function" ? (y("sections", () => t(new w())), new g(
4376
4408
  this._renderingMode,
4377
4409
  this._initialArgs,
4378
4410
  this._outputs,
4379
4411
  this._inputsValid,
4380
4412
  "sections"
4381
- )) : new c(
4413
+ )) : new g(
4382
4414
  this._renderingMode,
4383
4415
  this._initialArgs,
4384
4416
  this._outputs,
@@ -4388,7 +4420,7 @@
4388
4420
  }
4389
4421
  /** Sets initial args for the block, this value must be specified. */
4390
4422
  initialArgs(t) {
4391
- return new c(
4423
+ return new g(
4392
4424
  this._renderingMode,
4393
4425
  t,
4394
4426
  this._outputs,
@@ -4402,20 +4434,20 @@
4402
4434
  done() {
4403
4435
  if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
4404
4436
  const t = {
4405
- sdkVersion: x,
4437
+ sdkVersion: O,
4406
4438
  renderingMode: this._renderingMode,
4407
4439
  initialArgs: this._initialArgs,
4408
4440
  inputsValid: this._inputsValid,
4409
4441
  sections: this._sections,
4410
4442
  outputs: this._outputs
4411
4443
  };
4412
- return G() ? R(t) : { config: t };
4444
+ return $() ? x(t) : { config: t };
4413
4445
  }
4414
4446
  }
4415
4447
  const $BlockArgs = z.object({
4416
4448
  numbers: z.array(z.coerce.number())
4417
4449
  });
4418
- const platforma = c.create("Heavy").initialArgs({ numbers: [] }).output(
4450
+ const platforma = g.create("Heavy").initialArgs({ numbers: [] }).output(
4419
4451
  "numbers",
4420
4452
  (ctx) => {
4421
4453
  var _a, _b;