@tangle-network/agent-app 0.53.5 → 0.53.7
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.
- package/dist/{DesignCanvasEditor-3R6KODJG.js → DesignCanvasEditor-ZQDWOGRV.js} +3 -3
- package/dist/assistant/index.js +1 -1
- package/dist/chat-routes/index.js +4 -4
- package/dist/{chunk-K3A4GGV6.js → chunk-5GYKS6WT.js} +2 -2
- package/dist/{chunk-3YVSRH26.js → chunk-6JM5EWOP.js} +2 -2
- package/dist/{chunk-WRT5E74D.js → chunk-LFMP73W3.js} +2 -2
- package/dist/{chunk-IN4DXT5F.js → chunk-P2GXQRFR.js} +4 -4
- package/dist/{chunk-QHLQPK2H.js → chunk-QMTZUDDN.js} +6 -2
- package/dist/{chunk-QHLQPK2H.js.map → chunk-QMTZUDDN.js.map} +1 -1
- package/dist/{chunk-RYGNTGEL.js → chunk-T52MKPHE.js} +117 -215
- package/dist/chunk-T52MKPHE.js.map +1 -0
- package/dist/{chunk-C4V2LIUC.js → chunk-TUGR3FCS.js} +1 -1
- package/dist/{chunk-C4V2LIUC.js.map → chunk-TUGR3FCS.js.map} +1 -1
- package/dist/{chunk-2YSXWBBL.js → chunk-YFGV5ZBY.js} +2 -2
- package/dist/design-canvas-react/index.js +3 -3
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/sandbox/index.js +4 -4
- package/dist/theme/brand.generated.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/tokens.css +3 -3
- package/dist/tools/index.js +4 -4
- package/dist/web-react/index.js +1 -1
- package/dist/work-product/index.js +2 -2
- package/dist/workspace-react/index.js +14 -5
- package/dist/workspace-react/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-RYGNTGEL.js.map +0 -1
- /package/dist/{DesignCanvasEditor-3R6KODJG.js.map → DesignCanvasEditor-ZQDWOGRV.js.map} +0 -0
- /package/dist/{chunk-K3A4GGV6.js.map → chunk-5GYKS6WT.js.map} +0 -0
- /package/dist/{chunk-3YVSRH26.js.map → chunk-6JM5EWOP.js.map} +0 -0
- /package/dist/{chunk-WRT5E74D.js.map → chunk-LFMP73W3.js.map} +0 -0
- /package/dist/{chunk-IN4DXT5F.js.map → chunk-P2GXQRFR.js.map} +0 -0
- /package/dist/{chunk-2YSXWBBL.js.map → chunk-YFGV5ZBY.js.map} +0 -0
|
@@ -10,7 +10,7 @@ var ToolInputError = class extends Error {
|
|
|
10
10
|
status;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@tangle-network+ui@11.
|
|
13
|
+
// node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/openui/schema-data.js
|
|
14
14
|
var OPENUI_NODE_TYPES = [
|
|
15
15
|
"heading",
|
|
16
16
|
"text",
|
|
@@ -41,7 +41,6 @@ var primitive = { type: [
|
|
|
41
41
|
] };
|
|
42
42
|
var children = {
|
|
43
43
|
type: "array",
|
|
44
|
-
minItems: 1,
|
|
45
44
|
items: { $ref: "#/$defs/node" }
|
|
46
45
|
};
|
|
47
46
|
var actions = {
|
|
@@ -210,7 +209,7 @@ var OPENUI_NODE_JSON_SCHEMA = {
|
|
|
210
209
|
}
|
|
211
210
|
};
|
|
212
211
|
|
|
213
|
-
// node_modules/.pnpm/@tangle-network+ui@11.
|
|
212
|
+
// node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/_virtual/_rolldown/runtime.js
|
|
214
213
|
var __defProp = Object.defineProperty;
|
|
215
214
|
var __exportAll = (all, no_symbols) => {
|
|
216
215
|
let target = {};
|
|
@@ -222,7 +221,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
222
221
|
return target;
|
|
223
222
|
};
|
|
224
223
|
|
|
225
|
-
// node_modules/.pnpm/@tangle-network+ui@11.
|
|
224
|
+
// node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/openui/schema-compiled.js
|
|
226
225
|
var schema_compiled_exports = /* @__PURE__ */ __exportAll({
|
|
227
226
|
actions: () => actions2,
|
|
228
227
|
badge: () => badge,
|
|
@@ -1815,7 +1814,6 @@ var schema33 = {
|
|
|
1815
1814
|
"wrap": { "type": "boolean" },
|
|
1816
1815
|
"children": {
|
|
1817
1816
|
"type": "array",
|
|
1818
|
-
"minItems": 1,
|
|
1819
1817
|
"items": { "$ref": "#/$defs/node" }
|
|
1820
1818
|
}
|
|
1821
1819
|
},
|
|
@@ -2030,7 +2028,6 @@ var schema46 = {
|
|
|
2030
2028
|
] },
|
|
2031
2029
|
"children": {
|
|
2032
2030
|
"type": "array",
|
|
2033
|
-
"minItems": 1,
|
|
2034
2031
|
"items": { "$ref": "#/$defs/node" }
|
|
2035
2032
|
}
|
|
2036
2033
|
},
|
|
@@ -2132,30 +2129,19 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2132
2129
|
const _errs7 = errors;
|
|
2133
2130
|
if (errors === _errs7) {
|
|
2134
2131
|
if (Array.isArray(data4)) {
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
for (let i0 = 0; i0 < len0; i0++) {
|
|
2147
|
-
const _errs9 = errors;
|
|
2148
|
-
if (!wrapper1.validate(data4[i0], {
|
|
2149
|
-
instancePath: instancePath + "/children/" + i0,
|
|
2150
|
-
parentData: data4,
|
|
2151
|
-
parentDataProperty: i0,
|
|
2152
|
-
rootData
|
|
2153
|
-
})) {
|
|
2154
|
-
vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
|
|
2155
|
-
errors = vErrors.length;
|
|
2156
|
-
}
|
|
2157
|
-
if (!(_errs9 === errors)) break;
|
|
2132
|
+
const len0 = data4.length;
|
|
2133
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
2134
|
+
const _errs9 = errors;
|
|
2135
|
+
if (!wrapper1.validate(data4[i0], {
|
|
2136
|
+
instancePath: instancePath + "/children/" + i0,
|
|
2137
|
+
parentData: data4,
|
|
2138
|
+
parentDataProperty: i0,
|
|
2139
|
+
rootData
|
|
2140
|
+
})) {
|
|
2141
|
+
vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
|
|
2142
|
+
errors = vErrors.length;
|
|
2158
2143
|
}
|
|
2144
|
+
if (!(_errs9 === errors)) break;
|
|
2159
2145
|
}
|
|
2160
2146
|
} else {
|
|
2161
2147
|
validate27.errors = [{
|
|
@@ -2542,30 +2528,19 @@ function validate29(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
2542
2528
|
const _errs34 = errors;
|
|
2543
2529
|
if (errors === _errs34) {
|
|
2544
2530
|
if (Array.isArray(data16)) {
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
for (let i1 = 0; i1 < len1; i1++) {
|
|
2557
|
-
const _errs36 = errors;
|
|
2558
|
-
if (!wrapper1.validate(data16[i1], {
|
|
2559
|
-
instancePath: instancePath + "/children/" + i1,
|
|
2560
|
-
parentData: data16,
|
|
2561
|
-
parentDataProperty: i1,
|
|
2562
|
-
rootData
|
|
2563
|
-
})) {
|
|
2564
|
-
vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
|
|
2565
|
-
errors = vErrors.length;
|
|
2566
|
-
}
|
|
2567
|
-
if (!(_errs36 === errors)) break;
|
|
2531
|
+
const len1 = data16.length;
|
|
2532
|
+
for (let i1 = 0; i1 < len1; i1++) {
|
|
2533
|
+
const _errs36 = errors;
|
|
2534
|
+
if (!wrapper1.validate(data16[i1], {
|
|
2535
|
+
instancePath: instancePath + "/children/" + i1,
|
|
2536
|
+
parentData: data16,
|
|
2537
|
+
parentDataProperty: i1,
|
|
2538
|
+
rootData
|
|
2539
|
+
})) {
|
|
2540
|
+
vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);
|
|
2541
|
+
errors = vErrors.length;
|
|
2568
2542
|
}
|
|
2543
|
+
if (!(_errs36 === errors)) break;
|
|
2569
2544
|
}
|
|
2570
2545
|
} else {
|
|
2571
2546
|
validate29.errors = [{
|
|
@@ -4362,30 +4337,19 @@ function validate23(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
4362
4337
|
const _errs10 = errors;
|
|
4363
4338
|
if (errors === _errs10) {
|
|
4364
4339
|
if (Array.isArray(data6)) {
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
for (let i0 = 0; i0 < len0; i0++) {
|
|
4377
|
-
const _errs12 = errors;
|
|
4378
|
-
if (!validate24(data6[i0], {
|
|
4379
|
-
instancePath: instancePath + "/children/" + i0,
|
|
4380
|
-
parentData: data6,
|
|
4381
|
-
parentDataProperty: i0,
|
|
4382
|
-
rootData
|
|
4383
|
-
})) {
|
|
4384
|
-
vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);
|
|
4385
|
-
errors = vErrors.length;
|
|
4386
|
-
}
|
|
4387
|
-
if (!(_errs12 === errors)) break;
|
|
4340
|
+
const len0 = data6.length;
|
|
4341
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
4342
|
+
const _errs12 = errors;
|
|
4343
|
+
if (!validate24(data6[i0], {
|
|
4344
|
+
instancePath: instancePath + "/children/" + i0,
|
|
4345
|
+
parentData: data6,
|
|
4346
|
+
parentDataProperty: i0,
|
|
4347
|
+
rootData
|
|
4348
|
+
})) {
|
|
4349
|
+
vErrors = vErrors === null ? validate24.errors : vErrors.concat(validate24.errors);
|
|
4350
|
+
errors = vErrors.length;
|
|
4388
4351
|
}
|
|
4352
|
+
if (!(_errs12 === errors)) break;
|
|
4389
4353
|
}
|
|
4390
4354
|
} else {
|
|
4391
4355
|
validate23.errors = [{
|
|
@@ -4755,30 +4719,19 @@ function validate38(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
4755
4719
|
const _errs10 = errors;
|
|
4756
4720
|
if (errors === _errs10) {
|
|
4757
4721
|
if (Array.isArray(data6)) {
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
for (let i0 = 0; i0 < len0; i0++) {
|
|
4770
|
-
const _errs12 = errors;
|
|
4771
|
-
if (!wrapper3.validate(data6[i0], {
|
|
4772
|
-
instancePath: instancePath + "/children/" + i0,
|
|
4773
|
-
parentData: data6,
|
|
4774
|
-
parentDataProperty: i0,
|
|
4775
|
-
rootData
|
|
4776
|
-
})) {
|
|
4777
|
-
vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
|
|
4778
|
-
errors = vErrors.length;
|
|
4779
|
-
}
|
|
4780
|
-
if (!(_errs12 === errors)) break;
|
|
4722
|
+
const len0 = data6.length;
|
|
4723
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
4724
|
+
const _errs12 = errors;
|
|
4725
|
+
if (!wrapper3.validate(data6[i0], {
|
|
4726
|
+
instancePath: instancePath + "/children/" + i0,
|
|
4727
|
+
parentData: data6,
|
|
4728
|
+
parentDataProperty: i0,
|
|
4729
|
+
rootData
|
|
4730
|
+
})) {
|
|
4731
|
+
vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
|
|
4732
|
+
errors = vErrors.length;
|
|
4781
4733
|
}
|
|
4734
|
+
if (!(_errs12 === errors)) break;
|
|
4782
4735
|
}
|
|
4783
4736
|
} else {
|
|
4784
4737
|
validate38.errors = [{
|
|
@@ -5167,30 +5120,19 @@ function validate40(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5167
5120
|
const _errs34 = errors;
|
|
5168
5121
|
if (errors === _errs34) {
|
|
5169
5122
|
if (Array.isArray(data16)) {
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
for (let i1 = 0; i1 < len1; i1++) {
|
|
5182
|
-
const _errs36 = errors;
|
|
5183
|
-
if (!wrapper3.validate(data16[i1], {
|
|
5184
|
-
instancePath: instancePath + "/children/" + i1,
|
|
5185
|
-
parentData: data16,
|
|
5186
|
-
parentDataProperty: i1,
|
|
5187
|
-
rootData
|
|
5188
|
-
})) {
|
|
5189
|
-
vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
|
|
5190
|
-
errors = vErrors.length;
|
|
5191
|
-
}
|
|
5192
|
-
if (!(_errs36 === errors)) break;
|
|
5123
|
+
const len1 = data16.length;
|
|
5124
|
+
for (let i1 = 0; i1 < len1; i1++) {
|
|
5125
|
+
const _errs36 = errors;
|
|
5126
|
+
if (!wrapper3.validate(data16[i1], {
|
|
5127
|
+
instancePath: instancePath + "/children/" + i1,
|
|
5128
|
+
parentData: data16,
|
|
5129
|
+
parentDataProperty: i1,
|
|
5130
|
+
rootData
|
|
5131
|
+
})) {
|
|
5132
|
+
vErrors = vErrors === null ? wrapper3.validate.errors : vErrors.concat(wrapper3.validate.errors);
|
|
5133
|
+
errors = vErrors.length;
|
|
5193
5134
|
}
|
|
5135
|
+
if (!(_errs36 === errors)) break;
|
|
5194
5136
|
}
|
|
5195
5137
|
} else {
|
|
5196
5138
|
validate40.errors = [{
|
|
@@ -6956,30 +6898,19 @@ function validate34(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
6956
6898
|
const _errs7 = errors;
|
|
6957
6899
|
if (errors === _errs7) {
|
|
6958
6900
|
if (Array.isArray(data4)) {
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
for (let i0 = 0; i0 < len0; i0++) {
|
|
6971
|
-
const _errs9 = errors;
|
|
6972
|
-
if (!validate35(data4[i0], {
|
|
6973
|
-
instancePath: instancePath + "/children/" + i0,
|
|
6974
|
-
parentData: data4,
|
|
6975
|
-
parentDataProperty: i0,
|
|
6976
|
-
rootData
|
|
6977
|
-
})) {
|
|
6978
|
-
vErrors = vErrors === null ? validate35.errors : vErrors.concat(validate35.errors);
|
|
6979
|
-
errors = vErrors.length;
|
|
6980
|
-
}
|
|
6981
|
-
if (!(_errs9 === errors)) break;
|
|
6901
|
+
const len0 = data4.length;
|
|
6902
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
6903
|
+
const _errs9 = errors;
|
|
6904
|
+
if (!validate35(data4[i0], {
|
|
6905
|
+
instancePath: instancePath + "/children/" + i0,
|
|
6906
|
+
parentData: data4,
|
|
6907
|
+
parentDataProperty: i0,
|
|
6908
|
+
rootData
|
|
6909
|
+
})) {
|
|
6910
|
+
vErrors = vErrors === null ? validate35.errors : vErrors.concat(validate35.errors);
|
|
6911
|
+
errors = vErrors.length;
|
|
6982
6912
|
}
|
|
6913
|
+
if (!(_errs9 === errors)) break;
|
|
6983
6914
|
}
|
|
6984
6915
|
} else {
|
|
6985
6916
|
validate34.errors = [{
|
|
@@ -7347,30 +7278,19 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
7347
7278
|
const _errs10 = errors;
|
|
7348
7279
|
if (errors === _errs10) {
|
|
7349
7280
|
if (Array.isArray(data6)) {
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
for (let i0 = 0; i0 < len0; i0++) {
|
|
7362
|
-
const _errs12 = errors;
|
|
7363
|
-
if (!wrapper6.validate(data6[i0], {
|
|
7364
|
-
instancePath: instancePath + "/children/" + i0,
|
|
7365
|
-
parentData: data6,
|
|
7366
|
-
parentDataProperty: i0,
|
|
7367
|
-
rootData
|
|
7368
|
-
})) {
|
|
7369
|
-
vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
|
|
7370
|
-
errors = vErrors.length;
|
|
7371
|
-
}
|
|
7372
|
-
if (!(_errs12 === errors)) break;
|
|
7281
|
+
const len0 = data6.length;
|
|
7282
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
7283
|
+
const _errs12 = errors;
|
|
7284
|
+
if (!wrapper6.validate(data6[i0], {
|
|
7285
|
+
instancePath: instancePath + "/children/" + i0,
|
|
7286
|
+
parentData: data6,
|
|
7287
|
+
parentDataProperty: i0,
|
|
7288
|
+
rootData
|
|
7289
|
+
})) {
|
|
7290
|
+
vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
|
|
7291
|
+
errors = vErrors.length;
|
|
7373
7292
|
}
|
|
7293
|
+
if (!(_errs12 === errors)) break;
|
|
7374
7294
|
}
|
|
7375
7295
|
} else {
|
|
7376
7296
|
validate49.errors = [{
|
|
@@ -7502,30 +7422,19 @@ function validate51(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
7502
7422
|
const _errs7 = errors;
|
|
7503
7423
|
if (errors === _errs7) {
|
|
7504
7424
|
if (Array.isArray(data4)) {
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
for (let i0 = 0; i0 < len0; i0++) {
|
|
7517
|
-
const _errs9 = errors;
|
|
7518
|
-
if (!wrapper6.validate(data4[i0], {
|
|
7519
|
-
instancePath: instancePath + "/children/" + i0,
|
|
7520
|
-
parentData: data4,
|
|
7521
|
-
parentDataProperty: i0,
|
|
7522
|
-
rootData
|
|
7523
|
-
})) {
|
|
7524
|
-
vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
|
|
7525
|
-
errors = vErrors.length;
|
|
7526
|
-
}
|
|
7527
|
-
if (!(_errs9 === errors)) break;
|
|
7425
|
+
const len0 = data4.length;
|
|
7426
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
7427
|
+
const _errs9 = errors;
|
|
7428
|
+
if (!wrapper6.validate(data4[i0], {
|
|
7429
|
+
instancePath: instancePath + "/children/" + i0,
|
|
7430
|
+
parentData: data4,
|
|
7431
|
+
parentDataProperty: i0,
|
|
7432
|
+
rootData
|
|
7433
|
+
})) {
|
|
7434
|
+
vErrors = vErrors === null ? wrapper6.validate.errors : vErrors.concat(wrapper6.validate.errors);
|
|
7435
|
+
errors = vErrors.length;
|
|
7528
7436
|
}
|
|
7437
|
+
if (!(_errs9 === errors)) break;
|
|
7529
7438
|
}
|
|
7530
7439
|
} else {
|
|
7531
7440
|
validate51.errors = [{
|
|
@@ -9545,30 +9454,19 @@ function validate45(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
9545
9454
|
const _errs34 = errors;
|
|
9546
9455
|
if (errors === _errs34) {
|
|
9547
9456
|
if (Array.isArray(data16)) {
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
for (let i1 = 0; i1 < len1; i1++) {
|
|
9560
|
-
const _errs36 = errors;
|
|
9561
|
-
if (!validate46(data16[i1], {
|
|
9562
|
-
instancePath: instancePath + "/children/" + i1,
|
|
9563
|
-
parentData: data16,
|
|
9564
|
-
parentDataProperty: i1,
|
|
9565
|
-
rootData
|
|
9566
|
-
})) {
|
|
9567
|
-
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
|
9568
|
-
errors = vErrors.length;
|
|
9569
|
-
}
|
|
9570
|
-
if (!(_errs36 === errors)) break;
|
|
9457
|
+
const len1 = data16.length;
|
|
9458
|
+
for (let i1 = 0; i1 < len1; i1++) {
|
|
9459
|
+
const _errs36 = errors;
|
|
9460
|
+
if (!validate46(data16[i1], {
|
|
9461
|
+
instancePath: instancePath + "/children/" + i1,
|
|
9462
|
+
parentData: data16,
|
|
9463
|
+
parentDataProperty: i1,
|
|
9464
|
+
rootData
|
|
9465
|
+
})) {
|
|
9466
|
+
vErrors = vErrors === null ? validate46.errors : vErrors.concat(validate46.errors);
|
|
9467
|
+
errors = vErrors.length;
|
|
9571
9468
|
}
|
|
9469
|
+
if (!(_errs36 === errors)) break;
|
|
9572
9470
|
}
|
|
9573
9471
|
} else {
|
|
9574
9472
|
validate45.errors = [{
|
|
@@ -9622,7 +9520,7 @@ function validate44(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
9622
9520
|
return errors === 0;
|
|
9623
9521
|
}
|
|
9624
9522
|
|
|
9625
|
-
// node_modules/.pnpm/@tangle-network+ui@11.
|
|
9523
|
+
// node_modules/.pnpm/@tangle-network+ui@11.16.5_@hocuspocus+provider@4.6.0_y-protocols@1.0.7_yjs@13.6.32__yj_3fb523d44942005bf41aedf9c06a2455/node_modules/@tangle-network/ui/dist/openui-schema.js
|
|
9626
9524
|
var nodeTypes = new Set(OPENUI_NODE_TYPES);
|
|
9627
9525
|
function findUnsupportedOpenUINode(value) {
|
|
9628
9526
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
@@ -9647,6 +9545,10 @@ function findUnsupportedOpenUINode(value) {
|
|
|
9647
9545
|
message: `Unsupported OpenUI node type: ${String(record.type)}.`
|
|
9648
9546
|
};
|
|
9649
9547
|
if (record.type === "stack" || record.type === "grid" || record.type === "card") {
|
|
9548
|
+
if (Array.isArray(record.children) && record.children.length === 0) return {
|
|
9549
|
+
path: `${path}.children`,
|
|
9550
|
+
message: "OpenUI containers need at least one child."
|
|
9551
|
+
};
|
|
9650
9552
|
if (Array.isArray(record.children)) for (const [index, child] of record.children.entries()) {
|
|
9651
9553
|
const issue = visit(child, `${path}.children[${index}]`, depth + 1);
|
|
9652
9554
|
if (issue) return issue;
|
|
@@ -9732,4 +9634,4 @@ export {
|
|
|
9732
9634
|
OPENUI_NODE_JSON_SCHEMA,
|
|
9733
9635
|
validateOpenUIJsonNode
|
|
9734
9636
|
};
|
|
9735
|
-
//# sourceMappingURL=chunk-
|
|
9637
|
+
//# sourceMappingURL=chunk-T52MKPHE.js.map
|