@drfed/web 0.1.0-dev.565 → 0.2.0-dev.567
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 +246 -246
- package/package.json +9 -9
- 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
|
@@ -1,16 +1,14 @@
|
|
|
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, K as mergeProps, N as createComponent, V as createSignal, g as ssrAttribute, 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
|
-
import { y as useNavigate } from "./routing-DKTLkkbY.mjs";
|
|
6
|
-
import { t as Button } from "./JNCCF6MP-BAZlBnvx.mjs";
|
|
7
|
-
import { b as string, d as object, g as regex, h as pipe, n as check, o as maxLength, s as minLength, x as trim } from "../_libs/valibot.mjs";
|
|
8
4
|
import { i as createMutation } from "../_libs/solid-relay+tiny-invariant.mjs";
|
|
5
|
+
import { b as string, d as object, g as regex, h as pipe, n as check, o as maxLength, s as minLength, x as trim } from "../_libs/valibot.mjs";
|
|
6
|
+
import { Q as Title, d as Button, et as useNavigate } from "./ssr.mjs";
|
|
9
7
|
import { n as Form, r as createForm, t as Field } from "./dist-I7KRMRbA.mjs";
|
|
10
|
-
import { m as form_module_default } from "./form.module-
|
|
11
|
-
import { t as TextField } from "./TSB6MOZK-
|
|
8
|
+
import { m as form_module_default } from "./form.module-B3iJri2-.mjs";
|
|
9
|
+
import { t as TextField } from "./TSB6MOZK-Dz16RpiS.mjs";
|
|
12
10
|
import { t as r } from "../_libs/faker-js__faker.mjs";
|
|
13
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/instance-
|
|
11
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/instance-BXwV77PI.js
|
|
14
12
|
var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
|
|
15
13
|
/**
|
|
16
14
|
* @generated SignedSource<<84600ea91878a2fddd7b9f0de02c8ba1>>
|
|
@@ -1,16 +1,14 @@
|
|
|
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, D as Show, E as Match, F as createContext, H as createUniqueId, I as createEffect, J as onCleanup, K as mergeProps, L as createMemo, M as children, N as createComponent, P as createComputed, V as createSignal, Y as onMount, _ as ssrElement, b as ssrStyleProperty, g as ssrAttribute, h as ssr, k as Switch, l as Portal, nt as useContext, q as on, u as escape, v as ssrHydrationKey, w as For, y as ssrStyle } from "../_libs/solid-js.mjs";
|
|
4
|
-
import { n as Title } from "./dist-D6rgyh-L.mjs";
|
|
5
|
-
import { a as index_default$1, c as node$1, i as combineStyle, o as layerStack, r as access, t as DATA_TOP_LAYER_ATTR } from "./Toast-Bb1gcxED.mjs";
|
|
6
|
-
import { A as scrollIntoView, C as isMac, D as mergeDefaultProps, E as isWebKit$1, M as visuallyHiddenStyles, S as isFunction, T as isString, a as __export, f as focusWithoutScrolling, g as getFocusableTreeWalker, h as getDocument, i as Polymorphic, l as createGenerateId, n as ButtonRoot, o as callHandler, s as composeEventHandlers, u as createRegisterId, v as getWindow$1, w as isNumber, y as isAppleDevice } from "./JNCCF6MP-BAZlBnvx.mjs";
|
|
7
|
-
import { S as url, b as string, d as object, f as optional, h as pipe, l as nonEmpty, m as picklist, n as check, t as array, y as strictObject } from "../_libs/valibot.mjs";
|
|
8
4
|
import { i as createMutation, o as createPreloadedQuery } from "../_libs/solid-relay+tiny-invariant.mjs";
|
|
5
|
+
import { S as url, b as string, d as object, f as optional, h as pipe, l as nonEmpty, m as picklist, n as check, t as array, y as strictObject } from "../_libs/valibot.mjs";
|
|
6
|
+
import { D as getWindow$1, F as isWebKit$1, G as node$3, H as combineStyle, I as mergeDefaultProps, M as isMac, N as isNumber, O as isAppleDevice, P as isString, Q as Title, T as getFocusableTreeWalker, V as visuallyHiddenStyles, _ as callHandler, a as access, b as createGenerateId, c as layerStack, f as ButtonRoot, i as index_default$1, j as isFunction, m as Polymorphic, o as createRegisterId, p as __export, s as DATA_TOP_LAYER_ATTR, v as composeEventHandlers, w as getDocument, x as focusWithoutScrolling, z as scrollIntoView } from "./ssr.mjs";
|
|
9
7
|
import { t as actorLabel } from "./label-DAXzanI9.mjs";
|
|
10
|
-
import { a as FormControlErrorMessage, d as createFormControl, f as createFormControlField, g as useFormControlContext, i as FormControlDescription, l as createControllableBooleanSignal, m as form_module_default, n as FORM_CONTROL_PROP_NAMES, o as FormControlLabel, p as createFormResetListener, r as FormControlContext, s as access$1, t as FORM_CONTROL_FIELD_PROP_NAMES, u as createControllableSignal } from "./form.module-
|
|
11
|
-
import { a as useLocale, i as createCollator, t as DATA_LIVE_ANNOUNCER_ATTR } from "./LP6E37CW-
|
|
12
|
-
import { t as TextField } from "./TSB6MOZK-
|
|
13
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/objects-
|
|
8
|
+
import { a as FormControlErrorMessage, d as createFormControl, f as createFormControlField, g as useFormControlContext, i as FormControlDescription, l as createControllableBooleanSignal, m as form_module_default, n as FORM_CONTROL_PROP_NAMES, o as FormControlLabel, p as createFormResetListener, r as FormControlContext, s as access$1, t as FORM_CONTROL_FIELD_PROP_NAMES, u as createControllableSignal } from "./form.module-B3iJri2-.mjs";
|
|
9
|
+
import { a as useLocale, i as createCollator, t as DATA_LIVE_ANNOUNCER_ATTR } from "./LP6E37CW-Bs07BPsK.mjs";
|
|
10
|
+
import { t as TextField } from "./TSB6MOZK-Dz16RpiS.mjs";
|
|
11
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/objects-DNPuxUtN.js
|
|
14
12
|
var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
|
|
15
13
|
/**
|
|
16
14
|
* Reactively maps an array by specified key with a callback function - underlying helper for the `<Key>` control flow.
|
|
@@ -641,9 +639,10 @@ function createSelectableItem(props, ref) {
|
|
|
641
639
|
const shouldUseVirtualFocus = () => access$1(props.shouldUseVirtualFocus);
|
|
642
640
|
const onSelect = (e) => {
|
|
643
641
|
if (manager().selectionMode() === "none") return;
|
|
644
|
-
if (manager().selectionMode() === "single")
|
|
645
|
-
|
|
646
|
-
|
|
642
|
+
if (manager().selectionMode() === "single") {
|
|
643
|
+
if (manager().isSelected(key()) && !manager().disallowEmptySelection()) manager().toggleSelection(key());
|
|
644
|
+
else manager().replaceSelection(key());
|
|
645
|
+
} else if (e?.shiftKey) manager().extendSelection(key());
|
|
647
646
|
else if (manager().selectionBehavior() === "toggle" || isCtrlKeyPressed(e) || "pointerType" in e && e.pointerType === "touch") manager().toggleSelection(key());
|
|
648
647
|
else manager().replaceSelection(key());
|
|
649
648
|
};
|
|
@@ -691,8 +690,10 @@ function createSelectableItem(props, ref) {
|
|
|
691
690
|
() => manager().focusedKey(),
|
|
692
691
|
() => manager().isFocused()
|
|
693
692
|
], ([refEl, key2, shouldUseVirtualFocus2, focusedKey, isFocused]) => {
|
|
694
|
-
if (refEl && key2 === focusedKey && isFocused && !shouldUseVirtualFocus2 && document.activeElement !== refEl)
|
|
695
|
-
|
|
693
|
+
if (refEl && key2 === focusedKey && isFocused && !shouldUseVirtualFocus2 && document.activeElement !== refEl) {
|
|
694
|
+
if (props.focus) props.focus();
|
|
695
|
+
else focusWithoutScrolling(refEl);
|
|
696
|
+
}
|
|
696
697
|
}));
|
|
697
698
|
return {
|
|
698
699
|
isSelected,
|
|
@@ -888,9 +889,10 @@ var SelectionManager = class {
|
|
|
888
889
|
}
|
|
889
890
|
select(key, e) {
|
|
890
891
|
if (this.selectionMode() === "none") return;
|
|
891
|
-
if (this.selectionMode() === "single")
|
|
892
|
-
|
|
893
|
-
|
|
892
|
+
if (this.selectionMode() === "single") {
|
|
893
|
+
if (this.isSelected(key) && !this.disallowEmptySelection()) this.toggleSelection(key);
|
|
894
|
+
else this.replaceSelection(key);
|
|
895
|
+
} else if (this.selectionBehavior() === "toggle" || e && e.pointerType === "touch") this.toggleSelection(key);
|
|
894
896
|
else this.replaceSelection(key);
|
|
895
897
|
}
|
|
896
898
|
/** Returns whether the current selection is equal to the given selection. */
|
|
@@ -1237,7 +1239,9 @@ function useListboxItemContext() {
|
|
|
1237
1239
|
function ListboxItem(props) {
|
|
1238
1240
|
let ref;
|
|
1239
1241
|
const listBoxContext = useListboxContext();
|
|
1240
|
-
const
|
|
1242
|
+
const defaultId = `${listBoxContext.generateId("item")}-${createUniqueId()}`;
|
|
1243
|
+
const mergedProps = mergeDefaultProps({ id: defaultId }, props);
|
|
1244
|
+
const [local, others] = splitProps(mergedProps, [
|
|
1241
1245
|
"ref",
|
|
1242
1246
|
"item",
|
|
1243
1247
|
"aria-label",
|
|
@@ -1367,7 +1371,8 @@ function ListboxItemDescription(props) {
|
|
|
1367
1371
|
}
|
|
1368
1372
|
function ListboxItemIndicator(props) {
|
|
1369
1373
|
const context = useListboxItemContext();
|
|
1370
|
-
const
|
|
1374
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("indicator") }, props);
|
|
1375
|
+
const [local, others] = splitProps(mergedProps, ["forceMount"]);
|
|
1371
1376
|
return createComponent(Show, {
|
|
1372
1377
|
get when() {
|
|
1373
1378
|
return local.forceMount || context.isSelected();
|
|
@@ -1388,8 +1393,9 @@ function ListboxItemLabel(props) {
|
|
|
1388
1393
|
}
|
|
1389
1394
|
function ListboxRoot(props) {
|
|
1390
1395
|
let ref;
|
|
1396
|
+
const defaultId = `listbox-${createUniqueId()}`;
|
|
1391
1397
|
const mergedProps = mergeDefaultProps({
|
|
1392
|
-
id:
|
|
1398
|
+
id: defaultId,
|
|
1393
1399
|
selectionMode: "single",
|
|
1394
1400
|
virtualized: false
|
|
1395
1401
|
}, props);
|
|
@@ -1941,9 +1947,7 @@ var flip$1 = function(options) {
|
|
|
1941
1947
|
if (placement) resetPlacement = placement;
|
|
1942
1948
|
break;
|
|
1943
1949
|
}
|
|
1944
|
-
case "initialPlacement":
|
|
1945
|
-
resetPlacement = initialPlacement;
|
|
1946
|
-
break;
|
|
1950
|
+
case "initialPlacement": resetPlacement = initialPlacement;
|
|
1947
1951
|
}
|
|
1948
1952
|
if (placement !== resetPlacement) return { reset: { placement: resetPlacement } };
|
|
1949
1953
|
}
|
|
@@ -2145,8 +2149,10 @@ var size$1 = function(options) {
|
|
|
2145
2149
|
let availableWidth = overflowAvailableWidth;
|
|
2146
2150
|
if (shiftData != null && shiftData.enabled.x) availableWidth = maximumClippingWidth;
|
|
2147
2151
|
if (shiftData != null && shiftData.enabled.y) availableHeight = maximumClippingHeight;
|
|
2148
|
-
if (noShift && !alignment)
|
|
2149
|
-
|
|
2152
|
+
if (noShift && !alignment) {
|
|
2153
|
+
if (isYAxis) availableWidth = width - 2 * max(overflow.left, overflow.right);
|
|
2154
|
+
else availableHeight = height - 2 * max(overflow.top, overflow.bottom);
|
|
2155
|
+
}
|
|
2150
2156
|
await apply({
|
|
2151
2157
|
...state,
|
|
2152
2158
|
availableWidth,
|
|
@@ -2323,9 +2329,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
2323
2329
|
const clientRect = element.getBoundingClientRect();
|
|
2324
2330
|
const domElement = unwrapElement(element);
|
|
2325
2331
|
let scale = createCoords(1);
|
|
2326
|
-
if (includeScale)
|
|
2327
|
-
if (
|
|
2328
|
-
|
|
2332
|
+
if (includeScale) {
|
|
2333
|
+
if (offsetParent) {
|
|
2334
|
+
if (isElement(offsetParent)) scale = getScale(offsetParent);
|
|
2335
|
+
} else scale = getScale(element);
|
|
2336
|
+
}
|
|
2329
2337
|
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
2330
2338
|
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
2331
2339
|
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
@@ -2816,7 +2824,8 @@ var ROTATION_DEG = {
|
|
|
2816
2824
|
};
|
|
2817
2825
|
function PopperArrow(props) {
|
|
2818
2826
|
const context = usePopperContext();
|
|
2819
|
-
const
|
|
2827
|
+
const mergedProps = mergeDefaultProps({ size: DEFAULT_SIZE }, props);
|
|
2828
|
+
const [local, others] = splitProps(mergedProps, [
|
|
2820
2829
|
"ref",
|
|
2821
2830
|
"style",
|
|
2822
2831
|
"size"
|
|
@@ -3030,7 +3039,8 @@ function PopperRoot(props) {
|
|
|
3030
3039
|
const referenceEl = anchorRef();
|
|
3031
3040
|
const floatingEl = positionerRef();
|
|
3032
3041
|
if (!referenceEl || !floatingEl) return;
|
|
3033
|
-
|
|
3042
|
+
const cleanupAutoUpdate = autoUpdate(referenceEl, floatingEl, updatePosition, { elementResize: typeof ResizeObserver === "function" });
|
|
3043
|
+
onCleanup(cleanupAutoUpdate);
|
|
3034
3044
|
});
|
|
3035
3045
|
createEffect(() => {
|
|
3036
3046
|
const positioner = positionerRef();
|
|
@@ -3550,10 +3560,11 @@ function SelectHiddenSelect(props) {
|
|
|
3550
3560
|
}
|
|
3551
3561
|
function SelectIcon(props) {
|
|
3552
3562
|
const context = useSelectContext();
|
|
3563
|
+
const mergedProps = mergeDefaultProps({ children: "▼" }, props);
|
|
3553
3564
|
return createComponent(Polymorphic, mergeProps({
|
|
3554
3565
|
as: "span",
|
|
3555
3566
|
"aria-hidden": "true"
|
|
3556
|
-
}, () => context.dataset(),
|
|
3567
|
+
}, () => context.dataset(), mergedProps));
|
|
3557
3568
|
}
|
|
3558
3569
|
function SelectLabel(props) {
|
|
3559
3570
|
const context = useSelectContext();
|
|
@@ -3569,7 +3580,8 @@ function SelectLabel(props) {
|
|
|
3569
3580
|
}
|
|
3570
3581
|
function SelectListbox(props) {
|
|
3571
3582
|
const context = useSelectContext();
|
|
3572
|
-
const
|
|
3583
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("listbox") }, props);
|
|
3584
|
+
const [local, others] = splitProps(mergedProps, [
|
|
3573
3585
|
"ref",
|
|
3574
3586
|
"id",
|
|
3575
3587
|
"onKeyDown"
|
|
@@ -3624,8 +3636,9 @@ function SelectPortal(props) {
|
|
|
3624
3636
|
});
|
|
3625
3637
|
}
|
|
3626
3638
|
function SelectBase(props) {
|
|
3627
|
-
const
|
|
3628
|
-
|
|
3639
|
+
const defaultId = `select-${createUniqueId()}`;
|
|
3640
|
+
const mergedProps = mergeDefaultProps({
|
|
3641
|
+
id: defaultId,
|
|
3629
3642
|
selectionMode: "single",
|
|
3630
3643
|
disallowEmptySelection: false,
|
|
3631
3644
|
closeOnSelection: props.selectionMode === "single",
|
|
@@ -3633,7 +3646,8 @@ function SelectBase(props) {
|
|
|
3633
3646
|
gutter: 8,
|
|
3634
3647
|
sameWidth: true,
|
|
3635
3648
|
modal: false
|
|
3636
|
-
}, props)
|
|
3649
|
+
}, props);
|
|
3650
|
+
const [local, popperProps, formControlProps, others] = splitProps(mergedProps, [
|
|
3637
3651
|
"itemComponent",
|
|
3638
3652
|
"sectionComponent",
|
|
3639
3653
|
"open",
|
|
@@ -3886,7 +3900,8 @@ function SelectRoot(props) {
|
|
|
3886
3900
|
function SelectTrigger(props) {
|
|
3887
3901
|
const formControlContext = useFormControlContext();
|
|
3888
3902
|
const context = useSelectContext();
|
|
3889
|
-
const
|
|
3903
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("trigger") }, props);
|
|
3904
|
+
const [local, formControlFieldProps, others] = splitProps(mergedProps, [
|
|
3890
3905
|
"ref",
|
|
3891
3906
|
"disabled",
|
|
3892
3907
|
"onPointerDown",
|
|
@@ -4001,7 +4016,8 @@ function SelectTrigger(props) {
|
|
|
4001
4016
|
function SelectValue(props) {
|
|
4002
4017
|
const formControlContext = useFormControlContext();
|
|
4003
4018
|
const context = useSelectContext();
|
|
4004
|
-
const
|
|
4019
|
+
const mergedProps = mergeDefaultProps({ id: context.generateId("value") }, props);
|
|
4020
|
+
const [local, others] = splitProps(mergedProps, ["id", "children"]);
|
|
4005
4021
|
const selectionManager = () => context.listState().selectionManager();
|
|
4006
4022
|
const isSelectionEmpty = () => {
|
|
4007
4023
|
const selectedKeys = selectionManager().selectedKeys();
|
|
@@ -4113,9 +4129,10 @@ var _tmpl$6 = [
|
|
|
4113
4129
|
"</button></div></fieldset></form></section></main>"
|
|
4114
4130
|
];
|
|
4115
4131
|
var id$$ = "src/routes/workspace/create/[instance_id]/objects.tsx?pick=default&pick=$css&lang.tsx";
|
|
4116
|
-
var instanceActorListQuery = node$
|
|
4132
|
+
var instanceActorListQuery = node$3;
|
|
4117
4133
|
var createObjectMutation = node;
|
|
4118
|
-
var
|
|
4134
|
+
var recipientSchema = pipe(string(), url());
|
|
4135
|
+
var recipientsSchema = optional(array(recipientSchema), []);
|
|
4119
4136
|
object({
|
|
4120
4137
|
actor: pipe(string("Select an actor."), nonEmpty("Select an actor.")),
|
|
4121
4138
|
name: string(),
|
|
@@ -1,14 +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 { D as Show, E as Match, K as mergeProps, N as createComponent, V as createSignal, g as ssrAttribute, h as ssr, k as Switch, u as escape, v as ssrHydrationKey } from "../_libs/solid-js.mjs";
|
|
4
|
-
import { n as Title } from "./dist-D6rgyh-L.mjs";
|
|
5
|
-
import { a as __export, i as Polymorphic, t as Button } from "./JNCCF6MP-BAZlBnvx.mjs";
|
|
6
|
-
import { b as string, d as object, h as pipe, l as nonEmpty, r as email, x as trim } from "../_libs/valibot.mjs";
|
|
7
4
|
import { i as createMutation } from "../_libs/solid-relay+tiny-invariant.mjs";
|
|
5
|
+
import { b as string, d as object, h as pipe, l as nonEmpty, r as email, x as trim } from "../_libs/valibot.mjs";
|
|
6
|
+
import { Q as Title, d as Button, m as Polymorphic, p as __export } from "./ssr.mjs";
|
|
8
7
|
import { n as Form, r as createForm, t as Field } from "./dist-I7KRMRbA.mjs";
|
|
9
|
-
import { m as form_module_default } from "./form.module-
|
|
10
|
-
import { t as TextField } from "./TSB6MOZK-
|
|
11
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/sign-in-
|
|
8
|
+
import { m as form_module_default } from "./form.module-B3iJri2-.mjs";
|
|
9
|
+
import { t as TextField } from "./TSB6MOZK-Dz16RpiS.mjs";
|
|
10
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/sign-in-KJ_TNq1o.js
|
|
12
11
|
var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
|
|
13
12
|
/**
|
|
14
13
|
* @generated SignedSource<<f922c28fa3ef1530d281ae9db8af9386>>
|