@firecms/collection_editor 3.0.0-canary.32 → 3.0.0-canary.34

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.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as a, Fragment as j } from "react/jsx-runtime";
2
- import { FieldCaption as X, SearchIconsView as gr, toSnakeCase as Pt, singular as vr, IconForView as ot, ArrayContainer as yr, serializeRegExp as br, useSnackbarController as Ie, resolveEnumValues as Cr, isPropertyBuilder as ne, useCustomizationController as Ae, getFieldConfig as $e, ErrorBoundary as ge, PropertyConfigBadge as Ye, unslugify as ut, useNavigationController as Pe, mergeDeep as W, DEFAULT_FIELD_CONFIGS as Gt, isValidRegExp as Pr, getFieldId as Kt, DeleteConfirmationDialog as lt, useLargeLayout as Nr, makePropertiesEditable as pt, resolveEntityView as xr, useSelectionController as wr, EntityCollectionTable as Tr, slugify as kr, useAuthController as _e, randomString as _t, CircularProgressCenter as Nt, removeUndefined as Ft, ErrorView as Wt, removeInitialAndTrailingSlashes as Or, getDefaultPropertiesOrder as Vr } from "@firecms/core";
2
+ import { FieldCaption as X, SearchIconsView as gr, toSnakeCase as Pt, singular as vr, IconForView as ot, ArrayContainer as yr, serializeRegExp as br, useSnackbarController as Ie, resolveEnumValues as Cr, isPropertyBuilder as ne, useCustomizationController as Ae, getFieldConfig as $e, ErrorBoundary as me, PropertyConfigBadge as Ye, unslugify as ut, useNavigationController as Pe, mergeDeep as W, DEFAULT_FIELD_CONFIGS as Gt, isValidRegExp as Pr, getFieldId as Kt, DeleteConfirmationDialog as lt, useLargeLayout as Nr, makePropertiesEditable as pt, resolveEntityView as xr, useSelectionController as wr, EntityCollectionTable as Tr, slugify as kr, useAuthController as _e, randomString as _t, CircularProgressCenter as Nt, removeUndefined as Ft, ErrorView as Wt, removeInitialAndTrailingSlashes as Or, getDefaultPropertiesOrder as Vr } from "@firecms/core";
3
3
  import * as je from "react";
4
4
  import Y, { useState as $, useEffect as de, useMemo as Zt, useCallback as Q, useRef as Le, useDeferredValue as Ir, useContext as Jt } from "react";
5
5
  import ve from "react-fast-compare";
6
- import { useAutoComplete as _r, Container as mt, Typography as O, Tooltip as te, IconButton as oe, Chip as st, TextField as Oe, cn as he, DebouncedTextField as Z, Autocomplete as Fr, AutocompleteItem as Sr, ExpandablePanel as xt, SettingsIcon as He, Select as be, SelectItem as ee, BooleanSwitchWithLabel as ct, Dialog as Fe, AutoAwesomeIcon as ht, Badge as Er, ListIcon as Ar, Button as z, CircularProgress as De, Paper as Ce, DialogContent as Be, DialogActions as ze, RuleIcon as Dr, FileUploadIcon as Br, MultiSelect as zr, MultiSelectItem as St, Checkbox as Et, cardMixin as Qt, cardClickableMixin as Xt, cardSelectedMixin as er, FunctionsIcon as Mr, RemoveCircleIcon as Rr, defaultBorderMixin as wt, RemoveIcon as Ur, DragHandleIcon as jr, AddIcon as se, SelectGroup as At, InfoLabel as Lr, DeleteIcon as dt, ContentCopyIcon as qr, CodeIcon as $r, Table as Dt, TableBody as Bt, TableRow as bt, TableCell as Ue, Alert as Yr, Icon as et, Card as tr, coolIconKeys as zt, Tabs as Hr, Tab as Ct, ArrowBackIcon as tt, LoadingButton as Mt, DoneIcon as Gr, UndoIcon as Kr, SaveIcon as Wr, Menu as Zr, MoreVertIcon as Jr, MenuItem as Qr, Collapse as Xr } from "@firecms/ui";
6
+ import { useAutoComplete as _r, Container as mt, Typography as O, Tooltip as te, IconButton as oe, Chip as st, TextField as Oe, cn as fe, DebouncedTextField as Z, Autocomplete as Fr, AutocompleteItem as Sr, ExpandablePanel as xt, SettingsIcon as He, Select as be, SelectItem as ee, BooleanSwitchWithLabel as ct, Dialog as Fe, AutoAwesomeIcon as ht, Badge as Er, ListIcon as Ar, Button as z, CircularProgress as De, Paper as Ce, DialogContent as Be, DialogActions as ze, RuleIcon as Dr, FileUploadIcon as Br, MultiSelect as zr, MultiSelectItem as St, Checkbox as Et, cardMixin as Qt, cardClickableMixin as Xt, cardSelectedMixin as er, FunctionsIcon as Mr, RemoveCircleIcon as Rr, defaultBorderMixin as wt, RemoveIcon as Ur, DragHandleIcon as jr, AddIcon as se, SelectGroup as At, InfoLabel as Lr, DeleteIcon as dt, ContentCopyIcon as qr, CodeIcon as $r, Table as Dt, TableBody as Bt, TableRow as bt, TableCell as Ue, Alert as Yr, Icon as et, Card as tr, coolIconKeys as zt, Tabs as Hr, Tab as Ct, ArrowBackIcon as tt, LoadingButton as Mt, DoneIcon as Gr, UndoIcon as Kr, SaveIcon as Wr, Menu as Zr, MoreVertIcon as Jr, MenuItem as Qr, Collapse as Xr } from "@firecms/ui";
7
7
  import * as rt from "yup";
