@rebasepro/admin 0.2.4 → 0.2.5

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 (53) hide show
  1. package/dist/{CollectionEditorDialog-D0VqpLPO.js → CollectionEditorDialog-Cn8-tGyL.js} +22 -5
  2. package/dist/CollectionEditorDialog-Cn8-tGyL.js.map +1 -0
  3. package/dist/{CollectionsStudioView-Bc3Rxxc2.js → CollectionsStudioView-C-Ts1rZt.js} +4 -4
  4. package/dist/{CollectionsStudioView-Bc3Rxxc2.js.map → CollectionsStudioView-C-Ts1rZt.js.map} +1 -1
  5. package/dist/{ExportCollectionAction-Ckc-09BQ.js → ExportCollectionAction-BRdKM3DF.js} +2 -2
  6. package/dist/{ExportCollectionAction-Ckc-09BQ.js.map → ExportCollectionAction-BRdKM3DF.js.map} +1 -1
  7. package/dist/{ImportCollectionAction-BqjIrC3Z.js → ImportCollectionAction-U-v7lGxO.js} +2 -2
  8. package/dist/{ImportCollectionAction-BqjIrC3Z.js.map → ImportCollectionAction-U-v7lGxO.js.map} +1 -1
  9. package/dist/{PropertyEditView-CvRSV-A2.js → PropertyEditView-BDNYkfNf.js} +2 -2
  10. package/dist/{PropertyEditView-CvRSV-A2.js.map → PropertyEditView-BDNYkfNf.js.map} +1 -1
  11. package/dist/collection_editor_ui.js +3 -3
  12. package/dist/components/RebaseRouteDefs.d.ts +1 -1
  13. package/dist/components/admin/index.d.ts +1 -3
  14. package/dist/hooks/navigation/useBuildNavigationStateController.d.ts +1 -1
  15. package/dist/hooks/navigation/useResolvedViews.d.ts +2 -5
  16. package/dist/{index-DY2k5TtG.js → index-DHaOV-7A.js} +3 -3
  17. package/dist/index-DHaOV-7A.js.map +1 -0
  18. package/dist/{index-UQOMHwt1.js → index-DJSL_SCr.js} +3 -3
  19. package/dist/index-DJSL_SCr.js.map +1 -0
  20. package/dist/{index-BCcLwgfe.js → index-XMII4H3d.js} +2 -2
  21. package/dist/{index-BCcLwgfe.js.map → index-XMII4H3d.js.map} +1 -1
  22. package/dist/index.d.ts +0 -2
  23. package/dist/index.js +90 -295
  24. package/dist/index.js.map +1 -1
  25. package/dist/{util-ZM9gQuCv.js → util-0GYaJqL_.js} +153 -644
  26. package/dist/util-0GYaJqL_.js.map +1 -0
  27. package/package.json +8 -8
  28. package/src/collection_editor/pgColumnToProperty.ts +19 -2
  29. package/src/components/DefaultDrawer.tsx +2 -2
  30. package/src/components/EntityCollectionView/EntityCollectionCardView.tsx +4 -4
  31. package/src/components/EntityCollectionView/EntityCollectionListView.tsx +7 -0
  32. package/src/components/EntityCollectionView/EntityCollectionView.tsx +4 -1
  33. package/src/components/RebaseRouteDefs.tsx +4 -6
  34. package/src/components/admin/index.ts +1 -3
  35. package/src/components/index.ts +1 -3
  36. package/src/hooks/navigation/useBuildNavigationStateController.tsx +2 -3
  37. package/src/hooks/navigation/useResolvedViews.tsx +6 -48
  38. package/src/index.ts +2 -3
  39. package/src/util/previews.ts +9 -1
  40. package/dist/CollectionEditorDialog-D0VqpLPO.js.map +0 -1
  41. package/dist/components/admin/RoleChip.d.ts +0 -4
  42. package/dist/components/admin/RolesFilterSelect.d.ts +0 -2
  43. package/dist/components/admin/RolesView.d.ts +0 -4
  44. package/dist/components/admin/UserRolesSelectField.d.ts +0 -2
  45. package/dist/components/admin/UsersView.d.ts +0 -4
  46. package/dist/index-DY2k5TtG.js.map +0 -1
  47. package/dist/index-UQOMHwt1.js.map +0 -1
  48. package/dist/util-ZM9gQuCv.js.map +0 -1
  49. package/src/components/admin/RoleChip.tsx +0 -23
  50. package/src/components/admin/RolesFilterSelect.tsx +0 -45
  51. package/src/components/admin/RolesView.tsx +0 -470
  52. package/src/components/admin/UserRolesSelectField.tsx +0 -50
  53. package/src/components/admin/UsersView.tsx +0 -693
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { bk as useCMSContext, bn as useCollectionRegistryController, bp as useEntitySelectionDialog, ac as ReferencePreview, bz as useUrlController, t as Drawer, A as AppBar, am as SideDialogs, ah as Scaffold, bs as useNavigationStateController, a1 as NavigationCard, bf as useBreadcrumbsController, z as EntityCollectionView, G as EntityDetailView, H as EntityEditView, ag as RolesView, C as CollectionEditorDialogs, a9 as RebaseNavigation, a7 as PropertyPreview, bm as useCollectionEditorController, af as RoleChip } from "./util-ZM9gQuCv.js";
2
- import { a, b, c, d, e, f, g, h, i, j, B, k, l, m, n, D, o, p, q, r, s, u, E, v, w, x, y, F, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a2, a3, a4, a5, a6, a8, aa, ab, ad, ae, ai, aj, ak, al, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bg, bh, bi, bj, bl, bo, bq, br, bt, bu, bv, bw, bx, by, bA, bB } from "./util-ZM9gQuCv.js";
1
+ import { bi as useCMSContext, bl as useCollectionRegistryController, bn as useEntitySelectionDialog, ac as ReferencePreview, bx as useUrlController, t as Drawer, A as AppBar, ak as SideDialogs, af as Scaffold, bq as useNavigationStateController, a1 as NavigationCard, bd as useBreadcrumbsController, z as EntityCollectionView, G as EntityDetailView, H as EntityEditView, C as CollectionEditorDialogs, a9 as RebaseNavigation, a7 as PropertyPreview, bk as useCollectionEditorController } from "./util-0GYaJqL_.js";
2
+ import { a, b, c, d, e, f, g, h, i, j, B, k, l, m, n, D, o, p, q, r, s, u, E, v, w, x, y, F, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a2, a3, a4, a5, a6, a8, aa, ab, ad, ae, ag, ah, ai, aj, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, be, bf, bg, bh, bj, bm, bo, bp, br, bs, bt, bu, bv, bw, by, bz } from "./util-0GYaJqL_.js";
3
3
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
4
  import { c as c2 } from "react-compiler-runtime";
