@overmap-ai/core 1.0.33-revamp-forms-builder.19 → 1.0.33-revamp-forms-builder.21

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.
Files changed (30) hide show
  1. package/dist/forms/fields/BaseField/BaseField.d.ts +1 -1
  2. package/dist/forms/fields/BaseField/hooks.d.ts +1 -0
  3. package/dist/forms/fields/BooleanField/BooleanField.d.ts +1 -1
  4. package/dist/forms/fields/BooleanField/BooleanInput.d.ts +1 -1
  5. package/dist/forms/fields/CustomField/CustomField.d.ts +1 -1
  6. package/dist/forms/fields/DateField/DateField.d.ts +1 -1
  7. package/dist/forms/fields/DateField/DateInput.d.ts +1 -1
  8. package/dist/forms/fields/MultiStringField/MultiStringField.d.ts +1 -1
  9. package/dist/forms/fields/MultiStringField/MultiStringInput.d.ts +1 -1
  10. package/dist/forms/fields/NumberField/NumberField.d.ts +1 -1
  11. package/dist/forms/fields/NumberField/NumberInput.d.ts +1 -1
  12. package/dist/forms/fields/SelectField/MultiSelectField.d.ts +1 -1
  13. package/dist/forms/fields/SelectField/MultiSelectInput.d.ts +1 -1
  14. package/dist/forms/fields/SelectField/SelectField.d.ts +1 -1
  15. package/dist/forms/fields/SelectField/SelectInput.d.ts +1 -1
  16. package/dist/forms/fields/StringOrTextFields/StringField/StringField.d.ts +1 -1
  17. package/dist/forms/fields/StringOrTextFields/StringField/StringInput.d.ts +1 -1
  18. package/dist/forms/fields/StringOrTextFields/TextField/TextField.d.ts +1 -1
  19. package/dist/forms/fields/StringOrTextFields/TextField/TextInput.d.ts +1 -1
  20. package/dist/forms/fields/UploadField/UploadField.d.ts +1 -1
  21. package/dist/forms/fields/UploadField/UploadInput.d.ts +1 -1
  22. package/dist/forms/fields/constants.d.ts +10 -10
  23. package/dist/forms/fields/typings.d.ts +1 -0
  24. package/dist/overmap-core.js +99 -33
  25. package/dist/overmap-core.js.map +1 -1
  26. package/dist/overmap-core.umd.cjs +99 -33
  27. package/dist/overmap-core.umd.cjs.map +1 -1
  28. package/dist/store/slices/userFormSlice.d.ts +1 -1
  29. package/dist/style.css +7 -3
  30. package/package.json +1 -1
@@ -6130,9 +6130,9 @@ var __publicField = (obj, key, value) => {
6130
6130
  }
6131
6131
  }
6132
6132
  const emptyBaseField = {
6133
- label: "",
6134
- required: false,
6135
- description: ""
6133
+ label: "Question",
6134
+ description: "Optional description",
6135
+ required: false
6136
6136
  };
6137
6137
  class BaseField extends BaseFormElement {
6138
6138
  constructor(options) {
@@ -6222,7 +6222,7 @@ var __publicField = (obj, key, value) => {
6222
6222
  return /* @__PURE__ */ jsxRuntime.jsx(InputWithHelpText, { ...restProps, children });
6223
6223
  };
6224
6224
  const useFormikInput = (props) => {
6225
- const { id, field, formId: formId2, size, ...rest } = props;
6225
+ const { id, field, formId: formId2, size, showInputOnly, ...rest } = props;
6226
6226
  const [fieldProps, meta, helpers] = formik.useField(field.getId());
6227
6227
  const { touched } = meta;
6228
6228
  const helpText = meta.error ?? field.description;
@@ -6256,6 +6256,7 @@ var __publicField = (obj, key, value) => {
6256
6256
  inputId,
6257
6257
  labelId,
6258
6258
  label,
6259
+ showInputOnly,
6259
6260
  fieldProps: fieldPropsWithValidation,
6260
6261
  helpers,
6261
6262
  field
@@ -6264,8 +6265,11 @@ var __publicField = (obj, key, value) => {
6264
6265
  ];
6265
6266
  };
6266
6267
  const truthyValues = [true, "true"];
6267
- const BooleanInput = React.memo(function BooleanInput2(props) {
6268
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps }, rest] = useFormikInput(props);
6268
+ const BooleanInput = React.memo((props) => {
6269
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps }, rest] = useFormikInput(props);
6270
+ let [{ helpText, label }] = useFormikInput(props);
6271
+ helpText = showInputOnly ? null : helpText;
6272
+ label = showInputOnly ? "" : label;
6269
6273
  const color = blocks.useSeverityColor(severity);
6270
6274
  const value = truthyValues.includes(fieldProps.value);
6271
6275
  return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -6295,6 +6299,7 @@ var __publicField = (obj, key, value) => {
6295
6299
  }
6296
6300
  ) });
