@expofp/floorplan
Version:
Interactive floor plan library for expos and events
35 lines (34 loc) • 1.31 kB
JavaScript
(function() {
try {
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
e.SENTRY_RELEASE = { id: "3.39.1" };
var t = new e.Error().stack;
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b3f90df-2d64-4e4c-ac66-b473fcacefaa", e._sentryDebugIdIdentifier = "sentry-dbid-8b3f90df-2d64-4e4c-ac66-b473fcacefaa");
} catch {}
})();
import { t as e } from "./jsx-runtime-BGutO_I9.js";
import { i as t, n, r, t as i } from "./select-Ck7Yfj4n.js";
import { t as a } from "./settings-item-BMVccHn4.js";
//#region ../debug/src/lib/ui/optional-enum-editor.tsx
var o = e(), s = "__DEFAULT__", c = (e) => {
var c;
return /* @__PURE__ */ (0, o.jsx)(a, {
label: e.label,
children: /* @__PURE__ */ (0, o.jsxs)(i, {
value: (c = e.value) == null ? s : c,
onValueChange: (t) => {
e.onChange(t === s ? void 0 : t);
},
children: [/* @__PURE__ */ (0, o.jsx)(r, {}), /* @__PURE__ */ (0, o.jsxs)(n, { children: [/* @__PURE__ */ (0, o.jsx)(t, {
value: s,
children: "default"
}), e.context.values.map((e) => /* @__PURE__ */ (0, o.jsx)(t, {
value: e,
children: e
}, e))] })]
})
});
};
c.displayName = "OptionalEnumEditor";
//#endregion
export { c as OptionalEnumEditor };