5
- import { Button, cls, CircularProgressCenter, Chip, StarIcon, Collapse, IconButton, PencilIcon, iconSize, ExpandablePanel, Typography, DialogTitle, TextField, DialogContent, DialogActions, Dialog, Container, SearchBar, ErrorBoundary, SelectItem, Select, MultiSelectItem, MultiSelect } from "@rebasepro/ui";
5
+ import { Button, cls, CircularProgressCenter, Chip, StarIcon, Collapse, IconButton, PencilIcon, iconSize, ExpandablePanel, Typography, DialogTitle, TextField, DialogContent, DialogActions, Dialog, Container, SearchBar, ErrorBoundary } from "@rebasepro/ui";
6
6
  import React__default, { useState, useEffect, useMemo, useCallback, useLayoutEffect, useRef, Suspense } from "react";
7
7
  import "fast-equals";
8
8
  import { getNavigationEntriesFromPath, getReferenceFrom, getLastSegment } from "@rebasepro/common";
9
9
  import { addInitialSlash, getCollectionBySlugWithin, getCollectionPathsCombinations, getLastSegment as getLastSegment2, removeInitialAndTrailingSlashes, removeInitialSlash, removeTrailingSlash, resolveCollectionPathIds } from "@rebasepro/common";
10
- import { useAdminModeController, useRebaseRegistryDispatch, useRebaseRegistry, useAuthController, LoginView, useUserConfigurationPersistence, useTranslation, useRebaseContext, useSlot, IconForView, useCustomizationController, buildCollapsedDefaults, useCollapsedGroups, useRestoreScroll, BootstrapAdminBanner, NotFoundPage, UnsavedChangesDialog, useInternalUserManagementController, UIReferenceView, RebaseRoutes, UserSettingsView, ErrorView } from "@rebasepro/core";
10
+ import { useAdminModeController, useRebaseRegistryDispatch, useRebaseRegistry, useAuthController, LoginView, useUserConfigurationPersistence, useTranslation, useRebaseContext, useSlot, IconForView, useCustomizationController, buildCollapsedDefaults, useCollapsedGroups, useRestoreScroll, BootstrapAdminBanner, NotFoundPage, UnsavedChangesDialog, UIReferenceView, RebaseRoutes, UserSettingsView, ErrorView } from "@rebasepro/core";
11
11
  import "@rebasepro/formex";