6297
6301
  });
6302
+ BooleanInput.displayName = "BooleanInput";
6298
6303
  function _objectWithoutPropertiesLoose(source, excluded) {
6299
6304
  if (source == null)
6300
6305
  return {};
@@ -8146,8 +8151,11 @@ var __publicField = (obj, key, value) => {
8146
8151
  Trigger: TabsTrigger,
8147
8152
  Content: TabsContent
8148
8153
  });
8149
- const NumberInput$1 = React.memo(function NumberInput2(props) {
8150
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps, field }, rest] = useFormikInput(props);
8154
+ const NumberInput$1 = React.memo((props) => {
8155
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps, field }, rest] = useFormikInput(props);
8156
+ let [{ helpText, label }] = useFormikInput(props);
8157
+ helpText = showInputOnly ? null : helpText;
8158
+ label = showInputOnly ? "" : label;
8151
8159
  const color = blocks.useSeverityColor(severity);
8152
8160
  return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(InputWithLabel, { size, severity, inputId, labelId, label, children: /* @__PURE__ */ jsxRuntime.jsx(
8153
8161
  TextField$1.Input,
@@ -8156,6 +8164,7 @@ var __publicField = (obj, key, value) => {
8156
8164
  ...fieldProps,
8157
8165
  type: "number",
8158
8166
  id: inputId,
8167
+ placeholder: "Enter a number",
8159
8168
  min: field.minimum,
8160
8169
  max: field.maximum,
8161
8170
  step: field.integers ? 1 : 0.1,
@@ -8163,6 +8172,7 @@ var __publicField = (obj, key, value) => {
8163
8172
  }
8164
8173
  ) }) });
8165
8174
  });
8175
+ NumberInput$1.displayName = "NumberInput";
8166
8176
  const emptyNumberField = {
8167
8177
  ...emptyBaseField,
8168
8178
  type: "number",
@@ -8293,12 +8303,16 @@ var __publicField = (obj, key, value) => {
8293
8303
  return null;
8294
8304
  });
8295
8305
  let NumberField = _NumberField;
8296
- const DateInput = React.memo(function DateInput2(props) {
8297
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps }, rest] = useFormikInput(props);
8306
+ const DateInput = React.memo((props) => {
8307
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps }, rest] = useFormikInput(props);
8308
+ let [{ helpText, label }] = useFormikInput(props);
8309
+ helpText = showInputOnly ? null : helpText;
8310
+ label = showInputOnly ? "" : label;
8298
8311
  const color = blocks.useSeverityColor(severity);
8299
8312
  const value = fieldProps.value ? fieldProps.value.split("T")[0] : "";
8300
8313
  return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(InputWithLabel, { size, severity, inputId, labelId, label, children: /* @__PURE__ */ jsxRuntime.jsx(TextField$1.Input, { ...rest, ...fieldProps, type: "date", id: inputId, color, value }) }) });
8301
8314
  });
