@drfed/web 0.1.0-dev.561 → 0.1.0
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/.output/nitro.json +1 -1
- package/.output/public/.vite/manifest.json +181 -181
- package/.output/public/_build/assets/{ActorDetailQuery.graphql-D96mwq1k.js → ActorDetailQuery.graphql-BifVLgri.js} +1 -1
- package/.output/public/_build/assets/{ActorDetailQuery.graphql-DrxSNh1X.js → ActorDetailQuery.graphql-CCzXciWe.js} +1 -1
- package/.output/public/_build/assets/{CompleteLoginChallenge.graphql-C5Zq3wNh.js → CompleteLoginChallenge.graphql-BuIODTQe.js} +1 -1
- package/.output/public/_build/assets/{CopyButton-B2l484wE.js → CopyButton-BPA_AsfQ.js} +1 -1
- package/.output/public/_build/assets/{CreateInstanceMutation.graphql-B4CRy6cl.js → CreateInstanceMutation.graphql-BeuI_m9K.js} +1 -1
- package/.output/public/_build/assets/{CreateObjectMutation.graphql-B4A01dgV.js → CreateObjectMutation.graphql-slDMnVjt.js} +1 -1
- package/.output/public/_build/assets/{GenerateActorsMutation.graphql-mlHJNIbe.js → GenerateActorsMutation.graphql-vkoqVyL8.js} +1 -1
- package/.output/public/_build/assets/{GetHostQuery.graphql-CuzDdOdW.js → GetHostQuery.graphql-BzusRJ7N.js} +1 -1
- package/.output/public/_build/assets/{GetHostQuery.graphql-o9K0Qkg0.js → GetHostQuery.graphql-CKu9xX8-.js} +1 -1
- package/.output/public/_build/assets/{HomeViewerQuery.graphql-B903WWKs.js → HomeViewerQuery.graphql-BEP_urQ1.js} +1 -1
- package/.output/public/_build/assets/HttpStatusCode-FQmr-LGM.js +1 -0
- package/.output/public/_build/assets/{InstanceActorListQuery.graphql-paa7teUO.js → InstanceActorListQuery.graphql-ADOUh67G.js} +1 -1
- package/.output/public/_build/assets/{InstanceActorListQuery.graphql-DmNwiEhM.js → InstanceActorListQuery.graphql-Dmh71GI5.js} +1 -1
- package/.output/public/_build/assets/{InstanceDetailQuery.graphql-B52nR132.js → InstanceDetailQuery.graphql-BVIsRDhB.js} +1 -1
- package/.output/public/_build/assets/{InstanceDetailQuery.graphql-DSA2BcAV.js → InstanceDetailQuery.graphql-YvCDX6Vx.js} +1 -1
- package/.output/public/_build/assets/JNCCF6MP-C_2GhSaE.js +1 -0
- package/.output/public/_build/assets/{LP6E37CW-Cwv6G3n1.js → LP6E37CW-BBu2j5XX.js} +1 -1
- package/.output/public/_build/assets/{SignInMutation.graphql-BalZYNFu.js → SignInMutation.graphql-D-K99qj-.js} +1 -1
- package/.output/public/_build/assets/TSB6MOZK-D4_kp7T4.js +1 -0
- package/.output/public/_build/assets/Toast-tZxI6Kk3.js +1 -0
- package/.output/public/_build/assets/{WorkspaceQuery.graphql-UoI7QDs4.js → WorkspaceQuery.graphql-9H5uLyBt.js} +1 -1
- package/.output/public/_build/assets/_...404_-DMz-AmEz.js +1 -0
- package/.output/public/_build/assets/{_challengeId_-Dk-0l7zl.js → _challengeId_-BK-xeuYX.js} +1 -1
- package/.output/public/_build/assets/{_id_-bpxdclBj.js → _id_-Q9HBJzaf.js} +1 -1
- package/.output/public/_build/assets/_slug_-DrTnyM7j.js +200 -0
- package/.output/public/_build/assets/{about-DIrbzRsi.js → about-DtTGI6TG.js} +1 -1
- package/.output/public/_build/assets/actors-LmFNJfl8.js +24 -0
- package/.output/public/_build/assets/{client-CGFoRcqH.js → client-BVl87rV7.js} +2 -2
- package/.output/public/_build/assets/{components-5MVu7IcD.js → components-D1sEsgws.js} +1 -1
- package/.output/public/_build/assets/dist-CMub1v5w.js +1 -0
- package/.output/public/_build/assets/{dist-BrJ_B8nU.js → dist-DUCXQy4t.js} +1 -1
- package/.output/public/_build/assets/{dist-WrlGlK67.js → dist-IMcx10bF.js} +1 -1
- package/.output/public/_build/assets/{entry-client-Do7ocrsL.js → entry-client-DyU5h6Kf.js} +3 -3
- package/.output/public/_build/assets/form.module-DZJVksrR.js +1 -0
- package/.output/public/_build/assets/{index-BHn6sAgH.js → index-CsGHD4_w.js} +1 -1
- package/.output/public/_build/assets/{index-BSLqnqN7.js → index-xrNvEFEe.js} +1 -1
- package/.output/public/_build/assets/instance-CD2GuEFF.js +35 -0
- package/.output/public/_build/assets/objects-CSDLRgba.js +25 -0
- package/.output/public/_build/assets/relay-runtime-CW2Fi-vu.js +7 -0
- package/.output/public/_build/assets/routing-BOJUm5FP.js +1 -0
- package/.output/public/_build/assets/sign-in-6aWEq4t1.js +10 -0
- package/.output/public/_build/assets/web-BjwKY0xb.js +1 -0
- package/.output/server/{_...404_-DDEH5apf.mjs → _...404_-DM28Kka3.mjs} +2 -3
- package/.output/server/{_challengeId_-C_n_Bww9.mjs → _challengeId_-CHkjsE_y.mjs} +5 -5
- package/.output/server/_chunks/ssr-renderer.mjs +3 -3
- package/.output/server/{_id_-DqytvZEf.mjs → _id_-BjLFsMir.mjs} +3 -4
- package/.output/server/_libs/@shikijs/core+[...].mjs +24 -22
- package/.output/server/_libs/@shikijs/engine-javascript+[...].mjs +45 -40
- package/.output/server/_libs/faker-js__faker.mjs +6 -12
- package/.output/server/_libs/relay-runtime.mjs +189 -177
- package/.output/server/_libs/seroval-plugins.mjs +45 -43
- package/.output/server/_libs/seroval.mjs +16 -11
- package/.output/server/_libs/solid-js.mjs +28 -19
- package/.output/server/_libs/solid-relay+tiny-invariant.mjs +1 -3
- package/.output/server/_libs/valibot.mjs +5 -44
- package/.output/server/_runtime.mjs +1 -1
- package/.output/server/{_slug_-CBOaSqoF.mjs → _slug_-CamNffYc.mjs} +3 -4
- package/.output/server/_ssr/{LP6E37CW-D2Ih_b_K.mjs → LP6E37CW-Bs07BPsK.mjs} +2 -2
- package/.output/server/_ssr/{TSB6MOZK-D06WZb6o.mjs → TSB6MOZK-Dz16RpiS.mjs} +10 -6
- package/.output/server/_ssr/{about-CD3QIgf_.mjs → about-K4E3_OxN.mjs} +2 -2
- package/.output/server/_ssr/{actors-CMWf-xQU.mjs → actors-DQIzbpiq.mjs} +21 -21
- package/.output/server/_ssr/{form.module-CTvIl1lm.mjs → form.module-B3iJri2-.mjs} +8 -5
- package/.output/server/_ssr/{index-yuhuc6-X.mjs → index-DQYLULEn.mjs} +2 -2
- package/.output/server/_ssr/{index-C4crD6q-.mjs → index-DU0kuIH3.mjs} +2 -3
- package/.output/server/_ssr/{instance-ZYWGeWd3.mjs → instance-BXwV77PI.mjs} +5 -7
- package/.output/server/_ssr/{objects-D5MVukzB.mjs → objects-DNPuxUtN.mjs} +55 -38
- package/.output/server/_ssr/{sign-in-CNHZb_zL.mjs → sign-in-KJ_TNq1o.mjs} +5 -6
- package/.output/server/_ssr/ssr.mjs +2303 -224
- package/.output/server/index.mjs +242 -242
- package/package.json +10 -10
- package/.output/public/_build/assets/HttpStatusCode-bgaVzuLy.js +0 -1
- package/.output/public/_build/assets/JNCCF6MP-CNMywyiC.js +0 -1
- package/.output/public/_build/assets/TSB6MOZK-CpiH97G1.js +0 -1
- package/.output/public/_build/assets/Toast-C1zr9crB.js +0 -1
- package/.output/public/_build/assets/_...404_-WZ8kAljY.js +0 -1
- package/.output/public/_build/assets/_slug_-DXfRknzJ.js +0 -200
- package/.output/public/_build/assets/actors-HfZh_afh.js +0 -24
- package/.output/public/_build/assets/dist-DVo0HS5G.js +0 -1
- package/.output/public/_build/assets/form.module-BecmEfV_.js +0 -1
- package/.output/public/_build/assets/instance-tpMrvJNZ.js +0 -35
- package/.output/public/_build/assets/objects-DR9TfL-V.js +0 -25
- package/.output/public/_build/assets/relay-runtime-BX3uubtA.js +0 -7
- package/.output/public/_build/assets/routing-DMN2NHu6.js +0 -1
- package/.output/public/_build/assets/sign-in-B67sv7z8.js +0 -10
- package/.output/public/_build/assets/web-DB_Nkq2D.js +0 -1
- package/.output/server/_ssr/JNCCF6MP-BAZlBnvx.mjs +0 -419
- package/.output/server/_ssr/Toast-Bb1gcxED.mjs +0 -947
- package/.output/server/_ssr/dist-D6rgyh-L.mjs +0 -81
- package/.output/server/_ssr/routing-DKTLkkbY.mjs +0 -620
|
@@ -14,31 +14,32 @@ function c(e) {
|
|
|
14
14
|
return new Promise(D.bind(e));
|
|
15
15
|
}
|
|
16
16
|
var i = {};
|
|
17
|
-
var
|
|
18
|
-
tag: "seroval-plugins/web/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
sync() {
|
|
26
|
-
return i;
|
|
27
|
-
},
|
|
28
|
-
async async() {
|
|
29
|
-
return await Promise.resolve(i);
|
|
30
|
-
},
|
|
31
|
-
stream() {
|
|
32
|
-
return i;
|
|
33
|
-
}
|
|
17
|
+
var F = ai({
|
|
18
|
+
tag: "seroval-plugins/web/AbortControllerFactoryPlugin",
|
|
19
|
+
test(e) {
|
|
20
|
+
return e === i;
|
|
21
|
+
},
|
|
22
|
+
parse: {
|
|
23
|
+
sync() {
|
|
24
|
+
return i;
|
|
34
25
|
},
|
|
35
|
-
|
|
36
|
-
return
|
|
26
|
+
async async() {
|
|
27
|
+
return await Promise.resolve(i);
|
|
37
28
|
},
|
|
38
|
-
|
|
39
|
-
return
|
|
29
|
+
stream() {
|
|
30
|
+
return i;
|
|
40
31
|
}
|
|
41
|
-
}
|
|
32
|
+
},
|
|
33
|
+
serialize() {
|
|
34
|
+
return u.toString();
|
|
35
|
+
},
|
|
36
|
+
deserialize() {
|
|
37
|
+
return u;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
var O = ai({
|
|
41
|
+
tag: "seroval-plugins/web/AbortSignal",
|
|
42
|
+
extends: [F],
|
|
42
43
|
test(e) {
|
|
43
44
|
return typeof AbortSignal == "undefined" ? !1 : e instanceof AbortSignal;
|
|
44
45
|
},
|
|
@@ -229,31 +230,32 @@ var v = (e, r = new FormData(), a = 0, t = e.length, s) => {
|
|
|
229
230
|
for (; a < t; a++) s = e[a], r.append(s[0], s[1]);
|
|
230
231
|
return r;
|
|
231
232
|
};
|
|
232
|
-
var
|
|
233
|
-
tag: "seroval-plugins/web/
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
sync() {
|
|
241
|
-
return o;
|
|
242
|
-
},
|
|
243
|
-
async async() {
|
|
244
|
-
return await Promise.resolve(o);
|
|
245
|
-
},
|
|
246
|
-
stream() {
|
|
247
|
-
return o;
|
|
248
|
-
}
|
|
233
|
+
var G = ai({
|
|
234
|
+
tag: "seroval-plugins/web/FormDataFactory",
|
|
235
|
+
test(e) {
|
|
236
|
+
return e === o;
|
|
237
|
+
},
|
|
238
|
+
parse: {
|
|
239
|
+
sync() {
|
|
240
|
+
return o;
|
|
249
241
|
},
|
|
250
|
-
|
|
251
|
-
return
|
|
242
|
+
async async() {
|
|
243
|
+
return await Promise.resolve(o);
|
|
252
244
|
},
|
|
253
|
-
|
|
245
|
+
stream() {
|
|
254
246
|
return o;
|
|
255
247
|
}
|
|
256
|
-
}
|
|
248
|
+
},
|
|
249
|
+
serialize() {
|
|
250
|
+
return v.toString();
|
|
251
|
+
},
|
|
252
|
+
deserialize() {
|
|
253
|
+
return o;
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
var K = ai({
|
|
257
|
+
tag: "seroval-plugins/web/FormData",
|
|
258
|
+
extends: [m, G],
|
|
257
259
|
test(e) {
|
|
258
260
|
return typeof FormData == "undefined" ? !1 : e instanceof FormData;
|
|
259
261
|
},
|
|
@@ -54,7 +54,6 @@ var ot = {
|
|
|
54
54
|
7: "0/0"
|
|
55
55
|
};
|
|
56
56
|
var o = void 0;
|
|
57
|
-
Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY;
|
|
58
57
|
var Ce = {
|
|
59
58
|
0: "Error",
|
|
60
59
|
1: "EvalError",
|
|
@@ -1254,7 +1253,6 @@ function Ba(e, r, t, n, a) {
|
|
|
1254
1253
|
case DataView: return Pa(e, r, t, n);
|
|
1255
1254
|
case Map: return Ta(e, r, t, n);
|
|
1256
1255
|
case Set: return Oa(e, r, t, n);
|
|
1257
|
-
default: break;
|
|
1258
1256
|
}
|
|
1259
1257
|
if (a === Promise || n instanceof Promise) return _a(e, r, t, n);
|
|
1260
1258
|
let s = e.base.features;
|
|
@@ -1262,7 +1260,6 @@ function Ba(e, r, t, n, a) {
|
|
|
1262
1260
|
if (s & 16) switch (a) {
|
|
1263
1261
|
case BigInt64Array:
|
|
1264
1262
|
case BigUint64Array: return Ra(e, r, t, n);
|
|
1265
|
-
default: break;
|
|
1266
1263
|
}
|
|
1267
1264
|
if (s & 1 && typeof AggregateError != "undefined" && (a === AggregateError || n instanceof AggregateError)) return xa(e, r, t, n);
|
|
1268
1265
|
if (n instanceof Error) return ln(e, r, t, n);
|
|
@@ -1415,7 +1412,7 @@ var mr = class {
|
|
|
1415
1412
|
}
|
|
1416
1413
|
};
|
|
1417
1414
|
//#endregion
|
|
1418
|
-
//#region ../../node_modules/.pnpm/seroval@1.6.
|
|
1415
|
+
//#region ../../node_modules/.pnpm/seroval@1.6.4/node_modules/seroval/dist/index.js
|
|
1419
1416
|
/**
|
|
1420
1417
|
* References
|
|
1421
1418
|
* - https://compat-table.github.io/compat-table/es6/
|
|
@@ -1714,14 +1711,16 @@ function getErrorOptions(error, features) {
|
|
|
1714
1711
|
const names = Object.getOwnPropertyNames(error);
|
|
1715
1712
|
for (let i = 0, len = names.length, name; i < len; i++) {
|
|
1716
1713
|
name = names[i];
|
|
1717
|
-
if (name !== "name" && name !== "message")
|
|
1718
|
-
if (
|
|
1714
|
+
if (name !== "name" && name !== "message") {
|
|
1715
|
+
if (name === "stack") {
|
|
1716
|
+
if (features & 4) {
|
|
1717
|
+
options = options || {};
|
|
1718
|
+
options[name] = error[name];
|
|
1719
|
+
}
|
|
1720
|
+
} else {
|
|
1719
1721
|
options = options || {};
|
|
1720
1722
|
options[name] = error[name];
|
|
1721
1723
|
}
|
|
1722
|
-
} else {
|
|
1723
|
-
options = options || {};
|
|
1724
|
-
options[name] = error[name];
|
|
1725
1724
|
}
|
|
1726
1725
|
}
|
|
1727
1726
|
return options;
|
|
@@ -2412,6 +2411,7 @@ function deserializeTypedArray(ctx, depth, node) {
|
|
|
2412
2411
|
var _node$b;
|
|
2413
2412
|
const construct = getTypedArrayConstructor(node.c);
|
|
2414
2413
|
const source = deserialize$1(ctx, depth, node.f);
|
|
2414
|
+
if (!(source instanceof ArrayBuffer)) throw new SerovalMalformedNodeError(node);
|
|
2415
2415
|
const offset = (_node$b = node.b) !== null && _node$b !== void 0 ? _node$b : 0;
|
|
2416
2416
|
if (offset < 0 || offset > source.byteLength || node.l > MAX_BASE64_LENGTH) throw new SerovalMalformedNodeError(node);
|
|
2417
2417
|
return assignIndexedValue$1(ctx, node.i, new construct(source, offset, node.l));
|
|
@@ -2419,6 +2419,7 @@ function deserializeTypedArray(ctx, depth, node) {
|
|
|
2419
2419
|
function deserializeDataView(ctx, depth, node) {
|
|
2420
2420
|
var _node$b2;
|
|
2421
2421
|
const source = deserialize$1(ctx, depth, node.f);
|
|
2422
|
+
if (!(source instanceof ArrayBuffer)) throw new SerovalMalformedNodeError(node);
|
|
2422
2423
|
const offset = (_node$b2 = node.b) !== null && _node$b2 !== void 0 ? _node$b2 : 0;
|
|
2423
2424
|
if (offset < 0 || offset > source.byteLength || node.l > MAX_BASE64_LENGTH) throw new SerovalMalformedNodeError(node);
|
|
2424
2425
|
return assignIndexedValue$1(ctx, node.i, new DataView(source, offset, node.l));
|
|
@@ -2479,11 +2480,15 @@ function deserializePromiseFulfill(ctx, depth, node) {
|
|
|
2479
2480
|
}
|
|
2480
2481
|
function deserializeIteratorFactoryInstance(ctx, depth, node) {
|
|
2481
2482
|
deserialize$1(ctx, depth, node.a[0]);
|
|
2482
|
-
|
|
2483
|
+
const source = deserialize$1(ctx, depth, node.a[1]);
|
|
2484
|
+
if (!source || typeof source !== "object" || !isSequence(source)) throw new SerovalMalformedNodeError(node.a[1]);
|
|
2485
|
+
return sequenceToIterator(source);
|
|
2483
2486
|
}
|
|
2484
2487
|
function deserializeAsyncIteratorFactoryInstance(ctx, depth, node) {
|
|
2485
2488
|
deserialize$1(ctx, depth, node.a[0]);
|
|
2486
|
-
|
|
2489
|
+
const source = deserialize$1(ctx, depth, node.a[1]);
|
|
2490
|
+
if (!source || typeof source !== "object" || !isStream(source)) throw new SerovalMalformedNodeError(node.a[1]);
|
|
2491
|
+
return streamToAsyncIterable(source);
|
|
2487
2492
|
}
|
|
2488
2493
|
function deserializeStreamConstructor(ctx, depth, node) {
|
|
2489
2494
|
const result = assignIndexedValue$1(ctx, node.i, createStream());
|
|
@@ -32,8 +32,10 @@ function createOwner() {
|
|
|
32
32
|
owned: null,
|
|
33
33
|
cleanups: null
|
|
34
34
|
};
|
|
35
|
-
if (Owner)
|
|
36
|
-
|
|
35
|
+
if (Owner) {
|
|
36
|
+
if (!Owner.owned) Owner.owned = [o];
|
|
37
|
+
else Owner.owned.push(o);
|
|
38
|
+
}
|
|
37
39
|
return o;
|
|
38
40
|
}
|
|
39
41
|
function createRoot(fn, detachedOwner) {
|
|
@@ -102,8 +104,10 @@ function on(deps, fn, options = {}) {
|
|
|
102
104
|
}
|
|
103
105
|
function onMount(fn) {}
|
|
104
106
|
function onCleanup(fn) {
|
|
105
|
-
if (Owner)
|
|
106
|
-
|
|
107
|
+
if (Owner) {
|
|
108
|
+
if (!Owner.cleanups) Owner.cleanups = [fn];
|
|
109
|
+
else Owner.cleanups.push(fn);
|
|
110
|
+
}
|
|
107
111
|
return fn;
|
|
108
112
|
}
|
|
109
113
|
function cleanNode(node) {
|
|
@@ -173,9 +177,10 @@ function resolveChildren(children) {
|
|
|
173
177
|
const results = [];
|
|
174
178
|
for (let i = 0; i < children.length; i++) {
|
|
175
179
|
const result = resolveChildren(children[i]);
|
|
176
|
-
if (Array.isArray(result))
|
|
177
|
-
|
|
178
|
-
|
|
180
|
+
if (Array.isArray(result)) {
|
|
181
|
+
if (result.length < 32768) results.push.apply(results, result);
|
|
182
|
+
else for (let j = 0; j < result.length; j++) results.push(result[j]);
|
|
183
|
+
} else results.push(result);
|
|
179
184
|
}
|
|
180
185
|
return results;
|
|
181
186
|
}
|
|
@@ -672,9 +677,10 @@ function createSerializer({ onData, onDone, scopeId, onError, plugins: customPlu
|
|
|
672
677
|
fe,
|
|
673
678
|
pe
|
|
674
679
|
];
|
|
680
|
+
const allPlugins = customPlugins ? [...customPlugins, ...defaultPlugins] : defaultPlugins;
|
|
675
681
|
return new mr({
|
|
676
682
|
scopeId,
|
|
677
|
-
plugins:
|
|
683
|
+
plugins: allPlugins,
|
|
678
684
|
globalIdentifier: GLOBAL_IDENTIFIER,
|
|
679
685
|
disabledFeatures: ES2017FLAG,
|
|
680
686
|
onData,
|
|
@@ -828,14 +834,16 @@ function renderToStream(code, options = {}) {
|
|
|
828
834
|
resolve();
|
|
829
835
|
return;
|
|
830
836
|
}
|
|
831
|
-
if (!completed)
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
if (!completed) {
|
|
838
|
+
if (!firstFlushed) {
|
|
839
|
+
queue(() => html = replacePlaceholder(html, key, value !== void 0 ? value : ""));
|
|
840
|
+
resolve(error);
|
|
841
|
+
} else {
|
|
842
|
+
buffer.write(`<template id="${key}">${value !== void 0 ? value : " "}</template>`);
|
|
843
|
+
pushTask(`$df("${key}")${!scriptFlushed ? ";" + REPLACE_SCRIPT : ""}`);
|
|
844
|
+
resolve(error);
|
|
845
|
+
scriptFlushed = true;
|
|
846
|
+
}
|
|
839
847
|
}
|
|
840
848
|
}
|
|
841
849
|
return firstFlushed;
|
|
@@ -985,9 +993,10 @@ function ssrElement(tag, props, children, needsId) {
|
|
|
985
993
|
let n;
|
|
986
994
|
result += `class="${escape(((n = props.class) ? n + " " : "") + ((n = props.className) ? n + " " : ""), true) + ssrClassList(props.classList)}"`;
|
|
987
995
|
classResolved = true;
|
|
988
|
-
} else if (BooleanAttributes.has(prop))
|
|
989
|
-
|
|
990
|
-
|
|
996
|
+
} else if (BooleanAttributes.has(prop)) {
|
|
997
|
+
if (value) result += prop;
|
|
998
|
+
else continue;
|
|
999
|
+
} else if (value == void 0 || prop === "ref" || prop.slice(0, 2) === "on" || prop.slice(0, 5) === "prop:") continue;
|
|
991
1000
|
else if (prop.slice(0, 5) === "bool:") {
|
|
992
1001
|
if (!value) continue;
|
|
993
1002
|
result += escape(prop.slice(5));
|
|
@@ -11,7 +11,7 @@ function invariant(condition, message) {
|
|
|
11
11
|
throw new Error(prefix);
|
|
12
12
|
}
|
|
13
13
|
//#endregion
|
|
14
|
-
//#region ../../node_modules/.pnpm/solid-relay@1.0.0-beta.29_relay-runtime@21.0.1_seroval@1.6.
|
|
14
|
+
//#region ../../node_modules/.pnpm/solid-relay@1.0.0-beta.29_relay-runtime@21.0.1_seroval@1.6.4_solid-js@1.9.14/node_modules/solid-relay/dist/index.mjs
|
|
15
15
|
var import_experimental = /* @__PURE__ */ __toESM(require_experimental(), 1);
|
|
16
16
|
var { __internal: __internal$5, createOperationDescriptor: createOperationDescriptor$3, getRequest: getRequest$4, getRequestIdentifier, Observable: Observable$1, PreloadableQueryRegistry, ReplaySubject: ReplaySubject$2 } = import_relay_runtime.default?.default?.__esModule ? import_relay_runtime.default.default : import_relay_runtime.default;
|
|
17
17
|
var fetchKey = 100001;
|
|
@@ -259,7 +259,6 @@ function createFragmentInternal(fragment, key, options, createResourceOptions) {
|
|
|
259
259
|
setResult("data", void 0);
|
|
260
260
|
setResult("error", void 0);
|
|
261
261
|
setResult("pending", true);
|
|
262
|
-
break;
|
|
263
262
|
}
|
|
264
263
|
});
|
|
265
264
|
onResult?.(res);
|
|
@@ -548,7 +547,6 @@ function createLazyLoadQueryInternal(params) {
|
|
|
548
547
|
setResult("data", void 0);
|
|
549
548
|
setResult("error", void 0);
|
|
550
549
|
setResult("pending", true);
|
|
551
|
-
break;
|
|
552
550
|
}
|
|
553
551
|
});
|
|
554
552
|
} });
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/valibot@1.4.2_typescript@7.0.2/node_modules/valibot/dist/index.mjs
|
|
2
|
-
var store$4;
|
|
3
1
|
var DEFAULT_CONFIG = {
|
|
4
2
|
lang: void 0,
|
|
5
3
|
message: void 0,
|
|
@@ -15,51 +13,14 @@ var DEFAULT_CONFIG = {
|
|
|
15
13
|
*/
|
|
16
14
|
/* @__NO_SIDE_EFFECTS__ */
|
|
17
15
|
function getGlobalConfig(config$1) {
|
|
18
|
-
if (!config$1 &&
|
|
16
|
+
if (!config$1 && true) return DEFAULT_CONFIG;
|
|
19
17
|
return {
|
|
20
|
-
lang: config$1?.lang ??
|
|
18
|
+
lang: config$1?.lang ?? void 0,
|
|
21
19
|
message: config$1?.message,
|
|
22
|
-
abortEarly: config$1?.abortEarly ??
|
|
23
|
-
abortPipeEarly: config$1?.abortPipeEarly ??
|
|
20
|
+
abortEarly: config$1?.abortEarly ?? void 0,
|
|
21
|
+
abortPipeEarly: config$1?.abortPipeEarly ?? void 0
|
|
24
22
|
};
|
|
25
23
|
}
|
|
26
|
-
var store$3;
|
|
27
|
-
/**
|
|
28
|
-
* Returns a global error message.
|
|
29
|
-
*
|
|
30
|
-
* @param lang The language of the message.
|
|
31
|
-
*
|
|
32
|
-
* @returns The error message.
|
|
33
|
-
*/
|
|
34
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
35
|
-
function getGlobalMessage(lang) {
|
|
36
|
-
return store$3?.get(lang);
|
|
37
|
-
}
|
|
38
|
-
var store$2;
|
|
39
|
-
/**
|
|
40
|
-
* Returns a schema error message.
|
|
41
|
-
*
|
|
42
|
-
* @param lang The language of the message.
|
|
43
|
-
*
|
|
44
|
-
* @returns The error message.
|
|
45
|
-
*/
|
|
46
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
47
|
-
function getSchemaMessage(lang) {
|
|
48
|
-
return store$2?.get(lang);
|
|
49
|
-
}
|
|
50
|
-
var store$1;
|
|
51
|
-
/**
|
|
52
|
-
* Returns a specific error message.
|
|
53
|
-
*
|
|
54
|
-
* @param reference The identifier reference.
|
|
55
|
-
* @param lang The language of the message.
|
|
56
|
-
*
|
|
57
|
-
* @returns The error message.
|
|
58
|
-
*/
|
|
59
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
60
|
-
function getSpecificMessage(reference, lang) {
|
|
61
|
-
return store$1?.get(reference)?.get(lang);
|
|
62
|
-
}
|
|
63
24
|
/**
|
|
64
25
|
* Stringifies an unknown input to a literal or type string.
|
|
65
26
|
*
|
|
@@ -107,7 +68,7 @@ function _addIssue(context, label, dataset, config$1, other) {
|
|
|
107
68
|
abortPipeEarly: config$1.abortPipeEarly
|
|
108
69
|
};
|
|
109
70
|
const isSchema = context.kind === "schema";
|
|
110
|
-
const message$1 = other?.message ?? context.message ??
|
|
71
|
+
const message$1 = other?.message ?? context.message ?? (context.reference, issue.lang, void 0) ?? (isSchema ? (issue.lang, void 0) : null) ?? config$1.message ?? (issue.lang, void 0);
|
|
111
72
|
if (message$1 !== void 0) issue.message = typeof message$1 === "function" ? message$1(issue) : message$1;
|
|
112
73
|
if (isSchema) dataset.typed = false;
|
|
113
74
|
if (dataset.issues) dataset.issues.push(issue);
|
|
@@ -25,7 +25,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
25
25
|
}
|
|
26
26
|
return to;
|
|
27
27
|
};
|
|
28
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
29
29
|
value: mod,
|
|
30
30
|
enumerable: true
|
|
31
31
|
}) : target, mod));
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { r as __toESM } from "./_runtime.mjs";
|
|
2
2
|
import { n as require_relay_runtime } from "./_libs/relay-runtime.mjs";
|
|
3
3
|
import { C as ErrorBoundary, D as Show, I as createEffect, J as onCleanup, L as createMemo, N as createComponent, V as createSignal, g as ssrAttribute, h as ssr, u as escape, v as ssrHydrationKey, w as For } from "./_libs/solid-js.mjs";
|
|
4
|
-
import { n as Title } from "./_ssr/dist-D6rgyh-L.mjs";
|
|
5
4
|
import { a as createPaginationFragment, n as createFragment, o as createPreloadedQuery } from "./_libs/solid-relay+tiny-invariant.mjs";
|
|
6
|
-
import {
|
|
5
|
+
import { Q as Title, Y as A, q as node$5 } from "./_ssr/ssr.mjs";
|
|
7
6
|
import { t as actorLabel } from "./_ssr/label-DAXzanI9.mjs";
|
|
8
7
|
import { t as CopyButton } from "./_ssr/CopyButton-CQNR5D1y.mjs";
|
|
9
8
|
import { t as createHighlighterCoreSync } from "./_libs/@shikijs/core+[...].mjs";
|
|
10
9
|
import { t as createJavaScriptRegexEngine } from "./_libs/@shikijs/engine-javascript+[...].mjs";
|
|
11
10
|
import { t as json_default } from "./_libs/shikijs__langs.mjs";
|
|
12
11
|
import { n as github_dark_default, t as github_light_default } from "./_libs/shikijs__themes.mjs";
|
|
13
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/_slug_-
|
|
12
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/_slug_-CamNffYc.js
|
|
14
13
|
var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
|
|
15
14
|
/**
|
|
16
15
|
* @generated SignedSource<<5698f7736a4eee66215cb08bd8e9db88>>
|
|
@@ -880,7 +879,7 @@ var _tmpl$5 = [
|
|
|
880
879
|
"<!--/--></dd></div>"
|
|
881
880
|
];
|
|
882
881
|
var id$$ = "src/routes/instance/[slug].tsx?pick=default&pick=$css&lang.tsx";
|
|
883
|
-
var instanceDetailQuery = node$
|
|
882
|
+
var instanceDetailQuery = node$5;
|
|
884
883
|
/**
|
|
885
884
|
* The federation endpoints worth linking to from an instance's page.
|
|
886
885
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as createContext, J as onCleanup, L as createMemo, V as createSignal, Y as onMount, nt as useContext } from "../_libs/solid-js.mjs";
|
|
2
|
-
import {
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/LP6E37CW-
|
|
2
|
+
import { V as visuallyHiddenStyles } from "./ssr.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/LP6E37CW-Bs07BPsK.js
|
|
4
4
|
var LIVEREGION_TIMEOUT_DELAY = 7e3;
|
|
5
5
|
var liveAnnouncer = null;
|
|
6
6
|
var DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as splitProps, F as createContext, H as createUniqueId, I as createEffect, K as mergeProps, N as createComponent, nt as useContext, q as on } from "../_libs/solid-js.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { a as FormControlErrorMessage, d as createFormControl, f as createFormControlField, g as useFormControlContext, i as FormControlDescription, n as FORM_CONTROL_PROP_NAMES, o as FormControlLabel, p as createFormResetListener, r as FormControlContext, s as access, t as FORM_CONTROL_FIELD_PROP_NAMES, u as createControllableSignal } from "./form.module-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/TSB6MOZK-
|
|
2
|
+
import { I as mergeDefaultProps, b as createGenerateId, m as Polymorphic, p as __export, v as composeEventHandlers } from "./ssr.mjs";
|
|
3
|
+
import { a as FormControlErrorMessage, d as createFormControl, f as createFormControlField, g as useFormControlContext, i as FormControlDescription, n as FORM_CONTROL_PROP_NAMES, o as FormControlLabel, p as createFormResetListener, r as FormControlContext, s as access, t as FORM_CONTROL_FIELD_PROP_NAMES, u as createControllableSignal } from "./form.module-B3iJri2-.mjs";
|
|
4
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/TSB6MOZK-Dz16RpiS.js
|
|
5
5
|
__export({}, {
|
|
6
6
|
Description: () => FormControlDescription,
|
|
7
7
|
ErrorMessage: () => FormControlErrorMessage,
|
|
@@ -24,7 +24,8 @@ function TextFieldInput(props) {
|
|
|
24
24
|
function TextFieldInputBase(props) {
|
|
25
25
|
const formControlContext = useFormControlContext();
|
|
26
26
|
const context = useTextFieldContext();
|
|
27
|
-
const
|
|
27
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("input") }, props);
|
|
28
|
+
const [local, formControlFieldProps, others] = splitProps(mergedProps, ["onInput"], FORM_CONTROL_FIELD_PROP_NAMES);
|
|
28
29
|
const { fieldProps } = createFormControlField(formControlFieldProps);
|
|
29
30
|
return createComponent(Polymorphic, mergeProps({
|
|
30
31
|
as: "input",
|
|
@@ -74,7 +75,9 @@ function TextFieldInputBase(props) {
|
|
|
74
75
|
}
|
|
75
76
|
function TextFieldRoot(props) {
|
|
76
77
|
let ref;
|
|
77
|
-
const
|
|
78
|
+
const defaultId = `textfield-${createUniqueId()}`;
|
|
79
|
+
const mergedProps = mergeDefaultProps({ id: defaultId }, props);
|
|
80
|
+
const [local, formControlProps, others] = splitProps(mergedProps, [
|
|
78
81
|
"ref",
|
|
79
82
|
"value",
|
|
80
83
|
"defaultValue",
|
|
@@ -120,7 +123,8 @@ function TextFieldRoot(props) {
|
|
|
120
123
|
function TextFieldTextArea(props) {
|
|
121
124
|
let ref;
|
|
122
125
|
const context = useTextFieldContext();
|
|
123
|
-
const
|
|
126
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("textarea") }, props);
|
|
127
|
+
const [local, others] = splitProps(mergedProps, [
|
|
124
128
|
"ref",
|
|
125
129
|
"autoResize",
|
|
126
130
|
"submitOnEnter",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as createComponent, h as ssr, u as escape, v as ssrHydrationKey } from "../_libs/solid-js.mjs";
|
|
2
|
-
import {
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/about-
|
|
2
|
+
import { Q as Title } from "./ssr.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/about-K4E3_OxN.js
|
|
4
4
|
var _tmpl$ = [
|
|
5
5
|
"<main",
|
|
6
6
|
"><!--$-->",
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { r as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { n as require_relay_runtime } from "../_libs/relay-runtime.mjs";
|
|
3
3
|
import { $ as splitProps, A as batch, D as Show, F as createContext, H as createUniqueId, I as createEffect, K as mergeProps, L as createMemo, N as createComponent, V as createSignal, _ as ssrElement, g as ssrAttribute, h as ssr, nt as useContext, q as on, u as escape, v as ssrHydrationKey, y as ssrStyle } from "../_libs/solid-js.mjs";
|
|
4
|
-
import { n as Title } from "./dist-D6rgyh-L.mjs";
|
|
5
|
-
import { i as combineStyle, s as navigateWithToast } from "./Toast-Bb1gcxED.mjs";
|
|
6
|
-
import { D as mergeDefaultProps, M as visuallyHiddenStyles, _ as getPrecision, a as __export, i as Polymorphic, j as snapValueToStep, l as createGenerateId, n as ButtonRoot, o as callHandler, s as composeEventHandlers, t as Button } from "./JNCCF6MP-BAZlBnvx.mjs";
|
|
7
|
-
import { a as integer, c as minValue, d as object, h as pipe, u as number } from "../_libs/valibot.mjs";
|
|
8
4
|
import { i as createMutation, o as createPreloadedQuery } from "../_libs/solid-relay+tiny-invariant.mjs";
|
|
9
|
-
import {
|
|
5
|
+
import { a as integer, c as minValue, d as object, h as pipe, u as number } from "../_libs/valibot.mjs";
|
|
6
|
+
import { B as snapValueToStep, E as getPrecision, H as combineStyle, I as mergeDefaultProps, K as node$4, Q as Title, V as visuallyHiddenStyles, _ as callHandler, b as createGenerateId, d as Button, f as ButtonRoot, m as Polymorphic, p as __export, r as navigateWithToast, v as composeEventHandlers } from "./ssr.mjs";
|
|
10
7
|
import { n as Form, r as createForm, t as Field } from "./dist-I7KRMRbA.mjs";
|
|
11
|
-
import { a as FormControlErrorMessage, d as createFormControl, f as createFormControlField, g as useFormControlContext, i as FormControlDescription, m as form_module_default, n as FORM_CONTROL_PROP_NAMES, o as FormControlLabel, p as createFormResetListener, r as FormControlContext, s as access, t as FORM_CONTROL_FIELD_PROP_NAMES, u as createControllableSignal } from "./form.module-
|
|
12
|
-
import { a as useLocale, n as announce, r as clearAnnouncer } from "./LP6E37CW-
|
|
13
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/actors-
|
|
8
|
+
import { a as FormControlErrorMessage, d as createFormControl, f as createFormControlField, g as useFormControlContext, i as FormControlDescription, m as form_module_default, n as FORM_CONTROL_PROP_NAMES, o as FormControlLabel, p as createFormResetListener, r as FormControlContext, s as access, t as FORM_CONTROL_FIELD_PROP_NAMES, u as createControllableSignal } from "./form.module-B3iJri2-.mjs";
|
|
9
|
+
import { a as useLocale, n as announce, r as clearAnnouncer } from "./LP6E37CW-Bs07BPsK.mjs";
|
|
10
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/actors-DQIzbpiq.js
|
|
14
11
|
var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
|
|
15
12
|
/**
|
|
16
13
|
* @generated SignedSource<<a0adbd723962824209886a67c97e521e>>
|
|
@@ -171,7 +168,8 @@ var node = function() {
|
|
|
171
168
|
node.hash = "c9e9c50790753aeefacb0eb60b5e6adf";
|
|
172
169
|
var SPIN_BUTTON_INTL_TRANSLATIONS = { empty: "Empty" };
|
|
173
170
|
function SpinButtonRoot(props) {
|
|
174
|
-
const
|
|
171
|
+
const mergedProps = mergeDefaultProps({ translations: SPIN_BUTTON_INTL_TRANSLATIONS }, props);
|
|
172
|
+
const [local, others] = splitProps(mergedProps, [
|
|
175
173
|
"style",
|
|
176
174
|
"translations",
|
|
177
175
|
"value",
|
|
@@ -228,12 +226,10 @@ function SpinButtonRoot(props) {
|
|
|
228
226
|
local.onDecrementToMin();
|
|
229
227
|
}
|
|
230
228
|
break;
|
|
231
|
-
case "End":
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
break;
|
|
229
|
+
case "End": if (local.onIncrementToMax) {
|
|
230
|
+
e.preventDefault();
|
|
231
|
+
local.onIncrementToMax();
|
|
232
|
+
}
|
|
237
233
|
}
|
|
238
234
|
};
|
|
239
235
|
const onFocus = (e) => {
|
|
@@ -399,8 +395,10 @@ function $1dfb119a85e764e5$export$711b50b3c525e0f2(numberFormat, signDisplay, nu
|
|
|
399
395
|
else {
|
|
400
396
|
let needsPositiveSign = false;
|
|
401
397
|
if (signDisplay === "always") needsPositiveSign = num > 0 || Object.is(num, 0);
|
|
402
|
-
else if (signDisplay === "exceptZero")
|
|
403
|
-
|
|
398
|
+
else if (signDisplay === "exceptZero") {
|
|
399
|
+
if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);
|
|
400
|
+
else needsPositiveSign = num > 0;
|
|
401
|
+
}
|
|
404
402
|
if (needsPositiveSign) {
|
|
405
403
|
let negative = numberFormat.format(-num);
|
|
406
404
|
let noSign = numberFormat.format(num);
|
|
@@ -705,13 +703,14 @@ function NumberFieldIncrementTrigger(props) {
|
|
|
705
703
|
function NumberFieldInput(props) {
|
|
706
704
|
const formControlContext = useFormControlContext();
|
|
707
705
|
const context = useNumberFieldContext();
|
|
708
|
-
const
|
|
706
|
+
const mergedProps = mergeDefaultProps({
|
|
709
707
|
id: context.generateId("input"),
|
|
710
708
|
inputMode: "decimal",
|
|
711
709
|
autocomplete: "off",
|
|
712
710
|
autocorrect: "off",
|
|
713
711
|
spellcheck: false
|
|
714
|
-
}, props)
|
|
712
|
+
}, props);
|
|
713
|
+
const [local, formControlFieldProps, others] = splitProps(mergedProps, [
|
|
715
714
|
"ref",
|
|
716
715
|
"onInput",
|
|
717
716
|
"onChange",
|
|
@@ -814,8 +813,9 @@ function NumberFieldInput(props) {
|
|
|
814
813
|
}
|
|
815
814
|
function NumberFieldRoot(props) {
|
|
816
815
|
let ref;
|
|
816
|
+
const defaultId = `NumberField-${createUniqueId()}`;
|
|
817
817
|
const mergedProps = mergeDefaultProps({
|
|
818
|
-
id:
|
|
818
|
+
id: defaultId,
|
|
819
819
|
format: true,
|
|
820
820
|
minValue: Number.MIN_SAFE_INTEGER,
|
|
821
821
|
maxValue: Number.MAX_SAFE_INTEGER,
|
|
@@ -1009,7 +1009,7 @@ var _tmpl$3 = [
|
|
|
1009
1009
|
"</span>"
|
|
1010
1010
|
];
|
|
1011
1011
|
var id$$ = "src/routes/workspace/create/[instance_id]/actors.tsx?pick=default&pick=$css&lang.tsx";
|
|
1012
|
-
var getHostQuery = node$
|
|
1012
|
+
var getHostQuery = node$4;
|
|
1013
1013
|
var generateActorsMutation = node;
|
|
1014
1014
|
var generateActorsSchema = object({ size: pipe(number("Enter the number of actors."), integer("The number of actors must be a whole number."), minValue(1, "Create at least one actor.")) });
|
|
1015
1015
|
function CreateActorsPage(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as splitProps, D as Show, F as createContext, H as createUniqueId, I as createEffect, J as onCleanup, K as mergeProps, L as createMemo, N as createComponent, R as createRenderEffect, V as createSignal, W as getOwner, nt as useContext, q as on, tt as untrack } from "../_libs/solid-js.mjs";
|
|
2
|
-
import {
|
|
3
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/form.module-
|
|
2
|
+
import { I as mergeDefaultProps, b as createGenerateId, h as createTagName, m as Polymorphic, o as createRegisterId } from "./ssr.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/form.module-B3iJri2-.js
|
|
4
4
|
var isDev = false;
|
|
5
5
|
/**
|
|
6
6
|
* Accesses the value of a MaybeAccessor
|
|
@@ -29,7 +29,8 @@ var FORM_CONTROL_PROP_NAMES = [
|
|
|
29
29
|
"readOnly"
|
|
30
30
|
];
|
|
31
31
|
function createFormControl(props) {
|
|
32
|
-
const
|
|
32
|
+
const defaultId = `form-control-${createUniqueId()}`;
|
|
33
|
+
const mergedProps = mergeDefaultProps({ id: defaultId }, props);
|
|
33
34
|
const [labelId, setLabelId] = createSignal();
|
|
34
35
|
const [fieldId, setFieldId] = createSignal();
|
|
35
36
|
const [descriptionId, setDescriptionId] = createSignal();
|
|
@@ -107,7 +108,8 @@ function createFormControlField(props) {
|
|
|
107
108
|
function FormControlLabel(props) {
|
|
108
109
|
let ref;
|
|
109
110
|
const context = useFormControlContext();
|
|
110
|
-
const
|
|
111
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("label") }, props);
|
|
112
|
+
const [local, others] = splitProps(mergedProps, ["ref"]);
|
|
111
113
|
const tagName = createTagName(() => ref, () => "label");
|
|
112
114
|
createEffect(() => onCleanup(context.registerLabel(others.id)));
|
|
113
115
|
return createComponent(Polymorphic, mergeProps({
|
|
@@ -136,7 +138,8 @@ function isFormElement(element) {
|
|
|
136
138
|
}
|
|
137
139
|
function FormControlErrorMessage(props) {
|
|
138
140
|
const context = useFormControlContext();
|
|
139
|
-
const
|
|
141
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("error-message") }, props);
|
|
142
|
+
const [local, others] = splitProps(mergedProps, ["forceMount"]);
|
|
140
143
|
const isInvalid = () => context.validationState() === "invalid";
|
|
141
144
|
createEffect(() => {
|
|
142
145
|
if (!isInvalid()) return;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { n as require_relay_runtime } from "../_libs/relay-runtime.mjs";
|
|
3
3
|
import { D as Show, N as createComponent, h as ssr, u as escape, v as ssrHydrationKey } from "../_libs/solid-js.mjs";
|
|
4
|
-
import { n as Title } from "./dist-D6rgyh-L.mjs";
|
|
5
4
|
import { r as createLazyLoadQuery } from "../_libs/solid-relay+tiny-invariant.mjs";
|
|
6
|
-
|
|
5
|
+
import { Q as Title } from "./ssr.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/index-DQYLULEn.js
|
|
7
7
|
var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
|
|
8
8
|
/**
|
|
9
9
|
* @generated SignedSource<<6aa6da9b6e57613f46955d64c60f3c31>>
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { r as __toESM } from "../_runtime.mjs";
|
|
2
2
|
import { n as require_relay_runtime } from "../_libs/relay-runtime.mjs";
|
|
3
3
|
import { D as Show, N as createComponent, g as ssrAttribute, h as ssr, u as escape, v as ssrHydrationKey, w as For } from "../_libs/solid-js.mjs";
|
|
4
|
-
import { n as Title } from "./dist-D6rgyh-L.mjs";
|
|
5
4
|
import { n as createFragment, r as createLazyLoadQuery } from "../_libs/solid-relay+tiny-invariant.mjs";
|
|
6
|
-
import {
|
|
7
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/index-
|
|
5
|
+
import { Q as Title, Y as A } from "./ssr.mjs";
|
|
6
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/index-DU0kuIH3.js
|
|
8
7
|
var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
|
|
9
8
|
/**
|
|
10
9
|
* @generated SignedSource<<106d9a83103ddc8933ffe131ca07b4a8>>
|