12
12
  import "zod";
13
13
  import { toArray, prettifyIdentifier } from "@rebasepro/utils";
@@ -24,8 +24,8 @@ import Fuse from "fuse.js";
24
24
  import "exceljs";
25
25
  import "@rebasepro/schema-inference";
26
26
  import { u as u2 } from "./useEntityHistory-UVsSclfZ.js";
27
- import { I as I2, a as a7, P as P2 } from "./ImportCollectionAction-BqjIrC3Z.js";
28
- import { B as B2, E as E2, d as d2, a as a9, b as b10, g as g2, c as c3 } from "./ExportCollectionAction-Ckc-09BQ.js";
27
+ import { I as I2, a as a7, P as P2 } from "./ImportCollectionAction-U-v7lGxO.js";
28
+ import { B as B2, E as E2, d as d2, a as a9, b as b10, g as g2, c as c3 } from "./ExportCollectionAction-BRdKM3DF.js";
29
29
  function resolveNavigationFrom({
30
30
  path,
31
31
  context
@@ -517,7 +517,7 @@ function FavouritesView(t0) {
517
517
  T0 = Collapse;
518
518
  t4 = favouriteCollections.length > 0;
519
519
  t2 = "flex flex-row flex-wrap gap-2 pb-2 min-h-[32px]";
520
- t3 = favouriteCollections.map(_temp$3);
520
+ t3 = favouriteCollections.map(_temp$1);
521
521
  $2[2] = navigationStateController;
522
522
  $2[3] = t1;
523
523
  $2[4] = T0;
@@ -551,7 +551,7 @@ function FavouritesView(t0) {
551
551
  }
552
552
  return t6;
553
553
  }
554
- function _temp$3(entry_0) {
554
+ function _temp$1(entry_0) {
555
555
  return /* @__PURE__ */ jsx(NavigationChip, { entry: entry_0 }, entry_0.slug);
556
556
  }
557
557
  function NavigationGroup(t0) {
@@ -2113,7 +2113,7 @@ function RebaseRoute() {
2113
2113
  })
2114
2114
  });
2115
2115
  };
2116
- t2 = navigationEntries.map(_temp$2).join(",");
2116
+ t2 = navigationEntries.map(_temp).join(",");
2117
2117
  $2[4] = breadcrumbs;
2118
2118
  $2[5] = collectionRegistry.collections;
2119
2119
  $2[6] = pathname;
@@ -2203,7 +2203,7 @@ function RebaseRoute() {
2203
2203
  return t62;
2204
2204
  }