8315
+ DateInput.displayName = "DateInput";
8302
8316
  const emptyDateField = {
8303
8317
  ...emptyBaseField,
8304
8318
  type: "date"
@@ -8439,10 +8453,23 @@ var __publicField = (obj, key, value) => {
8439
8453
  clickableLinkContainer,
8440
8454
  TextFieldInputCopy
8441
8455
  };
8442
- const StringInput = React.memo(function StringInput2(props) {
8443
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps, field }, rest] = useFormikInput(props);
8456
+ const StringInput = React.memo((props) => {
8457
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps, field }, rest] = useFormikInput(props);
8458
+ let [{ helpText, label }] = useFormikInput(props);
8459
+ helpText = showInputOnly ? null : helpText;
8460
+ label = showInputOnly ? "" : label;
8444
8461
  const color = blocks.useSeverityColor(severity);
8445
- return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(InputWithLabel, { size, severity, inputId, labelId, label, children: !rest.disabled ? /* @__PURE__ */ jsxRuntime.jsx(TextField$1.Input, { ...rest, ...fieldProps, type: field.inputType, id: inputId, color }) : /* @__PURE__ */ jsxRuntime.jsxs(TextField$1.Root, { className: styles$5.clickableLinkContainer, children: [
8462
+ return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(InputWithLabel, { size, severity, inputId, labelId, label, children: !rest.disabled ? /* @__PURE__ */ jsxRuntime.jsx(
8463
+ TextField$1.Input,
8464
+ {
8465
+ ...rest,
8466
+ ...fieldProps,
8467
+ type: field.inputType,
8468
+ id: inputId,
8469
+ placeholder: "Enter a short description",
8470
+ color
8471
+ }
8472
+ ) : /* @__PURE__ */ jsxRuntime.jsxs(TextField$1.Root, { className: styles$5.clickableLinkContainer, children: [
8446
8473
  /* @__PURE__ */ jsxRuntime.jsx(
8447
8474
  "div",
8448
8475
  {
@@ -8465,6 +8492,7 @@ var __publicField = (obj, key, value) => {
8465
8492
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rt-TextFieldChrome" })
8466
8493
  ] }) }) });
8467
8494
  });
8495
+ StringInput.displayName = "StringInput";
8468
8496
  const emptyStringField = {
8469
8497
  ...emptyBaseField,
8470
8498
  type: "string",
@@ -8497,10 +8525,24 @@ var __publicField = (obj, key, value) => {
8497
8525
  __publicField(_StringField, "fieldTypeDescription", "Short text fields can hold up to 500 characters on a single line.");
8498
8526
  __publicField(_StringField, "Icon", InputIcon);
8499
8527
  let StringField = _StringField;
8500
- const TextInput = React.memo(function TextInput2(props) {
8501
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps }, rest] = useFormikInput(props);
8502
- return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(InputWithLabel, { size, severity, inputId, labelId, label, children: /* @__PURE__ */ jsxRuntime.jsx(blocks.TextArea, { ...rest, ...fieldProps, resize: "vertical", id: inputId, severity }) }) });
8528
+ const TextInput = React.memo((props) => {
8529
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps }, rest] = useFormikInput(props);
8530
+ let [{ helpText, label }] = useFormikInput(props);
8531
+ helpText = showInputOnly ? null : helpText;
8532
+ label = showInputOnly ? "" : label;
8533
+ return /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsxRuntime.jsx(InputWithLabel, { size, severity, inputId, labelId, label, children: /* @__PURE__ */ jsxRuntime.jsx(
8534
+ blocks.TextArea,
8535
+ {
8536
+ ...rest,
8537
+ ...fieldProps,
8538
+ resize: "vertical",
8539
+ id: inputId,
8540
+ placeholder: "Enter a description",
8541
+ severity
8542
+ }
8543
+ ) }) });
8503
8544
  });
8545
+ TextInput.displayName = "TextInput";
8504
8546
  const emptyTextField = {
8505
8547
  ...emptyBaseField,
8506
8548
  type: "text",
@@ -8529,9 +8571,12 @@ var __publicField = (obj, key, value) => {
8529
8571
  __publicField(_TextField, "fieldTypeDescription", "Paragraph fields can hold up to 5000 characters and can have multiple lines.");
8530
8572
  __publicField(_TextField, "Icon", RowsIcon);
8531
8573
  let TextField = _TextField;
8532
- const SelectInput = React.memo(function SelectInput2(props) {
8533
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps, field }, rest] = useFormikInput(props);
8574
+ const SelectInput = React.memo((props) => {
8575
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps, field }, rest] = useFormikInput(props);
8534
8576
  const { onChange, onBlur } = fieldProps;
8577
+ let [{ helpText, label }] = useFormikInput(props);
8578
+ helpText = showInputOnly ? null : helpText;
8579
+ label = showInputOnly ? "" : label;
8535
8580
  const options = React.useMemo(
8536
8581
  () => field.options.map((option) => ({ value: option.value, itemContent: option.label })),
8537
8582
  [field.options]
@@ -8556,6 +8601,7 @@ var __publicField = (obj, key, value) => {
8556
8601
  }
8557
8602
  ) }) });
8558
8603
  });
8604
+ SelectInput.displayName = "SelectInput";
8559
8605
  const emptySection = (id = "", fields = []) => ({
8560
8606
  type: "section",
8561
8607
  fields,
@@ -8720,8 +8766,11 @@ var __publicField = (obj, key, value) => {
8720
8766
  );
8721
8767
  return { reorderSection, reorderField };
8722
8768
  };
8723
- const MultiStringInput = React.memo(function MultiStringInput2(props) {
8724
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps }, rest] = useFormikInput(props);
8769
+ const MultiStringInput = React.memo((props) => {
8770
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps }, rest] = useFormikInput(props);
8771
+ let [{ helpText, label }] = useFormikInput(props);
8772
+ helpText = showInputOnly ? null : helpText;
8773
+ label = showInputOnly ? "" : label;
8725
8774
  const color = blocks.useSeverityColor(severity);
8726
8775
  const value = React.useMemo(
8727
8776
  () => Array.isArray(fieldProps.value) ? fieldProps.value : [],
@@ -8862,6 +8911,7 @@ var __publicField = (obj, key, value) => {
8862
8911
  ] }) })
