@sanity/assist 6.0.5 → 6.0.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/index.js +23 -23
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -988,7 +988,7 @@ function RunInstructionProvider(props) {
|
|
|
988
988
|
}, $[18] = loading, $[19] = runInstruction, $[20] = t7) : t7 = $[20];
|
|
989
989
|
const contextValue = t7;
|
|
990
990
|
let t8;
|
|
991
|
-
$[21] !== close || $[22] !== id || $[23] !== inputs || $[24] !== open || $[25] !== runButton || $[26] !== runDisabled || $[27] !== runRequest ? (t8 = open ? /* @__PURE__ */ jsx(Dialog, { id, open, onClose: close, width: 1, header: "dialogTitle" in runRequest ? runRequest.dialogTitle : getInstructionTitle(runRequest?.instruction), footer: /* @__PURE__ */ jsx(Flex, { justify: "space-between", padding: 2, flex: 1, children: runDisabled ? /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx(Flex, { padding: 2, children: /* @__PURE__ */ jsx(Text, { children: "Unable to run instruction. All fields must have a value." }) }), placement: "top", children: /* @__PURE__ */ jsx(Flex, { flex: 1, children: runButton }) }) : runButton }), children: /* @__PURE__ */ jsx(Stack, { padding: 4,
|
|
991
|
+
$[21] !== close || $[22] !== id || $[23] !== inputs || $[24] !== open || $[25] !== runButton || $[26] !== runDisabled || $[27] !== runRequest ? (t8 = open ? /* @__PURE__ */ jsx(Dialog, { id, open, onClose: close, width: 1, header: "dialogTitle" in runRequest ? runRequest.dialogTitle : getInstructionTitle(runRequest?.instruction), footer: /* @__PURE__ */ jsx(Flex, { justify: "space-between", padding: 2, flex: 1, children: runDisabled ? /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx(Flex, { padding: 2, children: /* @__PURE__ */ jsx(Text, { children: "Unable to run instruction. All fields must have a value." }) }), placement: "top", children: /* @__PURE__ */ jsx(Flex, { flex: 1, children: runButton }) }) : runButton }), children: /* @__PURE__ */ jsx(Stack, { padding: 4, gap: 2, children: runRequest?.userInputBlocks?.map((block_0, i_1) => /* @__PURE__ */ jsx(UserInput, { block: block_0, autoFocus: i_1 === 0, inputs, setInputs }, block_0._key)) }) }) : null, $[21] = close, $[22] = id, $[23] = inputs, $[24] = open, $[25] = runButton, $[26] = runDisabled, $[27] = runRequest, $[28] = t8) : t8 = $[28];
|
|
992
992
|
let t9;
|
|
993
993
|
return $[29] !== contextValue || $[30] !== props.children || $[31] !== t8 ? (t9 = /* @__PURE__ */ jsxs(RunInstructionContext.Provider, { value: contextValue, children: [
|
|
994
994
|
t8,
|
|
@@ -1046,7 +1046,7 @@ function UserInput(props) {
|
|
|
1046
1046
|
let t6;
|
|
1047
1047
|
$[10] !== onChange || $[11] !== value ? (t6 = /* @__PURE__ */ jsx(TextArea, { ref: textAreaRef, rows: 4, value, onChange, style: t5 }), $[10] = onChange, $[11] = value, $[12] = t6) : t6 = $[12];
|
|
1048
1048
|
let t7;
|
|
1049
|
-
return $[13] !== t4 || $[14] !== t6 ? (t7 = /* @__PURE__ */ jsxs(Stack, { padding: 2,
|
|
1049
|
+
return $[13] !== t4 || $[14] !== t6 ? (t7 = /* @__PURE__ */ jsxs(Stack, { padding: 2, gap: 3, children: [
|
|
1050
1050
|
t4,
|
|
1051
1051
|
t6
|
|
1052
1052
|
] }), $[13] = t4, $[14] = t6, $[15] = t7) : t7 = $[15], t7;
|
|
@@ -1414,7 +1414,7 @@ function ErrorWrapper(props) {
|
|
|
1414
1414
|
$[4] !== props.children ? (t3 = /* @__PURE__ */ jsx(ErrorBoundary, { onCatch: catchError2, children: props.children }), $[4] = props.children, $[5] = t3) : t3 = $[5];
|
|
1415
1415
|
const catcher = t3;
|
|
1416
1416
|
let t4;
|
|
1417
|
-
return $[6] !== catcher || $[7] !== error || $[8] !== unsetValue ? (t4 = error ? /* @__PURE__ */ jsx(Card, { border: !0, tone: "critical", padding: 2, contentEditable: !1, children: /* @__PURE__ */ jsxs(Stack, {
|
|
1417
|
+
return $[6] !== catcher || $[7] !== error || $[8] !== unsetValue ? (t4 = error ? /* @__PURE__ */ jsx(Card, { border: !0, tone: "critical", padding: 2, contentEditable: !1, children: /* @__PURE__ */ jsxs(Stack, { gap: 3, children: [
|
|
1418
1418
|
/* @__PURE__ */ jsx(Text, { muted: !0, weight: "semibold", children: "An error occurred." }),
|
|
1419
1419
|
/* @__PURE__ */ jsx(WrapPreCard, { flex: 1, padding: 2, tone: "critical", border: !0, children: catcher }),
|
|
1420
1420
|
/* @__PURE__ */ jsxs(Flex, { width: "fill", flex: 1, gap: 3, children: [
|
|
@@ -1667,7 +1667,7 @@ function InspectorOnboarding(props) {
|
|
|
1667
1667
|
textAlign: "center"
|
|
1668
1668
|
}, children: /* @__PURE__ */ jsx(SparklesIllustration, {}) }), t1 = /* @__PURE__ */ jsx(Text, { align: "center", size: 1, children: "Create reusable AI instructions that can be applied across all documents of a certain type." }), $[0] = t0, $[1] = t1) : (t0 = $[0], t1 = $[1]);
|
|
1669
1669
|
let t2;
|
|
1670
|
-
return $[2] !== onDismiss ? (t2 = /* @__PURE__ */ jsx(Box, { padding: 4, children: /* @__PURE__ */ jsx(Container, { width: 0, children: /* @__PURE__ */ jsxs(Stack, {
|
|
1670
|
+
return $[2] !== onDismiss ? (t2 = /* @__PURE__ */ jsx(Box, { padding: 4, children: /* @__PURE__ */ jsx(Container, { width: 0, children: /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
1671
1671
|
t0,
|
|
1672
1672
|
t1,
|
|
1673
1673
|
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: 2, justify: "center", children: [
|
|
@@ -1781,7 +1781,7 @@ function FieldTitle(props) {
|
|
|
1781
1781
|
let t6;
|
|
1782
1782
|
$[11] !== t5 ? (t6 = /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Text, { size: 1, weight: "medium", children: t5 }) }), $[11] = t5, $[12] = t6) : t6 = $[12];
|
|
1783
1783
|
let t7;
|
|
1784
|
-
$[13] !== T0 || $[14] !== t0 || $[15] !== t1 || $[16] !== t2 || $[17] !== t3 || $[18] !== t6 ? (t7 = /* @__PURE__ */ jsxs(T0, { style: t0, separator: t1,
|
|
1784
|
+
$[13] !== T0 || $[14] !== t0 || $[15] !== t1 || $[16] !== t2 || $[17] !== t3 || $[18] !== t6 ? (t7 = /* @__PURE__ */ jsxs(T0, { style: t0, separator: t1, gap: t2, children: [
|
|
1785
1785
|
t3,
|
|
1786
1786
|
t6
|
|
1787
1787
|
] }), $[13] = T0, $[14] = t0, $[15] = t1, $[16] = t2, $[17] = t3, $[18] = t6, $[19] = t7) : t7 = $[19];
|
|
@@ -1910,7 +1910,7 @@ function TaskList(props) {
|
|
|
1910
1910
|
let t1;
|
|
1911
1911
|
$[3] !== tasks ? (t1 = tasks.map(_temp$6), $[3] = tasks, $[4] = t1) : t1 = $[4];
|
|
1912
1912
|
let t2;
|
|
1913
|
-
return $[5] !== t1 ? (t2 = /* @__PURE__ */ jsx(Stack, { padding: 1,
|
|
1913
|
+
return $[5] !== t1 ? (t2 = /* @__PURE__ */ jsx(Stack, { padding: 1, gap: 1, children: t1 }), $[5] = t1, $[6] = t2) : t2 = $[6], t2;
|
|
1914
1914
|
}
|
|
1915
1915
|
function _temp$6(task) {
|
|
1916
1916
|
return /* @__PURE__ */ jsx(TaskItem, { task }, task._key);
|
|
@@ -1945,7 +1945,7 @@ function TaskItem(props) {
|
|
|
1945
1945
|
let t9;
|
|
1946
1946
|
$[14] !== t8 ? (t9 = /* @__PURE__ */ jsx(Text, { muted: !0, size: 1, children: /* @__PURE__ */ jsx(TimeAgo, { date: t8 }) }), $[14] = t8, $[15] = t9) : t9 = $[15];
|
|
1947
1947
|
let t10;
|
|
1948
|
-
$[16] !== t6 || $[17] !== t7 || $[18] !== t9 ? (t10 = /* @__PURE__ */ jsxs(Stack, { flex: 1,
|
|
1948
|
+
$[16] !== t6 || $[17] !== t7 || $[18] !== t9 ? (t10 = /* @__PURE__ */ jsxs(Stack, { flex: 1, gap: 2, children: [
|
|
1949
1949
|
t6,
|
|
1950
1950
|
t7,
|
|
1951
1951
|
t9
|
|
@@ -1976,7 +1976,7 @@ function AssistInspectorWrapper(props) {
|
|
|
1976
1976
|
const $ = c(43), context = useAiAssistanceConfig();
|
|
1977
1977
|
if (context.statusLoading) {
|
|
1978
1978
|
let t02;
|
|
1979
|
-
return $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t02 = /* @__PURE__ */ jsx(Flex, { align: "center", height: "fill", justify: "center", padding: 4, sizing: "border", children: /* @__PURE__ */ jsxs(Stack, {
|
|
1979
|
+
return $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t02 = /* @__PURE__ */ jsx(Flex, { align: "center", height: "fill", justify: "center", padding: 4, sizing: "border", children: /* @__PURE__ */ jsxs(Stack, { gap: 3, style: {
|
|
1980
1980
|
textAlign: "center"
|
|
1981
1981
|
}, children: [
|
|
1982
1982
|
/* @__PURE__ */ jsx(Spinner, { muted: !0 }),
|
|
@@ -1999,7 +1999,7 @@ function AssistInspectorWrapper(props) {
|
|
|
1999
1999
|
let t2;
|
|
2000
2000
|
$[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t2 = /* @__PURE__ */ jsx("a", { href: salesUrl, target: "_blank", rel: "noreferrer", children: "contact our sales team" }), $[4] = t2) : t2 = $[4];
|
|
2001
2001
|
let t3;
|
|
2002
|
-
$[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t3 = /* @__PURE__ */ jsxs(Stack, { flex: 1, overflow: "auto", padding: 4,
|
|
2002
|
+
$[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t3 = /* @__PURE__ */ jsxs(Stack, { flex: 1, overflow: "auto", padding: 4, gap: 3, children: [
|
|
2003
2003
|
t1,
|
|
2004
2004
|
/* @__PURE__ */ jsxs(Text, { as: "p", muted: !0, size: 1, children: [
|
|
2005
2005
|
"Please get in touch with a Sanity account manager or",
|
|
@@ -2051,7 +2051,7 @@ function AssistInspectorWrapper(props) {
|
|
|
2051
2051
|
let t8;
|
|
2052
2052
|
$[26] !== context.init || $[27] !== context.initLoading || $[28] !== t6 || $[29] !== t7 ? (t8 = /* @__PURE__ */ jsx(Button, { fontSize: 1, icon: t6, text: t7, tone: "primary", onClick: context.init, disabled: context.initLoading }), $[26] = context.init, $[27] = context.initLoading, $[28] = t6, $[29] = t7, $[30] = t8) : t8 = $[30];
|
|
2053
2053
|
let t9;
|
|
2054
|
-
$[31] !== t1 || $[32] !== t2 || $[33] !== t3 || $[34] !== t4 || $[35] !== t5 || $[36] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Stack, { padding: 4,
|
|
2054
|
+
$[31] !== t1 || $[32] !== t2 || $[33] !== t3 || $[34] !== t4 || $[35] !== t5 || $[36] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Stack, { padding: 4, gap: 3, children: [
|
|
2055
2055
|
t1,
|
|
2056
2056
|
t2,
|
|
2057
2057
|
t3,
|
|
@@ -2588,11 +2588,11 @@ function FieldTranslationProvider(props) {
|
|
|
2588
2588
|
const runButton = t10;
|
|
2589
2589
|
let t11;
|
|
2590
2590
|
$[34] !== dialogOpen || $[35] !== fieldTranslationParams || $[36] !== fromLanguage || $[37] !== id || $[38] !== languages || $[39] !== runButton || $[40] !== runDisabled || $[41] !== selectFromLanguage || $[42] !== toLanguages || $[43] !== toggleToLanguage ? (t11 = dialogOpen ? /* @__PURE__ */ jsx(Dialog, { id, width: 1, open: dialogOpen, onClose: close, header: "Translate fields", footer: /* @__PURE__ */ jsx(Flex, { justify: "space-between", padding: 2, flex: 1, children: runDisabled ? /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx(Flex, { padding: 2, children: /* @__PURE__ */ jsx(Text, { children: "There is nothing to translate in the selected from-language." }) }), placement: "top", children: /* @__PURE__ */ jsx(Flex, { flex: 1, children: runButton }) }) : runButton }), children: languages ? /* @__PURE__ */ jsxs(Flex, { padding: 4, gap: 5, align: "flex-start", justify: "center", children: [
|
|
2591
|
-
/* @__PURE__ */ jsxs(Stack, {
|
|
2591
|
+
/* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
|
|
2592
2592
|
/* @__PURE__ */ jsx(Box, { marginBottom: 2, children: /* @__PURE__ */ jsx(Text, { weight: "semibold", children: "From" }) }),
|
|
2593
2593
|
languages?.map((radioLanguage) => /* @__PURE__ */ jsx(FromLanguageRadio, { radioLanguage, fromLanguage, selectFromLanguage, languages, fieldTranslationParams }, radioLanguage.id))
|
|
2594
2594
|
] }),
|
|
2595
|
-
/* @__PURE__ */ jsxs(Stack, {
|
|
2595
|
+
/* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
|
|
2596
2596
|
/* @__PURE__ */ jsx(Box, { marginBottom: 2, children: /* @__PURE__ */ jsx(Text, { weight: "semibold", children: "To" }) }),
|
|
2597
2597
|
languages.map((checkboxLanguage) => /* @__PURE__ */ jsx(ToLanguageCheckbox, { checkboxLanguage, fromLanguage, toLanguages, toggleToLanguage, languages }, checkboxLanguage.id))
|
|
2598
2598
|
] })
|
|
@@ -3413,7 +3413,7 @@ function BackToInstructionListLink() {
|
|
|
3413
3413
|
}), $[0] = openInspector, $[1] = t0) : t0 = $[1];
|
|
3414
3414
|
const goBack = t0;
|
|
3415
3415
|
let t1;
|
|
3416
|
-
return $[2] !== goBack ? (t1 = /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, { as: "a", fontSize: 1, icon: ArrowLeftIcon, mode: "bleed", padding: 1,
|
|
3416
|
+
return $[2] !== goBack ? (t1 = /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, { as: "a", fontSize: 1, icon: ArrowLeftIcon, mode: "bleed", padding: 1, gap: 2, onClick: goBack, text: " Instructions", textAlign: "left" }) }), $[2] = goBack, $[3] = t1) : t1 = $[3], t1;
|
|
3417
3417
|
}
|
|
3418
3418
|
const SelectedFieldContext = createContext(void 0), SelectedFieldContextProvider = SelectedFieldContext.Provider, EMPTY_FIELDS = [];
|
|
3419
3419
|
function AssistDocumentForm(props) {
|
|
@@ -3529,7 +3529,7 @@ function AssistDocumentFormEditable(props) {
|
|
|
3529
3529
|
let t16;
|
|
3530
3530
|
$[53] !== activePath || $[54] !== props ? (t16 = !activePath && props.renderDefault(props), $[53] = activePath, $[54] = props, $[55] = t16) : t16 = $[55];
|
|
3531
3531
|
let t17;
|
|
3532
|
-
$[56] !== fieldError_0 || $[57] !== t13 || $[58] !== t14 || $[59] !== t15 || $[60] !== t16 ? (t17 = /* @__PURE__ */ jsxs(Stack, {
|
|
3532
|
+
$[56] !== fieldError_0 || $[57] !== t13 || $[58] !== t14 || $[59] !== t15 || $[60] !== t16 ? (t17 = /* @__PURE__ */ jsxs(Stack, { gap: 5, children: [
|
|
3533
3533
|
t13,
|
|
3534
3534
|
t14,
|
|
3535
3535
|
t15,
|
|
@@ -3736,7 +3736,7 @@ function InstructionInput(props) {
|
|
|
3736
3736
|
let t0;
|
|
3737
3737
|
$[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = [4, 4, 4, 5], $[0] = t0) : t0 = $[0];
|
|
3738
3738
|
let t1;
|
|
3739
|
-
return $[1] !== props ? (t1 = /* @__PURE__ */ jsxs(Stack, {
|
|
3739
|
+
return $[1] !== props ? (t1 = /* @__PURE__ */ jsxs(Stack, { gap: t0, children: [
|
|
3740
3740
|
/* @__PURE__ */ jsx(NameField, { ...props }),
|
|
3741
3741
|
/* @__PURE__ */ jsx(ShareField, { ...props }),
|
|
3742
3742
|
/* @__PURE__ */ jsx(ObjectMember, { fieldName: "prompt", ...props }),
|
|
@@ -3805,7 +3805,7 @@ function NameField(props) {
|
|
|
3805
3805
|
t4
|
|
3806
3806
|
] }), $[17] = t3, $[18] = t4, $[19] = t5) : t5 = $[19];
|
|
3807
3807
|
let t6;
|
|
3808
|
-
return $[20] !== t1 || $[21] !== t5 ? (t6 = /* @__PURE__ */ jsx(Stack, {
|
|
3808
|
+
return $[20] !== t1 || $[21] !== t5 ? (t6 = /* @__PURE__ */ jsx(Stack, { gap: 5, children: /* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
|
|
3809
3809
|
t1,
|
|
3810
3810
|
t2,
|
|
3811
3811
|
t5
|
|
@@ -3922,7 +3922,7 @@ function ObjectOutputInput(t0) {
|
|
|
3922
3922
|
} else
|
|
3923
3923
|
t3 = $[12];
|
|
3924
3924
|
let t4;
|
|
3925
|
-
return $[16] !== t3 ? (t4 = /* @__PURE__ */ jsx(Stack, {
|
|
3925
|
+
return $[16] !== t3 ? (t4 = /* @__PURE__ */ jsx(Stack, { gap: 2, children: t3 }), $[16] = t3, $[17] = t4) : t4 = $[17], t4;
|
|
3926
3926
|
}
|
|
3927
3927
|
function _temp2$1(field_0) {
|
|
3928
3928
|
return typed({
|
|
@@ -3977,7 +3977,7 @@ function ArrayOutputInput(t0) {
|
|
|
3977
3977
|
} else
|
|
3978
3978
|
t3 = $[12];
|
|
3979
3979
|
let t4;
|
|
3980
|
-
return $[16] !== t3 ? (t4 = /* @__PURE__ */ jsx(Stack, {
|
|
3980
|
+
return $[16] !== t3 ? (t4 = /* @__PURE__ */ jsx(Stack, { gap: 2, children: t3 }), $[16] = t3, $[17] = t4) : t4 = $[17], t4;
|
|
3981
3981
|
}
|
|
3982
3982
|
function _temp4(field) {
|
|
3983
3983
|
return typed({
|
|
@@ -4037,7 +4037,7 @@ function PromptInput(props) {
|
|
|
4037
4037
|
let t1;
|
|
4038
4038
|
$[1] !== props ? (t1 = props.renderDefault(props), $[1] = props, $[2] = t1) : t1 = $[2];
|
|
4039
4039
|
let t2;
|
|
4040
|
-
return $[3] !== t1 ? (t2 = /* @__PURE__ */ jsx(PteMods, { children: /* @__PURE__ */ jsxs(Stack, {
|
|
4040
|
+
return $[3] !== t1 ? (t2 = /* @__PURE__ */ jsx(PteMods, { children: /* @__PURE__ */ jsxs(Stack, { gap: 3, children: [
|
|
4041
4041
|
t0,
|
|
4042
4042
|
t1
|
|
4043
4043
|
] }) }), $[3] = t1, $[4] = t2) : t2 = $[4], t2;
|
|
@@ -4376,7 +4376,7 @@ const contextDocumentSchema = defineType({
|
|
|
4376
4376
|
const Icon = props.icon;
|
|
4377
4377
|
return /* @__PURE__ */ jsxs(Flex, { gap: 3, align: "center", padding: 2, children: [
|
|
4378
4378
|
Icon && /* @__PURE__ */ jsx(Box, { flex: "none", children: /* @__PURE__ */ jsx(Text, { size: 1, children: /* @__PURE__ */ jsx(Icon, {}) }) }),
|
|
4379
|
-
/* @__PURE__ */ jsx(Stack, { flex: 1,
|
|
4379
|
+
/* @__PURE__ */ jsx(Stack, { flex: 1, gap: 2, children: /* @__PURE__ */ jsx(Text, { size: 1, textOverflow: "ellipsis", weight: "medium", children: getInstructionTitle(props) }) }),
|
|
4380
4380
|
props.userId && /* @__PURE__ */ jsx(Text, { size: 1, children: /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx(Text, { size: 1, children: "Only visible to you" }), padding: 2, placement: "top", portal: !0, children: /* @__PURE__ */ jsx(LockIcon, {}) }) })
|
|
4381
4381
|
] });
|
|
4382
4382
|
}
|
|
@@ -4740,7 +4740,7 @@ function SchemaTypeTool() {
|
|
|
4740
4740
|
let t8;
|
|
4741
4741
|
$[16] !== types ? (t8 = types.map(_temp), $[16] = types, $[17] = t8) : t8 = $[17];
|
|
4742
4742
|
let t9;
|
|
4743
|
-
$[18] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Stack, {
|
|
4743
|
+
$[18] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
|
|
4744
4744
|
t7,
|
|
4745
4745
|
/* @__PURE__ */ jsx("ul", { children: t8 })
|
|
4746
4746
|
] }), $[18] = t8, $[19] = t9) : t9 = $[19];
|
|
@@ -4750,7 +4750,7 @@ function SchemaTypeTool() {
|
|
|
4750
4750
|
let t12;
|
|
4751
4751
|
$[21] !== t11 ? (t12 = t11.map(_temp2), $[21] = t11, $[22] = t12) : t12 = $[22];
|
|
4752
4752
|
let t13;
|
|
4753
|
-
$[23] !== t12 ? (t13 = /* @__PURE__ */ jsxs(Stack, {
|
|
4753
|
+
$[23] !== t12 ? (t13 = /* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
|
|
4754
4754
|
t10,
|
|
4755
4755
|
/* @__PURE__ */ jsx("ul", { children: t12 })
|
|
4756
4756
|
] }), $[23] = t12, $[24] = t13) : t13 = $[24];
|
|
@@ -4760,7 +4760,7 @@ function SchemaTypeTool() {
|
|
|
4760
4760
|
t13
|
|
4761
4761
|
] }), $[25] = t13, $[26] = t9, $[27] = t14) : t14 = $[27];
|
|
4762
4762
|
let t15;
|
|
4763
|
-
return $[28] !== t14 || $[29] !== t6 ? (t15 = /* @__PURE__ */ jsx(Card, { padding: 4, overflow: "auto", style: t4, children: /* @__PURE__ */ jsxs(Stack, {
|
|
4763
|
+
return $[28] !== t14 || $[29] !== t6 ? (t15 = /* @__PURE__ */ jsx(Card, { padding: 4, overflow: "auto", style: t4, children: /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
4764
4764
|
t6,
|
|
4765
4765
|
t14
|
|
4766
4766
|
] }) }), $[28] = t14, $[29] = t6, $[30] = t15) : t15 = $[30], t15;
|