2205
2205
  if (isSidePanel) {
2206
- const lastCollectionEntry = [...navigationEntries].reverse().find(_temp2$1);
2206
+ const lastCollectionEntry = [...navigationEntries].reverse().find(_temp2);
2207
2207
  if (lastCollectionEntry) {
2208
2208
  let t62;
2209
2209
  let t72;
@@ -2260,7 +2260,7 @@ function RebaseRoute() {
2260
2260
  }
2261
2261
  let t6;
2262
2262
  if ($2[34] !== navigationEntries) {
2263
- t6 = navigationEntries.find(_temp3$1);
2263
+ t6 = navigationEntries.find(_temp3);
2264
2264
  $2[34] = navigationEntries;
2265
2265
  $2[35] = t6;
2266
2266
  } else {
@@ -2378,13 +2378,13 @@ function RebaseRoute() {
2378
2378
  }
2379
2379
  return t7;
2380
2380
  }
2381
- function _temp3$1(entry_2) {
2381
+ function _temp3(entry_2) {
2382
2382
  return entry_2.type === "entity";
2383
2383
  }
2384
- function _temp2$1(entry_1) {
2384
+ function _temp2(entry_1) {
2385
2385
  return entry_1.type === "collection";
2386
2386
  }
2387
- function _temp$2(entry_0) {
2387
+ function _temp(entry_0) {
2388
2388
  return entry_0.path;
2389
2389
  }
2390
2390
  function getSelectedTabFromUrl(isNew, lastCustomView) {
@@ -2822,7 +2822,6 @@ function RebaseRouteDefs({
2822
2822
  layout
2823
2823
  }) {
2824
2824
  const registry = useRebaseRegistry();
2825
- const userManagement = useInternalUserManagementController();
2826
2825
  const navigationStateController = useNavigationStateController();
2827
2826
  const cmsHomePage = registry.cmsConfig?.homePage ?? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(CircularProgressCenter, {}), children: /* @__PURE__ */ jsx(ContentHomePage, {}) });
2828
2827
  const studioHomePage = registry.studioConfig?.homePage;
@@ -2832,7 +2831,6 @@ function RebaseRouteDefs({
2832
2831
  registry.studioConfig && /* @__PURE__ */ jsx(Route, { path: "/s", element: studioHomePage }),
2833
2832
  /* @__PURE__ */ jsx(Route, { path: "/c/*", element: /* @__PURE__ */ jsx(RebaseRoute, {}) }),
2834
2833
  /* @__PURE__ */ jsx(Route, { path: "/settings", element: /* @__PURE__ */ jsx(SettingsView, {}) }),
2835
- userManagement && /* @__PURE__ */ jsx(Route, { path: "/roles", element: /* @__PURE__ */ jsx(RolesView, { userManagement }) }),
2836
2834
  /* @__PURE__ */ jsx(Route, { path: "/debug/ui", element: /* @__PURE__ */ jsx(UIReferenceView, {}) }),
2837
2835
  combinedViews.map((view) => {
2838
2836
  const slugs = Array.isArray(view.slug) ? view.slug : [view.slug];
@@ -3070,207 +3068,6 @@ function MissingReferenceWidget(t0) {
3070
3068
  }
3071
3069
  return t9;
3072
3070
  }
3073
- function RolesFilterSelect(t0) {
3074
- const $2 = c2(20);
3075
- const {
3076
- tableController
3077
- } = t0;
3078
- const {
3079
- t
3080
- } = useTranslation();
3081
- const userManagement = useInternalUserManagementController();
3082
- let t1;
3083
- if ($2[0] !== userManagement?.roles) {
3084
- t1 = userManagement?.roles || [];
3085
- $2[0] = userManagement?.roles;
3086
- $2[1] = t1;
3087
- } else {
3088
- t1 = $2[1];
3089
- }
3090
- const roles = t1;
3091
- const currentFilterValue = tableController.filterValues?.roles?.[1] || "";
3092
- let t2;
3093
- if ($2[2] !== tableController) {
3094
- t2 = (newRole) => {
3095
- const filterVal = newRole === "" ? void 0 : newRole;
3096
- if (filterVal) {
3097
- tableController.setFilterValues?.({
3098
- ...tableController.filterValues,
3099
- roles: ["array-contains", filterVal]
3100
- });
3101
- } else {
3102
- const nextFilters = {
3103
- ...tableController.filterValues
3104
- };
3105
- delete nextFilters.roles;
3106
- tableController.setFilterValues?.(nextFilters);
3107
- }
3108
- };
3109
- $2[2] = tableController;
3110
- $2[3] = t2;
3111
- } else {
3112
- t2 = $2[3];
3113
- }
3114
- const handleRoleChange = t2;
3115
- if (!roles || roles.length === 0) {
3116
- return null;
3117
- }
3118
- const t3 = currentFilterValue || "__all__";
3119
- let t4;
3120
- if ($2[4] !== handleRoleChange) {
3121
- t4 = (v2) => handleRoleChange(v2 === "__all__" ? "" : v2);
3122
- $2[4] = handleRoleChange;
3123
- $2[5] = t4;
3124
- } else {
3125
- t4 = $2[5];
3126
- }
3127
- let t5;
3128
- if ($2[6] !== t) {
3129
- t5 = t("all_roles") || "All Roles";
3130
- $2[6] = t;
3131
- $2[7] = t5;
3132
- } else {
3133
- t5 = $2[7];
3134
- }
3135
- let t6;
3136
- if ($2[8] !== t) {
3137
- t6 = t("all_roles") || "All Roles";
3138
- $2[8] = t;
3139
- $2[9] = t6;
3140
- } else {
3141
- t6 = $2[9];
3142
- }
3143
- let t7;
3144
- if ($2[10] !== t6) {
3145
- t7 = /* @__PURE__ */ jsx(SelectItem, { value: "__all__", children: t6 });
3146
- $2[10] = t6;
3147
- $2[11] = t7;
3148
- } else {
3149
- t7 = $2[11];
3150
- }
3151
- let t8;
3152
- if ($2[12] !== roles) {
3153
- t8 = roles.map(_temp$1);
3154
- $2[12] = roles;
3155
- $2[13] = t8;
3156
- } else {
3157
- t8 = $2[13];
3158
- }
3159
- let t9;
3160
- if ($2[14] !== t3 || $2[15] !== t4 || $2[16] !== t5 || $2[17] !== t7 || $2[18] !== t8) {
3161
- t9 = /* @__PURE__ */ jsxs(Select, { value: t3, onValueChange: t4, placeholder: t5, size: "small", className: "w-48", children: [
3162
- t7,
3163
- t8
3164
- ] });
3165
- $2[14] = t3;
3166
- $2[15] = t4;
3167
- $2[16] = t5;
3168
- $2[17] = t7;
3169
- $2[18] = t8;
3170
- $2[19] = t9;
3171
- } else {
3172
- t9 = $2[19];
3173
- }
3174
- return t9;
3175
- }
3176
- function _temp$1(role) {
3177
- return /* @__PURE__ */ jsx(SelectItem, { value: role.id, children: role.name }, role.id);
3178
- }
3179
- function UserRolesSelectField(t0) {
3180
- const $2 = c2(18);
3181
- const {
3182
- value,
3183
- setValue,
3184
- disabled
3185
- } = t0;
3186
- const {
3187
- t
3188
- } = useTranslation();
3189
- const userManagement = useInternalUserManagementController();
3190
- let t1;
3191
- if ($2[0] !== userManagement?.roles) {
3192
- t1 = userManagement?.roles || [];
3193
- $2[0] = userManagement?.roles;
3194
- $2[1] = t1;
3195
- } else {
3196
- t1 = $2[1];
3197
- }
3198
- const roles = t1;
3199
- let t2;
3200
- if ($2[2] !== value) {
3201
- t2 = value || [];
3202
- $2[2] = value;
3203
- $2[3] = t2;
3204
- } else {
3205
- t2 = $2[3];
3206
- }
3207
- let t3;
3208
- if ($2[4] !== t2) {
3209
- t3 = t2.map(_temp);
3210
- $2[4] = t2;
3211
- $2[5] = t3;
3212
- } else {
3213
- t3 = $2[5];
3214
- }
3215
- const selectedRoleIds = t3;
3216
- let t4;
3217
- if ($2[6] !== setValue) {
3218
- t4 = (val) => {
3219
- const references = val.map(_temp2);
3220
- setValue(references);
3221
- };
3222
- $2[6] = setValue;
3223
- $2[7] = t4;
3224
- } else {
3225
- t4 = $2[7];
3226
- }
3227
- const handleValueChange = t4;
3228
- let t5;
3229
- if ($2[8] !== t) {
3230
- t5 = t("roles") || "Roles";
3231
- $2[8] = t;
3232
- $2[9] = t5;
3233
- } else {
3234
- t5 = $2[9];
3235
- }
3236
- let t6;
3237
- if ($2[10] !== roles) {
3238
- t6 = roles.map(_temp3);
3239
- $2[10] = roles;
3240
- $2[11] = t6;
3241
- } else {
3242
- t6 = $2[11];
3243
- }
3244
- let t7;
3245
- if ($2[12] !== disabled || $2[13] !== handleValueChange || $2[14] !== selectedRoleIds || $2[15] !== t5 || $2[16] !== t6) {
3246
- t7 = /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(MultiSelect, { className: "w-full", label: t5, value: selectedRoleIds, onValueChange: handleValueChange, disabled, children: t6 }) });
3247
- $2[12] = disabled;
3248
- $2[13] = handleValueChange;
3249
- $2[14] = selectedRoleIds;
3250
- $2[15] = t5;
3251
- $2[16] = t6;
3252
- $2[17] = t7;
3253
- } else {
3254
- t7 = $2[17];
3255
- }
3256
- return t7;
3257
- }
3258
- function _temp3(role) {
3259
- return /* @__PURE__ */ jsx(MultiSelectItem, { value: role.id, children: /* @__PURE__ */ jsx(RoleChip, { role }) }, role.id);
3260
- }
3261
- function _temp2(id) {
3262
- return {
3263
- id,
3264
- path: "roles",
3265
- __type: "relation"
3266
- };
3267
- }
3268
- function _temp(r2) {
3269
- if (typeof r2 === "object" && r2 !== null) {
3270
- return r2.id;
3271
- }
3272
- return r2;
3273
- }
3274
3071
  export {
3275
3072
  AdminModeSyncer,
3276
3073
  AppBar,
@@ -3353,108 +3150,106 @@ export {
3353
3150
  ReferenceWidget,
3354
3151
  ad as RelationPreview,
3355
3152
  ae as RepeatFieldBinding,
3356
- RolesFilterSelect,
3357
3153
  Scaffold,
3358
- ai as SearchIconsView,
3359
- aj as SelectFieldBinding,
3360
- ak as SelectableTable,
3361
- al as SelectableTableContext,
3154
+ ag as SearchIconsView,
3155
+ ah as SelectFieldBinding,
3156
+ ai as SelectableTable,
3157
+ aj as SelectableTableContext,
3362
3158
  SideDialogs,
3363
- an as SideEntityControllerContext,
3364
- ao as SideEntityProvider,
3365
- ap as SkeletonPropertyComponent,
3366
- aq as StorageThumbnail,
3367
- ar as StorageThumbnailInternal,
3368
- as as StorageUploadFieldBinding,
3369
- at as StringPropertyPreview,
3370
- au as SwitchFieldBinding,
3371
- av as TextFieldBinding,
3372
- aw as UrlComponentPreview,
3373
- ax as UrlContext,
3374
- ay as UserPreview,
3375
- UserRolesSelectField,
3376
- az as VectorFieldBinding,
3377
- aA as VirtualTableInput,
3159
+ al as SideEntityControllerContext,
3160
+ am as SideEntityProvider,
3161
+ an as SkeletonPropertyComponent,
3162
+ ao as StorageThumbnail,
3163
+ ap as StorageThumbnailInternal,
3164
+ aq as StorageUploadFieldBinding,
3165
+ ar as StringPropertyPreview,
3166
+ as as SwitchFieldBinding,
3167
+ at as TextFieldBinding,
3168
+ au as UrlComponentPreview,
3169
+ av as UrlContext,
3170
+ aw as UserPreview,
3171
+ ax as VectorFieldBinding,
3172
+ ay as VirtualTableInput,
3378
3173
  addInitialSlash,
3379
- aB as buildCollectionGenerationCallback,
3380
- aC as buildSidePanelsFromUrl,
3381
- aD as convertDataToEntity,
3382
- aE as convertFileToJson,
3383
- aF as copyEntityAction,
3384
- aG as deleteEntityAction,
3174
+ az as buildCollectionGenerationCallback,
3175
+ aA as buildSidePanelsFromUrl,
3176
+ aB as convertDataToEntity,
3177
+ aC as convertFileToJson,
3178
+ aD as copyEntityAction,
3179
+ aE as deleteEntityAction,
3385
3180
  d2 as downloadBlob,
3386
3181
  a9 as downloadDataAsCsv,
3387
3182
  b10 as downloadEntitiesExport,
3388
- aH as editEntityAction,
3389
- aI as flattenEntry,
3390
- aJ as getBracketNotation,
3183
+ aF as editEntityAction,
3184
+ aG as flattenEntry,
3185
+ aH as getBracketNotation,
3391
3186
  getCollectionBySlugWithin,
3392
3187
  getCollectionPathsCombinations,
3393
- aK as getDefaultFieldConfig,
3394
- aL as getDefaultFieldId,
3395
- aM as getDefaultPropertiesOrder,
3188
+ aI as getDefaultFieldConfig,
3189
+ aJ as getDefaultFieldId,
3190
+ aK as getDefaultPropertiesOrder,
3396
3191
  g2 as getEntityCSVExportableData,
3397
3192
  c3 as getEntityJsonExportableData,
3398
- aN as getEntityPreviewKeys,
3399
- aO as getEntityTitlePropertyKey,
3400
- aP as getEntityViewWidth,
3401
- aQ as getFieldConfig,
3402
- aR as getFieldId,
3403
- aS as getFullId,
3404
- aT as getFullIdPath,
3405
- aU as getIconForProperty,
3406
- aV as getIconForWidget,
3407
- aW as getInferenceType,
3193
+ aL as getEntityPreviewKeys,
3194
+ aM as getEntityTitlePropertyKey,
3195
+ aN as getEntityViewWidth,
3196
+ aO as getFieldConfig,
3197
+ aP as getFieldId,
3198
+ aQ as getFullId,
3199
+ aR as getFullIdPath,
3200
+ aS as getIconForProperty,
3201
+ aT as getIconForWidget,
3202
+ aU as getInferenceType,
3408
3203
  getLastSegment2 as getLastSegment,
3409
- aX as getPropertiesWithPropertiesOrder,
3410
- aY as getPropertyInPath,
3411
- aZ as getResolvedPropertyInPath,
3412
- a_ as idToPropertiesPath,
3413
- a$ as isReferenceProperty,
3414
- b0 as isRelationProperty,
3415
- b1 as mergeEntityActions,
3416
- b2 as namespaceToPropertiesOrderPath,
3417
- b3 as namespaceToPropertiesPath,
3418
- b4 as processValueMapping,
3204
+ aV as getPropertiesWithPropertiesOrder,
3205
+ aW as getPropertyInPath,
3206
+ aX as getResolvedPropertyInPath,
3207
+ aY as idToPropertiesPath,
3208
+ aZ as isReferenceProperty,
3209
+ a_ as isRelationProperty,
3210
+ a$ as mergeEntityActions,
3211
+ b0 as namespaceToPropertiesOrderPath,
3212
+ b1 as namespaceToPropertiesPath,
3213
+ b2 as processValueMapping,
3419
3214
  removeInitialAndTrailingSlashes,
3420
3215
  removeInitialSlash,
3421
3216
  removeTrailingSlash,
3422
- b5 as renderSkeletonCaptionText,
3423
- b6 as renderSkeletonIcon,
3424
- b7 as renderSkeletonImageThumbnail,
3425
- b8 as renderSkeletonText,
3426
- b9 as resetPasswordAction,
3217
+ b3 as renderSkeletonCaptionText,
3218
+ b4 as renderSkeletonIcon,
3219
+ b5 as renderSkeletonImageThumbnail,
3220
+ b6 as renderSkeletonText,
3221
+ b7 as resetPasswordAction,
3427
3222
  resolveCollectionPathIds,
3428
- ba as resolveEntityAction,
3429
- bb as resolveEntityView,
3223
+ b8 as resolveEntityAction,
3224
+ b9 as resolveEntityView,
3430
3225
  resolveNavigationFrom,
3431
- bc as sanitizeUrl,
3432
- bd as unflattenObject,
3433
- be as useApp,
3226
+ ba as sanitizeUrl,
3227
+ bb as unflattenObject,
3228
+ bc as useApp,
3434
3229
  useBreadcrumbsController,
3435
- bg as useBuildCollectionRegistryController,
3436
- bh as useBuildNavigationStateController,
3437
- bi as useBuildSideEntityController,
3438
- bj as useBuildUrlController,
3230
+ be as useBuildCollectionRegistryController,
3231
+ bf as useBuildNavigationStateController,
3232
+ bg as useBuildSideEntityController,
3233
+ bh as useBuildUrlController,
3439
3234
  useCMSContext,
3440
- bl as useClearRestoreValue,
3235
+ bj as useClearRestoreValue,
3441
3236
  useCollectionEditorController,
3442
3237
  useCollectionRegistryController,
3443
- bo as useCollectionsConfigController,
3238
+ bm as useCollectionsConfigController,
3444
3239
  u2 as useEntityHistory,
3445
3240
  useEntitySelectionDialog,
3446
- bq as useImportConfig,
3447
- br as useLocalCollectionsConfigController,
3241
+ bo as useImportConfig,
3242
+ bp as useLocalCollectionsConfigController,
3448
3243
  useNavigationStateController,
3449
- bt as useResolvedCollections,
3244
+ br as useResolvedCollections,
3450
3245
  useResolvedNavigationFrom,
3451
- bu as useResolvedViews,
3452
- bv as useSelectionController,
3453
- bw as useSideDialogsController,
3454
- bx as useSideEntityController,
3455
- by as useTopLevelNavigation,
3246
+ bs as useResolvedViews,
3247
+ bt as useSelectionController,
3248
+ bu as useSideDialogsController,
3249
+ bv as useSideEntityController,
3250
+ bw as useTopLevelNavigation,
3456
3251
  useUrlController,
3457
- bA as validateCollectionJson,
3458
- bB as zodToFormErrors
3252
+ by as validateCollectionJson,
3253
+ bz as zodToFormErrors
3459
3254
  };
3460
3255
  //# sourceMappingURL=index.js.map