8863
8912
  ] }) });
8864
8913
  });
8914
+ MultiStringInput.displayName = "MultiStringInput";
8865
8915
  const emptyMultiStringField = {
8866
8916
  ...emptyBaseField,
8867
8917
  type: "multi-string",
@@ -8996,9 +9046,12 @@ var __publicField = (obj, key, value) => {
8996
9046
  return value;
8997
9047
  return [value];
8998
9048
  };
8999
- const MultiSelectInput = React.memo(function MultiSelectInput2(props) {
9000
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps, field }, rest] = useFormikInput(props);
9049
+ const MultiSelectInput = React.memo((props) => {
9050
+ const [{ inputId, labelId, size, severity, showInputOnly, fieldProps, field }, rest] = useFormikInput(props);
9001
9051
  const { onChange, onBlur } = fieldProps;
9052
+ let [{ helpText, label }] = useFormikInput(props);
9053
+ helpText = showInputOnly ? null : helpText;
9054
+ label = showInputOnly ? "" : label;
9002
9055
  const value = React.useMemo(() => parseValueToArray(fieldProps.value), [fieldProps.value]);
9003
9056
  const handleChange = React.useCallback(
9004
9057
  (value2) => {
@@ -9021,6 +9074,7 @@ var __publicField = (obj, key, value) => {
9021
9074
  }
9022
9075
  ) }) });
9023
9076
  });
9077
+ MultiSelectInput.displayName = "MultiSelectInput";
9024
9078
  const emptyMultiSelectField = {
9025
9079
  ...emptyBaseField,
9026
9080
  type: "multi-select",
@@ -9112,21 +9166,25 @@ var __publicField = (obj, key, value) => {
9112
9166
  });
9113
9167
  return formatter.format(sizeInUnit);
9114
9168
  };