8
8
  import { useFormex as K, Field as H, getIn as I, useCreateFormex as Tt, Formex as kt } from "@firecms/formex";
9
9
  import { extractEnumFromValues as ei, buildPropertyFromData as ti, buildEntityPropertiesFromData as ri } from "@firecms/schema_inference";
@@ -88,7 +88,7 @@ function yi({
88
88
  ),
89
89
  /* @__PURE__ */ e(X, { error: m.name && !!s.name, children: m.name && s.name ? s.name : "Name of in this collection, usually a plural name (e.g. Products)" })
90
90
  ] }),
91
- /* @__PURE__ */ a("div", { className: he("col-span-12 ", R ? "" : "sm:col-span-8"), children: [
91
+ /* @__PURE__ */ a("div", { className: fe("col-span-12 ", R ? "" : "sm:col-span-8"), children: [
92
92
  /* @__PURE__ */ e(
93
93
  H,
94
94
  {
@@ -285,7 +285,7 @@ function yi({
285
285
  )
286
286
  ] }) });
287
287
  }
288
- function me(t) {
288
+ function he(t) {
289
289
  return "properties." + t.replaceAll(".", ".properties.");
290
290
  }
291
291
  function bi(t) {
@@ -299,7 +299,7 @@ function ae(t, r) {
299
299
  }
300
300
  function ir(t, r) {
301
301
  const n = r ? `${r}.${t}` : t;
302
- return me(n);
302
+ return he(n);
303
303
  }
304
304
  function Ci({
305
305
  enumValues: t,
@@ -1044,7 +1044,7 @@ function nr({
1044
1044
  const { propertyConfigs: d } = Ae(), u = $e(t, d);
1045
1045
  qe(t);
1046
1046
  const p = n ? "border-red-500 dark:border-red-500 border-opacity-100 dark:border-opacity-100 ring-0 dark:ring-0" : o ? "border-primary" : "border-transparent";
1047
- return n && console.log("PropertyFieldPreview", t), /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ a(
1047
+ return n && console.log("PropertyFieldPreview", t), /* @__PURE__ */ e(me, { children: /* @__PURE__ */ a(
1048
1048
  "div",
1049
1049
  {
1050
1050
  onClick: r,
@@ -1054,7 +1054,7 @@ function nr({
1054
1054
  /* @__PURE__ */ a(
1055
1055
  Ce,
1056
1056
  {
1057
- className: he(
1057
+ className: fe(
1058
1058
  "border",
1059
1059
  "pl-2 w-full flex flex-row gap-4 items-center",
1060
1060
  Qt,
@@ -1065,7 +1065,7 @@ function nr({
1065
1065
  ),
1066
1066
  children: [
1067
1067
  /* @__PURE__ */ a("div", { className: "w-full flex flex-col", children: [
1068
- i && /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
1068
+ i && /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
1069
1069
  O,
1070
1070
  {
1071
1071
  variant: "body1",
@@ -1075,7 +1075,7 @@ function nr({
1075
1075
  }
1076
1076
  ) }),
1077
1077
  /* @__PURE__ */ a("div", { className: "flex flex-row items-center", children: [
1078
- /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
1078
+ /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
1079
1079
  O,
1080
1080
  {
1081
1081
  className: "flex-grow pr-2",
@@ -1085,7 +1085,7 @@ function nr({
1085
1085
  children: u?.name
1086
1086
  }
1087
1087
  ) }),
1088
- /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
1088
+ /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
1089
1089
  O,
1090
1090
  {
1091
1091
  variant: "body2",
@@ -1131,7 +1131,7 @@ function Ti({
1131
1131
  /* @__PURE__ */ e(
1132
1132
  Ce,
1133
1133
  {
1134
- className: he(
1134
+ className: fe(
1135
1135
  "pl-2 w-full flex flex-row gap-4 items-center",
1136
1136
  Qt,
1137
1137
  n ? Xt : "",
@@ -1160,7 +1160,7 @@ function Ti({
1160
1160
  children: o?.name
1161
1161
  }
1162
1162
  ),
1163
- i && !ne(i) && /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
1163
+ i && !ne(i) && /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
1164
1164
  O,
1165
1165
  {
1166
1166
  variant: "body2",
@@ -1169,7 +1169,7 @@ function Ti({
1169
1169
  children: i.dataType
1170
1170
  }
1171
1171
  ) }),
1172
- i && ne(i) && /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
1172
+ i && ne(i) && /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
1173
1173
  O,
1174
1174
  {
1175
1175
  variant: "body2",
@@ -1178,7 +1178,7 @@ function Ti({
1178
1178
  children: "This property is defined as a property builder in code"
1179
1179
  }
1180
1180
  ) }),
1181
- !i && /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
1181
+ !i && /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
1182
1182
  O,
1183
1183
  {
1184
1184
  variant: "body2",
@@ -1230,7 +1230,7 @@ const ft = Y.memo(
1230
1230
  {
1231
1231
  draggableId: `array_field_${r}_${k}}`,
1232
1232
  index: b,
1233
- children: (g, w) => /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
1233
+ children: (g, w) => /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
1234
1234
  ki,
1235
1235
  {
1236
1236
  propertyKey: k,
@@ -1379,7 +1379,7 @@ function Oi({ disabled: t, getData: r, allowDataInference: n, propertyConfigs: i
1379
1379
  const w = N ? ae(N, g) : void 0;
1380
1380
  if (!w)
1381
1381
  throw Error("collection editor miss config");
1382
- const _ = me(w), M = ye(g), R = I(o, M) ?? Object.keys(I(o, bi(g)));
1382
+ const _ = he(w), M = ye(g), R = I(o, M) ?? Object.keys(I(o, bi(g)));
1383
1383
  d(_, void 0, !1), d(M, R.filter((D) => D !== N), !1), p(!1), m(void 0), f(void 0);
1384
1384
  }, [d, o]), P = h ? ae(h, s) : void 0, k = P ? I(o.properties, P.replaceAll(".", ".properties.")) : void 0, b = !v || v.length < 1, C = Q((N, g) => {
1385
1385
  d(ye(g), N, !1);
@@ -1734,7 +1734,7 @@ function Si({ disabled: t, getData: r, allowDataInference: n, propertyConfigs: i
1734
1734
  const g = C ? ae(C, N) : void 0;
1735
1735
  if (!g)
1736
1736
  throw Error("collection editor miss config");
1737
- d(`oneOf.${me(g)}`, void 0, !1);
1737
+ d(`oneOf.${he(g)}`, void 0, !1);
1738
1738
  const w = `oneOf.${ye(N)}`, _ = I(o, w);
1739
1739
  d(w, _.filter((M) => M !== C), !1), p(!1), m(void 0), f(void 0);
1740
1740
  }, [d, o]), k = /* @__PURE__ */ a(
@@ -2368,7 +2368,7 @@ function or({ value: t, optionDisabled: r, propertyConfig: n, existing: i }) {
2368
2368
  children: /* @__PURE__ */ a(
2369
2369
  "div",
2370
2370
  {
2371
- className: he(
2371
+ className: fe(
2372
2372
  "flex flex-row items-center text-base min-h-[52px]",
2373
2373
  r ? "w-full" : ""
2374
2374
  ),
@@ -2809,7 +2809,7 @@ function ji({
2809
2809
  onClick: (re) => {
2810
2810
  we && (re.stopPropagation(), re.preventDefault());
2811
2811
  },
2812
- className: he(
2812
+ className: fe(
2813
2813
  "flex items-center",
2814
2814
  we ? "w-full pointer-events-none opacity-50" : ""
2815
2815
  ),
@@ -2915,7 +2915,7 @@ function Yi(t) {
2915
2915
  function Hi({ collection: t, onOpenChange: r, open: n }) {
2916
2916
  const i = Ie(), l = `import { EntityCollection } from "firecms";
2917
2917
 
2918
- const ` + (t.name ? Yi(t.name) : "my") + "Collection:EntityCollection = " + oi.stringify(cr(t), null, " ");
2918
+ const ` + (t?.name ? Yi(t.name) : "my") + "Collection:EntityCollection = " + oi.stringify(cr(t), null, " ");
2919
2919
  return /* @__PURE__ */ a(
2920
2920
  Fe,
2921
2921
  {
@@ -3050,21 +3050,21 @@ function Gi({
3050
3050
  ...U,
3051
3051
  ...f.propertiesOrder ?? []
3052
3052
  ];
3053
- v("properties", T, !1), fe(S), Me(U);
3053
+ v("properties", T, !1), ge(S), Me(U);
3054
3054
  }).finally(() => {
3055
3055
  q(!1);
3056
3056
  }));
3057
- } : void 0, re = Q((F) => F ? we.current[F] ?? I(f, ye(F)) : we.current[""], [f]), fe = Q((F, U) => {
3057
+ } : void 0, re = Q((F) => F ? we.current[F] ?? I(f, ye(F)) : we.current[""], [f]), ge = Q((F, U) => {
3058
3058
  const T = ye(U);
3059
3059
  v(T, F, !1), we.current[U ?? ""] = F;
3060
3060
  }, [v]), Te = Q((F, U) => {
3061
3061
  const T = F ? ae(F, U) : void 0;
3062
3062
  if (!T)
3063
3063
  throw Error("collection editor miss config");
3064
- v(me(T), void 0, !1);
3064
+ v(he(T), void 0, !1);
3065
3065
  const E = re(U).filter((ie) => ie !== F);
3066
- fe(E, U), J(!1), w(void 0), M(void 0), D(void 0);
3067
- }, [re, v, fe]), Ge = (F, U) => {
3066
+ ge(E, U), J(!1), w(void 0), M(void 0), D(void 0);
3067
+ }, [re, v, ge]), Ge = (F, U) => {
3068
3068
  v(ye(U), F, !1);
3069
3069
  }, gt = ({
3070
3070
  id: F,
@@ -3077,14 +3077,14 @@ function Gi({
3077
3077
  [F]: U
3078
3078
  }, !1);
3079
3079
  const T = [...f.propertiesOrder ?? Object.keys(f.properties), F];
3080
- fe(T), J(!1), C && (w(T.indexOf(F)), M(F)), D(void 0);
3080
+ ge(T), J(!1), C && (w(T.indexOf(F)), M(F)), D(void 0);
3081
3081
  }, pe = ({
3082
3082
  id: F,
3083
3083
  property: U,
3084
3084
  previousId: T,
3085
3085
  namespace: S
3086
3086
  }) => {
3087
- const E = F ? ae(F, S) : void 0, ie = E ? me(E) : void 0;
3087
+ const E = F ? ae(F, S) : void 0, ie = E ? he(E) : void 0;
3088
3088
  if (T && T !== F) {
3089
3089
  console.debug("onPropertyChanged, id change", {
3090
3090
  id: F,
@@ -3092,8 +3092,8 @@ function Gi({
3092
3092
  previousId: T,
3093
3093
  namespace: S
3094
3094
  });
3095
- const ke = ae(T, S), Vt = me(ke), It = re(S).map((Xe) => Xe === T ? F : Xe).filter((Xe) => Xe !== void 0);
3096
- fe(It, S), F && (w(It.indexOf(F)), M(F)), v(Vt, void 0, !1), y(Vt, !1, !1);
3095
+ const ke = ae(T, S), Vt = he(ke), It = re(S).map((Xe) => Xe === T ? F : Xe).filter((Xe) => Xe !== void 0);
3096
+ ge(It, S), F && (w(It.indexOf(F)), M(F)), v(Vt, void 0, !1), y(Vt, !1, !1);
3097
3097
  }
3098
3098
  console.debug("onPropertyChanged", {
3099
3099
  id: F,
@@ -3111,7 +3111,7 @@ function Gi({
3111
3111
  propertyPath: S
3112
3112
  }), S) {
3113
3113
  const E = T && Object.keys(T).length > 0;
3114
- i(F, U, E ? T : void 0), x(me(S), E ? "Property error" : void 0);
3114
+ i(F, U, E ? T : void 0), x(he(S), E ? "Property error" : void 0);
3115
3115
  }
3116
3116
  }, []), We = () => {
3117
3117
  w(void 0), M(void 0);
@@ -3121,7 +3121,7 @@ function Gi({
3121
3121
  namespace: U
3122
3122
  }), w(Re.indexOf(F)), M(F), D(U);
3123
3123
  }, [Re]), yt = /* @__PURE__ */ a("div", { className: "grid grid-cols-12 gap-2 h-full bg-gray-50 dark:bg-gray-900", children: [
3124
- /* @__PURE__ */ a("div", { className: he(
3124
+ /* @__PURE__ */ a("div", { className: fe(
3125
3125
  "p-4 md:p-8 pb-20 md:pb-20",
3126
3126
  "col-span-12 lg:col-span-5 h-full overflow-auto",
3127
3127
  !N && "border-r " + wt
@@ -3185,7 +3185,7 @@ function Gi({
3185
3185
  ) })
3186
3186
  ] })
3187
3187
  ] }),
3188
- /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
3188
+ /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
3189
3189
  ft,
3190
3190
  {
3191
3191
  className: "pl-8",
@@ -3304,14 +3304,14 @@ function Gi({
3304
3304
  existingPropertyKeys: f.propertiesOrder
3305
3305
  }
3306
3306
  ),
3307
- /* @__PURE__ */ e(
3307
+ /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(
3308
3308
  Hi,
3309
3309
  {
3310
3310
  collection: f,
3311
3311
  open: V,
3312
3312
  onOpenChange: G
3313
3313
  }
3314
- )
3314
+ ) })
3315
3315
  ] });
3316
3316
  }
3317
3317
  function Ki({
@@ -4142,7 +4142,7 @@ function nt({
4142
4142
  tr,
4143
4143
  {
4144
4144
  onClick: i,
4145
- className: he(
4145
+ className: fe(
4146
4146
  "my-2 rounded-md border mx-0 p-6 px-4 focus:outline-none transition ease-in-out duration-150 flex flex-row gap-4 items-center",
4147
4147
  "text-gray-700 dark:text-slate-300",
4148
4148
  "hover:border-primary-dark hover:text-primary-dark dark:hover:text-primary focus:ring-primary hover:ring-1 hover:ring-primary",
@@ -4170,12 +4170,12 @@ function Qi({
4170
4170
  previousId: y,
4171
4171
  namespace: P
4172
4172
  }) => {
4173
- const k = v ? ae(v, P) : void 0, b = k ? me(k) : void 0, C = (g) => g ? p.current[g] ?? I(o, ye(g)) : p.current[""], N = (g, w) => {
4173
+ const k = v ? ae(v, P) : void 0, b = k ? he(k) : void 0, C = (g) => g ? p.current[g] ?? I(o, ye(g)) : p.current[""], N = (g, w) => {
4174
4174
  const _ = ye(w);
4175
4175
  i(_, g, !1), p.current[w ?? ""] = g;
4176
4176
  };
4177
4177
  if (y && y !== v) {
4178
- const g = ae(y, P), w = me(g), M = C(P).map((D) => D === y ? v : D).filter((D) => D !== void 0);
4178
+ const g = ae(y, P), w = he(g), M = C(P).map((D) => D === y ? v : D).filter((D) => D !== void 0);
4179
4179
  N(M, P);
4180
4180
  const R = { ...t.headersMapping };
4181
4181
  Object.keys(R).forEach((D) => {
@@ -4189,7 +4189,7 @@ function Qi({
4189
4189
  property: y,
4190
4190
  namespace: P
4191
4191
  }) => {
4192
- const k = v ? ae(v, P) : void 0, b = k ? me(k) : void 0, C = t.importData.map((g) => I(g, x)), N = {
4192
+ const k = v ? ae(v, P) : void 0, b = k ? he(k) : void 0, C = t.importData.map((g) => I(g, x)), N = {
4193
4193
  ...ti(C, y, rr),
4194
4194
  editable: !0
4195
4195
  };
@@ -4569,7 +4569,7 @@ function rn({
4569
4569
  }
4570
4570
  }), {
4571
4571
  values: re,
4572
- setFieldValue: fe,
4572
+ setFieldValue: ge,
4573
4573
  isSubmitting: Te,
4574
4574
  dirty: Ge,
4575
4575
  submitCount: gt
@@ -4580,19 +4580,19 @@ function rn({
4580
4580
  function Qe(T) {
4581
4581
  _.setInUse(!0), ri(T, rr).then((S) => {
4582
4582
  const E = dr(S);
4583
- fe("properties", E.properties), fe("propertiesOrder", Object.keys(E.properties)), _.setIdColumn(E.idColumn), _.setImportData(T), _.setHeadersMapping(E.headersMapping), _.setOriginProperties(E.properties);
4583
+ ge("properties", E.properties), ge("propertiesOrder", Object.keys(E.properties)), _.setIdColumn(E.idColumn), _.setImportData(T), _.setHeadersMapping(E.headersMapping), _.setOriginProperties(E.properties);
4584
4584
  });
4585
4585
  }
4586
4586
  const vt = !!re.name && !!re.id, yt = () => {
4587
4587
  const T = { ...re.properties };
4588
- _.idColumn && delete T[_.idColumn], fe("properties", T), L();
4588
+ _.idColumn && delete T[_.idColumn], ge("properties", T), L();
4589
4589
  }, U = b?.editable === void 0 || b?.editable === !0 || t;
4590
4590
  return /* @__PURE__ */ e(Be, { fullHeight: !0, children: /* @__PURE__ */ e(kt, { value: ue, children: /* @__PURE__ */ a(j, { children: [
4591
4591
  !t && /* @__PURE__ */ a(
4592
4592
  Hr,
4593
4593
  {
4594
4594
  value: c,
4595
- className: he(wt, "justify-end bg-gray-50 dark:bg-gray-950 border-b"),
4595
+ className: fe(wt, "justify-end bg-gray-50 dark:bg-gray-950 border-b"),
4596
4596
  onValueChange: (T) => V(T),
4597
4597
  children: [
4598
4598
  /* @__PURE__ */ e(Ct, { value: "details", children: "Details" }),
@@ -4606,7 +4606,7 @@ function rn({
4606
4606
  {
4607
4607
  noValidate: !0,
4608
4608
  onSubmit: ue.handleSubmit,
4609
- className: he(
4609
+ className: fe(
4610
4610
  t ? "h-full" : "h-[calc(100%-48px)]",
4611
4611
  "flex-grow flex flex-col relative"
4612
4612
  ),
@@ -5187,7 +5187,7 @@ function cn({
5187
5187
  return /* @__PURE__ */ e(
5188
5188
  tr,
5189
5189
  {
5190
- className: he("h-full p-4 min-h-[124px]"),
5190
+ className: fe("h-full p-4 min-h-[124px]"),
5191
5191
  onClick: i && l ? () => i.createCollection({
5192
5192
  initialValues: t ? { group: t } : void 0,
5193
5193
  parentCollectionIds: [],
@@ -5443,7 +5443,7 @@ export {
5443
5443
  qe as editableProperty,
5444
5444
  ae as getFullId,
5445
5445
  ir as getFullIdPath,
5446
- me as idToPropertiesPath,
5446
+ he as idToPropertiesPath,
5447
5447
  ye as namespaceToPropertiesOrderPath,
5448
5448
  bi as namespaceToPropertiesPath,
5449
5449
  wi as removeNonEditableProperties,