9115
- const NumberInput = React.memo(function NumberInput2(props) {
9169
+ const NumberInput = React.memo((props) => {
9116
9170
  var _a2;
9117
- const [{ inputId, labelId, size, severity, helpText, label, fieldProps, field }, rest] = useFormikInput(props);
9171
+ const [{ inputId, labelId, size, severity, helpText, showInputOnly, fieldProps, field }, rest] = useFormikInput(props);
9118
9172
  const { onChange } = fieldProps;
9173
+ let [{ label }] = useFormikInput(props);
9174
+ label = showInputOnly ? "" : label;
9119
9175
  const color = blocks.useSeverityColor(severity);
9120
9176
  const input = React.useRef(null);
9121
9177
  const { value } = fieldProps;
9122
9178
  const updatedHelpText = React.useMemo(() => {
9179
+ if (showInputOnly)
9180
+ return null;
9123
9181
  if (helpText)
9124
9182
  return helpText;
9125
9183
  if (field.maxFileSize) {
9126
9184
  return `Maximum file size: ${field.maxFileSize}MB`;
9127
9185
  }
9128
9186
  return null;
9129
- }, [field.maxFileSize, helpText]);
9187
+ }, [field.maxFileSize, helpText, showInputOnly]);
9130
9188
  const handleClick = React.useCallback(() => {
9131
9189
  var _a3;
9132
9190
  (_a3 = input.current) == null ? void 0 : _a3.click();
@@ -9145,7 +9203,7 @@ var __publicField = (obj, key, value) => {
9145
9203
  const buttonText = field.maxFiles > 1 ? multipleButtonText : singleButtonText;
9146
9204
  return /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { direction: "column", gap: "2", children: [
9147
9205
  /* @__PURE__ */ jsxRuntime.jsx(InputWithLabelAndHelpText, { helpText: updatedHelpText, severity, children: /* @__PURE__ */ jsxRuntime.jsxs(InputWithLabel, { size, severity, inputId, labelId, label, children: [
9148
- /* @__PURE__ */ jsxRuntime.jsx(blocks.Flex, { direction: "row", gap: "2", children: /* @__PURE__ */ jsxRuntime.jsx(Box, { width: "max-content", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Button, { ...rest, onClick: handleClick, children: [
9206
+ /* @__PURE__ */ jsxRuntime.jsx(blocks.Flex, { direction: "row", gap: "2", children: /* @__PURE__ */ jsxRuntime.jsx(Box, { width: "max-content", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Button, { ...rest, variant: "soft", onClick: handleClick, children: [
9149
9207
  /* @__PURE__ */ jsxRuntime.jsx(UploadIcon, {}),
9150
9208
  " ",
9151
9209
  buttonText
@@ -9180,7 +9238,9 @@ var __publicField = (obj, key, value) => {
9180
9238
  )) })
9181
9239
  ] });
9182
9240
  });
9183
- const DisplayFile = React.memo(function DisplayFile2({ file, field, onRemove, disabled }) {
9241
+ NumberInput.displayName = "NumberInput";
9242
+ const DisplayFile = React.memo((props) => {
9243
+ const { file, field, onRemove, disabled } = props;
9184
9244
  const [resolvedFile, setResolvedFile] = React.useState(null);
9185
9245
  const error2 = React.useMemo(() => resolvedFile && field.getError([resolvedFile]), [field, resolvedFile]);
9186
9246
  const { url, name, size } = React.useMemo(() => {
@@ -9228,6 +9288,7 @@ var __publicField = (obj, key, value) => {
9228
9288
  url && /* @__PURE__ */ jsxRuntime.jsx("img", { className: styles$4.previewImage, src: url, alt: name })
9229
9289
  ] }) });
9230
9290
  });
9291
+ DisplayFile.displayName = "DisplayFile";
9231
9292
  const emptyUploadField = {
9232
9293
  ...emptyBaseField,
9233
9294
  type: "upload",
@@ -10210,13 +10271,15 @@ var __publicField = (obj, key, value) => {
10210
10271
  ] });
10211
10272
  });
10212
10273
  FieldActions.displayName = "FieldActions";
10213
- const popoverInputsContainer = "_popoverInputsContainer_1s3np_1";
10214
- const typeBadge = "_typeBadge_1s3np_5";
10215
- const description = "_description_1s3np_10";
10274
+ const popoverInputsContainer = "_popoverInputsContainer_18pn8_1";
10275
+ const typeBadge = "_typeBadge_18pn8_5";
10276
+ const description = "_description_18pn8_10";
10277
+ const previewInput = "_previewInput_18pn8_14";
10216
10278
  const styles = {
10217
10279
  popoverInputsContainer,
10218
10280
  typeBadge,
10219
- description
10281
+ description,
10282
+ previewInput
10220
10283
  };
10221
10284
  const FieldSettingsPopover = React.memo((props) => {
10222
10285
  const { popoverInputs, hasError } = props;
@@ -10341,8 +10404,10 @@ var __publicField = (obj, key, value) => {
10341
10404
  const error2 = get(errors, fieldCls === FieldSection ? `${parentPath}.${index2}.condition` : field.getId());
10342
10405
  return error2 && (typeof error2 !== "object" || hasKeys(error2));
10343
10406
  });
10407
+ const deserializedField = React.useMemo(() => deserialize(initial), [initial]);
10408
+ const previewInput2 = useFieldInput(deserializedField, { formId, disabled: true, showInputOnly: true });
10344
10409
  return /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", grow: "1", children: [
10345
- /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { direction: "column", children: [
10410
+ /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { direction: "column", grow: "1", children: [
10346
10411
  fieldCls === FieldSection && /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { direction: "column", gap: "1", children: [
10347
10412
  directlyShownFields.length > 0 && directlyShownInputs,
10348
10413
  /* @__PURE__ */ jsxRuntime.jsxs(blocks.Flex, { align: "center", gap: "2", children: [
@@ -10398,6 +10463,7 @@ var __publicField = (obj, key, value) => {
10398
10463
  )
10399
10464
  }
10400
10465
  ),
10466
+ fieldCls !== FieldSection && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.previewInput, children: previewInput2 }),
10401
10467
  /* @__PURE__ */ jsxRuntime.jsx(
10402
10468
  PatchField,
10403
10469
  {
@@ -10792,7 +10858,7 @@ var __publicField = (obj, key, value) => {
10792
10858
  /* @__PURE__ */ jsxRuntime.jsx(blocks.Text, { size: "4", children: field.label }),
10793
10859
  /* @__PURE__ */ jsxRuntime.jsx(blocks.Badge, { className: styles$1.typeBadge, children: /* @__PURE__ */ jsxRuntime.jsxs(blocks.Text, { children: [
10794
10860
  field.fields.length,
10795
- " Fields"
10861
+ " fields"
10796
10862
  ] }) })
10797
10863
  ] }),
10798
10864
  /* @__PURE__ */ jsxRuntime.jsx(blocks.Flex, { direction: "row", gap: "2", children: field.fields.map((child) => {