@strapi/plugin-users-permissions 5.0.0-alpha.1 → 5.0.0-alpha.2

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 (47) hide show
  1. package/dist/_chunks/{EditViewPage-kgrZ8rEg-6k5dfk_x.js → EditViewPage-JFzIJClS-9jnyNYlZ.js} +163 -163
  2. package/dist/_chunks/{EditViewPage-kgrZ8rEg-6k5dfk_x.js.map → EditViewPage-JFzIJClS-9jnyNYlZ.js.map} +1 -1
  3. package/dist/_chunks/{EditViewPage-kgrZ8rEg-GlayP0Uq.mjs → EditViewPage-JFzIJClS-SluImrzz.mjs} +3 -3
  4. package/dist/_chunks/{EditViewPage-kgrZ8rEg-GlayP0Uq.mjs.map → EditViewPage-JFzIJClS-SluImrzz.mjs.map} +1 -1
  5. package/dist/_chunks/{ListViewPage-BNB0ptO7-TUQO_9Hj.js → ListViewPage-1VNVP9Rw-94jqnla4.js} +103 -103
  6. package/dist/_chunks/{ListViewPage-BNB0ptO7-TUQO_9Hj.js.map → ListViewPage-1VNVP9Rw-94jqnla4.js.map} +1 -1
  7. package/dist/_chunks/{ListViewPage-BNB0ptO7-t1ra9JlI.mjs → ListViewPage-1VNVP9Rw-Ce-HkFp1.mjs} +6 -6
  8. package/dist/_chunks/{ListViewPage-BNB0ptO7-t1ra9JlI.mjs.map → ListViewPage-1VNVP9Rw-Ce-HkFp1.mjs.map} +1 -1
  9. package/dist/_chunks/{ReviewWorkflowsColumn-56Z6l-FH-mpkuW-HV.mjs → ReviewWorkflowsColumn-sPZxvFUd-Cd4JhTlj.mjs} +2 -2
  10. package/dist/_chunks/{ReviewWorkflowsColumn-56Z6l-FH-mpkuW-HV.mjs.map → ReviewWorkflowsColumn-sPZxvFUd-Cd4JhTlj.mjs.map} +1 -1
  11. package/dist/_chunks/{ReviewWorkflowsColumn-56Z6l-FH-3Dq1lGu9.js → ReviewWorkflowsColumn-sPZxvFUd-S2eFi9Dy.js} +5 -5
  12. package/dist/_chunks/{ReviewWorkflowsColumn-56Z6l-FH-3Dq1lGu9.js.map → ReviewWorkflowsColumn-sPZxvFUd-S2eFi9Dy.js.map} +1 -1
  13. package/dist/_chunks/{constants-evLWZCaJ-0QLv9QPI.mjs → constants-0OGkpIzK-R5N7-OUr.mjs} +2 -2
  14. package/dist/_chunks/{constants-evLWZCaJ-0QLv9QPI.mjs.map → constants-0OGkpIzK-R5N7-OUr.mjs.map} +1 -1
  15. package/dist/_chunks/{constants-evLWZCaJ-dGs71EWl.js → constants-0OGkpIzK-f_M9PDKN.js} +18 -18
  16. package/dist/_chunks/{constants-evLWZCaJ-dGs71EWl.js.map → constants-0OGkpIzK-f_M9PDKN.js.map} +1 -1
  17. package/dist/_chunks/{index-Bg2Rf_5y.js → index-6X9XaLjS.js} +4 -4
  18. package/dist/_chunks/{index-Bg2Rf_5y.js.map → index-6X9XaLjS.js.map} +1 -1
  19. package/dist/_chunks/{index-YFPS5vYF-cugkJcLS.mjs → index-GIVuHJgC-_q6V7_2B.mjs} +3 -3
  20. package/dist/_chunks/{index-YFPS5vYF-cugkJcLS.mjs.map → index-GIVuHJgC-_q6V7_2B.mjs.map} +1 -1
  21. package/dist/_chunks/{index-YFPS5vYF-ZGkR3L1g.js → index-GIVuHJgC-tj2acNbO.js} +3 -3
  22. package/dist/_chunks/{index-YFPS5vYF-ZGkR3L1g.js.map → index-GIVuHJgC-tj2acNbO.js.map} +1 -1
  23. package/dist/_chunks/{index-yKMi8hKt.js → index-Q5NQ4RI9.js} +10 -10
  24. package/dist/_chunks/{index-yKMi8hKt.js.map → index-Q5NQ4RI9.js.map} +1 -1
  25. package/dist/_chunks/{index-6E51D69B.js → index-RT4MW9Nr.js} +2 -2
  26. package/dist/_chunks/{index-6E51D69B.js.map → index-RT4MW9Nr.js.map} +1 -1
  27. package/dist/_chunks/{index-hG66XSuA.mjs → index-av_iGW-0.mjs} +2 -2
  28. package/dist/_chunks/{index-hG66XSuA.mjs.map → index-av_iGW-0.mjs.map} +1 -1
  29. package/dist/_chunks/{index-ylhaoJtw.js → index-heeE_h30.js} +4 -4
  30. package/dist/_chunks/{index-ylhaoJtw.js.map → index-heeE_h30.js.map} +1 -1
  31. package/dist/_chunks/{index-xt3l4qU9.mjs → index-iaIILeuQ.mjs} +10 -10
  32. package/dist/_chunks/{index-xt3l4qU9.mjs.map → index-iaIILeuQ.mjs.map} +1 -1
  33. package/dist/_chunks/{index-R05CeNXG.mjs → index-pDvppjQG.mjs} +3 -3
  34. package/dist/_chunks/{index-R05CeNXG.mjs.map → index-pDvppjQG.mjs.map} +1 -1
  35. package/dist/_chunks/{index-LpFmy25n.js → index-tFzYCM9l.js} +2 -2
  36. package/dist/_chunks/{index-LpFmy25n.js.map → index-tFzYCM9l.js.map} +1 -1
  37. package/dist/_chunks/{index-aEKi1Qb9.mjs → index-vvcDunmb.mjs} +3 -3
  38. package/dist/_chunks/{index-aEKi1Qb9.mjs.map → index-vvcDunmb.mjs.map} +1 -1
  39. package/dist/_chunks/{index-BGIcvvEB.mjs → index-whB2wk2v.mjs} +2 -2
  40. package/dist/_chunks/{index-BGIcvvEB.mjs.map → index-whB2wk2v.mjs.map} +1 -1
  41. package/dist/_chunks/{useSyncRbac-83vFRiaG-ov11t-T1.mjs → useSyncRbac-JNQibLFa-D0RzXrU4.mjs} +2 -2
  42. package/dist/_chunks/{useSyncRbac-83vFRiaG-ov11t-T1.mjs.map → useSyncRbac-JNQibLFa-D0RzXrU4.mjs.map} +1 -1
  43. package/dist/_chunks/{useSyncRbac-83vFRiaG-YY4KQcAU.js → useSyncRbac-JNQibLFa-G2N9BPgu.js} +7 -7
  44. package/dist/_chunks/{useSyncRbac-83vFRiaG-YY4KQcAU.js.map → useSyncRbac-JNQibLFa-G2N9BPgu.js.map} +1 -1
  45. package/dist/admin/index.js +1 -1
  46. package/dist/admin/index.mjs +1 -1
  47. package/package.json +6 -6
@@ -5,12 +5,12 @@ const React = require("react");
5
5
  const designSystem = require("@strapi/design-system");
6
6
  const Icons = require("@strapi/icons");
7
7
  const isEqual = require("lodash/isEqual");
8
- const indexYFPS5vYF = require("./index-YFPS5vYF-ZGkR3L1g.js");
8
+ const indexGIVuHJgC = require("./index-GIVuHJgC-tj2acNbO.js");
9
9
  const Helmet = require("./Helmet-d9JljxUo.js");
10
10
  const reactIntl = require("react-intl");
11
11
  const reactRouterDom = require("react-router-dom");
12
12
  const styled = require("styled-components");
13
- const useSyncRbac83vFRiaG = require("./useSyncRbac-83vFRiaG-YY4KQcAU.js");
13
+ const useSyncRbacJNQibLFa = require("./useSyncRbac-JNQibLFa-G2N9BPgu.js");
14
14
  const helperPlugin = require("@strapi/helper-plugin");
15
15
  const isEmpty = require("lodash/isEmpty");
16
16
  const toString = require("lodash/toString");
@@ -41,8 +41,8 @@ const isEmpty__default = /* @__PURE__ */ _interopDefault(isEmpty);
41
41
  const toString__default = /* @__PURE__ */ _interopDefault(toString);
42
42
  function parseISO(argument, options) {
43
43
  var _options$additionalDi;
44
- indexYFPS5vYF.requiredArgs(1, arguments);
45
- var additionalDigits = indexYFPS5vYF.toInteger((_options$additionalDi = options === null || options === void 0 ? void 0 : options.additionalDigits) !== null && _options$additionalDi !== void 0 ? _options$additionalDi : 2);
44
+ indexGIVuHJgC.requiredArgs(1, arguments);
45
+ var additionalDigits = indexGIVuHJgC.toInteger((_options$additionalDi = options === null || options === void 0 ? void 0 : options.additionalDigits) !== null && _options$additionalDi !== void 0 ? _options$additionalDi : 2);
46
46
  if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {
47
47
  throw new RangeError("additionalDigits must be 0, 1 or 2");
48
48
  }
@@ -171,7 +171,7 @@ function parseTime(timeString) {
171
171
  if (!validateTime(hours, minutes, seconds)) {
172
172
  return NaN;
173
173
  }
174
- return hours * indexYFPS5vYF.millisecondsInHour + minutes * indexYFPS5vYF.millisecondsInMinute + seconds * 1e3;
174
+ return hours * indexGIVuHJgC.millisecondsInHour + minutes * indexGIVuHJgC.millisecondsInMinute + seconds * 1e3;
175
175
  }
176
176
  function parseTimeUnit(value) {
177
177
  return value && parseFloat(value.replace(",", ".")) || 0;
@@ -188,7 +188,7 @@ function parseTimezone(timezoneString) {
188
188
  if (!validateTimezone(hours, minutes)) {
189
189
  return NaN;
190
190
  }
191
- return sign * (hours * indexYFPS5vYF.millisecondsInHour + minutes * indexYFPS5vYF.millisecondsInMinute);
191
+ return sign * (hours * indexGIVuHJgC.millisecondsInHour + minutes * indexGIVuHJgC.millisecondsInMinute);
192
192
  }
193
193
  function dayOfISOWeekYear(isoWeekYear, week, day) {
194
194
  var date = /* @__PURE__ */ new Date(0);
@@ -350,7 +350,7 @@ const STRING_PARSE_FILTERS = [
350
350
  value: "$endsWithi"
351
351
  }
352
352
  ];
353
- const [FiltersProvider, useFilters] = indexYFPS5vYF.createContext("Filters");
353
+ const [FiltersProvider, useFilters] = indexGIVuHJgC.createContext("Filters");
354
354
  const Root = ({
355
355
  children,
356
356
  disabled = false,
@@ -361,7 +361,7 @@ const Root = ({
361
361
  options = []
362
362
  }) => {
363
363
  const [triggerNode, setTriggerNode] = React__namespace.useState(null);
364
- const [open = false, setOpen] = indexYFPS5vYF.useControllableState({
364
+ const [open = false, setOpen] = indexGIVuHJgC.useControllableState({
365
365
  prop: openProp,
366
366
  defaultProp: defaultOpen,
367
367
  onChange: onOpenChange
@@ -411,7 +411,7 @@ const Trigger = React__namespace.forwardRef(
411
411
  }
412
412
  );
413
413
  const PopoverImpl = () => {
414
- const [{ query }, setQuery] = indexYFPS5vYF.useQueryParams();
414
+ const [{ query }, setQuery] = indexGIVuHJgC.useQueryParams();
415
415
  const { formatMessage } = reactIntl.useIntl();
416
416
  const open = useFilters("Popover", ({ open: open2 }) => open2);
417
417
  const options = useFilters("Popover", ({ options: options2 }) => options2);
@@ -455,7 +455,7 @@ const PopoverImpl = () => {
455
455
  spacing: 4,
456
456
  maxHeight: "unset",
457
457
  children: /* @__PURE__ */ jsxRuntime.jsx(
458
- indexYFPS5vYF.Form,
458
+ indexGIVuHJgC.Form,
459
459
  {
460
460
  method: "POST",
461
461
  initialValues: {
@@ -465,7 +465,7 @@ const PopoverImpl = () => {
465
465
  onSubmit: handleSubmit,
466
466
  children: ({ values: formValues, modified, isSubmitting }) => {
467
467
  const filter = options.find((filter2) => filter2.name === formValues.name);
468
- const Input = filter?.input || indexYFPS5vYF.InputRenderer;
468
+ const Input = filter?.input || indexGIVuHJgC.InputRenderer;
469
469
  return /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 2, style: { minWidth: 184 }, children: [
470
470
  [
471
471
  {
@@ -500,7 +500,7 @@ const PopoverImpl = () => {
500
500
  }),
501
501
  type: "enumeration"
502
502
  }
503
- ].map((field) => /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.InputRenderer, { ...field }, field.name)),
503
+ ].map((field) => /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.InputRenderer, { ...field }, field.name)),
504
504
  filter && formValues.filter && formValues.filter !== "$null" && formValues.filter !== "$notNull" ? /* @__PURE__ */ jsxRuntime.jsx(
505
505
  Input,
506
506
  {
@@ -565,7 +565,7 @@ const getFilterList = (filter) => {
565
565
  }
566
566
  };
567
567
  const List = () => {
568
- const [{ query }, setQuery] = indexYFPS5vYF.useQueryParams();
568
+ const [{ query }, setQuery] = indexGIVuHJgC.useQueryParams();
569
569
  const options = useFilters("List", ({ options: options2 }) => options2);
570
570
  const handleClick = (data) => {
571
571
  const nextFilters = (query?.filters?.$and ?? []).filter((filter) => {
@@ -714,14 +714,14 @@ const NOT_ALLOWED_FILTERS = [
714
714
  "blocks"
715
715
  ];
716
716
  const DEFAULT_ALLOWED_FILTERS = ["createdAt", "updatedAt"];
717
- const USER_FILTER_ATTRIBUTES = [...indexYFPS5vYF.CREATOR_FIELDS, "strapi_assignee"];
717
+ const USER_FILTER_ATTRIBUTES = [...indexGIVuHJgC.CREATOR_FIELDS, "strapi_assignee"];
718
718
  const FiltersImpl = ({ disabled, schema }) => {
719
719
  const { attributes, uid: model, options } = schema;
720
720
  const { formatMessage, locale } = reactIntl.useIntl();
721
- const { trackUsage } = indexYFPS5vYF.useTracking();
721
+ const { trackUsage } = indexGIVuHJgC.useTracking();
722
722
  const { allPermissions } = helperPlugin.useRBACProvider();
723
- const [{ query }] = indexYFPS5vYF.useQueryParams();
724
- const { schemas } = indexYFPS5vYF.useContentTypeSchema();
723
+ const [{ query }] = indexGIVuHJgC.useQueryParams();
724
+ const { schemas } = indexGIVuHJgC.useContentTypeSchema();
725
725
  const canReadAdminUsers = React__namespace.useMemo(
726
726
  () => helperPlugin.findMatchingPermissions(allPermissions, [
727
727
  {
@@ -742,7 +742,7 @@ const FiltersImpl = ({ disabled, schema }) => {
742
742
  }
743
743
  return acc;
744
744
  }, []);
745
- const { data: userData, isLoading: isLoadingAdminUsers } = indexYFPS5vYF.useAdminUsers(
745
+ const { data: userData, isLoading: isLoadingAdminUsers } = indexGIVuHJgC.useAdminUsers(
746
746
  { filters: { id: { $in: selectedUserIds } } },
747
747
  {
748
748
  // fetch the list of admin users only if the filter contains users and the
@@ -751,7 +751,7 @@ const FiltersImpl = ({ disabled, schema }) => {
751
751
  }
752
752
  );
753
753
  const { users = [] } = userData ?? {};
754
- const { metadata } = indexYFPS5vYF.useGetContentTypeConfigurationQuery(model, {
754
+ const { metadata } = indexGIVuHJgC.useGetContentTypeConfigurationQuery(model, {
755
755
  selectFromResult: ({ data }) => ({ metadata: data?.contentType.metadatas ?? {} })
756
756
  });
757
757
  const formatter = designSystem.useCollator(locale, {
@@ -775,7 +775,7 @@ const FiltersImpl = ({ disabled, schema }) => {
775
775
  "id",
776
776
  ...allowedFields,
777
777
  ...DEFAULT_ALLOWED_FILTERS,
778
- ...canReadAdminUsers ? indexYFPS5vYF.CREATOR_FIELDS : []
778
+ ...canReadAdminUsers ? indexGIVuHJgC.CREATOR_FIELDS : []
779
779
  ].map((name) => {
780
780
  const attribute = attributes[name];
781
781
  if (NOT_ALLOWED_FILTERS.includes(attribute.type)) {
@@ -785,7 +785,7 @@ const FiltersImpl = ({ disabled, schema }) => {
785
785
  let filter = {
786
786
  name,
787
787
  label: label ?? "",
788
- mainField: indexYFPS5vYF.getMainField(attribute, mainFieldName, { schemas, components: {} }),
788
+ mainField: indexGIVuHJgC.getMainField(attribute, mainFieldName, { schemas, components: {} }),
789
789
  // @ts-expect-error – TODO: this is filtered out above in the `allowedFields` call but TS complains, is there a better way to solve this?
790
790
  type: attribute.type
791
791
  };
@@ -794,7 +794,7 @@ const FiltersImpl = ({ disabled, schema }) => {
794
794
  ...filter,
795
795
  input: AdminUsersFilter,
796
796
  options: users.map((user) => ({
797
- label: indexYFPS5vYF.getDisplayName(user, formatMessage),
797
+ label: indexGIVuHJgC.getDisplayName(user, formatMessage),
798
798
  value: user.id.toString()
799
799
  })),
800
800
  operators: [
@@ -831,9 +831,9 @@ const FiltersImpl = ({ disabled, schema }) => {
831
831
  users,
832
832
  formatMessage
833
833
  ]);
834
- const reviewWorkflowFilter = indexYFPS5vYF.useEnterprise(
834
+ const reviewWorkflowFilter = indexGIVuHJgC.useEnterprise(
835
835
  REVIEW_WORKFLOW_FILTER_CE,
836
- async () => (await Promise.resolve().then(() => require("./constants-evLWZCaJ-dGs71EWl.js"))).REVIEW_WORKFLOW_FILTERS,
836
+ async () => (await Promise.resolve().then(() => require("./constants-0OGkpIzK-f_M9PDKN.js"))).REVIEW_WORKFLOW_FILTERS,
837
837
  {
838
838
  combine(ceFilters, eeFilters) {
839
839
  return [
@@ -855,7 +855,7 @@ const FiltersImpl = ({ disabled, schema }) => {
855
855
  // TODO: strapi_assignee should not be in here and rather defined
856
856
  // in the ee directory.
857
857
  eeFilter.name === "strapi_assignee" ? users.map((user) => ({
858
- label: indexYFPS5vYF.getDisplayName(user, formatMessage),
858
+ label: indexGIVuHJgC.getDisplayName(user, formatMessage),
859
859
  value: user.id.toString()
860
860
  })) : void 0
861
861
  )
@@ -907,10 +907,10 @@ const FiltersImpl = ({ disabled, schema }) => {
907
907
  const AdminUsersFilter = ({ name }) => {
908
908
  const [page, setPage] = React__namespace.useState(1);
909
909
  const { formatMessage } = reactIntl.useIntl();
910
- const { data, isLoading } = indexYFPS5vYF.useAdminUsers({
910
+ const { data, isLoading } = indexGIVuHJgC.useAdminUsers({
911
911
  page
912
912
  });
913
- const field = indexYFPS5vYF.useField(name);
913
+ const field = indexGIVuHJgC.useField(name);
914
914
  const handleOpenChange = (isOpen) => {
915
915
  if (!isOpen) {
916
916
  setPage(1);
@@ -930,7 +930,7 @@ const AdminUsersFilter = ({ name }) => {
930
930
  loading: isLoading,
931
931
  onLoadMore: () => setPage((prev) => prev + 1),
932
932
  children: users.map((user) => {
933
- return /* @__PURE__ */ jsxRuntime.jsx(designSystem.ComboboxOption, { value: user.id.toString(), children: indexYFPS5vYF.getDisplayName(user, formatMessage) }, user.id);
933
+ return /* @__PURE__ */ jsxRuntime.jsx(designSystem.ComboboxOption, { value: user.id.toString(), children: indexGIVuHJgC.getDisplayName(user, formatMessage) }, user.id);
934
934
  })
935
935
  }
936
936
  );
@@ -1006,10 +1006,10 @@ const MenuTrigger$1 = styled__default.default(v2.Menu.Trigger)`
1006
1006
  `;
1007
1007
  const getFileExtension = (ext) => ext && ext[0] === "." ? ext.substring(1) : ext;
1008
1008
  const MediaSingle = ({ url, mime, alternativeText, name, ext, formats }) => {
1009
- const fileURL = indexYFPS5vYF.prefixFileUrlWithBackendUrl(url);
1009
+ const fileURL = indexGIVuHJgC.prefixFileUrlWithBackendUrl(url);
1010
1010
  if (mime.includes("image")) {
1011
1011
  const thumbnail = formats?.thumbnail?.url;
1012
- const mediaURL = indexYFPS5vYF.prefixFileUrlWithBackendUrl(thumbnail) || fileURL;
1012
+ const mediaURL = indexGIVuHJgC.prefixFileUrlWithBackendUrl(thumbnail) || fileURL;
1013
1013
  return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Avatar, { src: mediaURL, alt: alternativeText || name, preview: true });
1014
1014
  }
1015
1015
  const fileExtension = getFileExtension(ext);
@@ -1052,18 +1052,18 @@ const MediaMultiple = ({ content }) => {
1052
1052
  }) });
1053
1053
  };
1054
1054
  const RelationSingle = ({ mainField, content }) => {
1055
- return /* @__PURE__ */ jsxRuntime.jsx(TypographyMaxWidth$1, { textColor: "neutral800", ellipsis: true, children: indexYFPS5vYF.getRelationLabel(content, mainField) });
1055
+ return /* @__PURE__ */ jsxRuntime.jsx(TypographyMaxWidth$1, { textColor: "neutral800", ellipsis: true, children: indexGIVuHJgC.getRelationLabel(content, mainField) });
1056
1056
  };
1057
1057
  const TypographyMaxWidth$1 = styled__default.default(designSystem.Typography)`
1058
1058
  max-width: 500px;
1059
1059
  `;
1060
1060
  const RelationMultiple = ({ mainField, content, rowId, name }) => {
1061
- const { model } = indexYFPS5vYF.useDoc();
1061
+ const { model } = indexGIVuHJgC.useDoc();
1062
1062
  const { formatMessage } = reactIntl.useIntl();
1063
1063
  const { notifyStatus } = designSystem.useNotifyAT();
1064
1064
  const [isOpen, setIsOpen] = React__namespace.useState(false);
1065
1065
  const [targetField] = name.split(".");
1066
- const { data, isLoading } = indexYFPS5vYF.useGetRelationsQuery(
1066
+ const { data, isLoading } = indexGIVuHJgC.useGetRelationsQuery(
1067
1067
  {
1068
1068
  model,
1069
1069
  id: rowId,
@@ -1078,7 +1078,7 @@ const RelationMultiple = ({ mainField, content, rowId, name }) => {
1078
1078
  if (data) {
1079
1079
  notifyStatus(
1080
1080
  formatMessage({
1081
- id: indexYFPS5vYF.getTranslation("DynamicTable.relation-loaded"),
1081
+ id: indexGIVuHJgC.getTranslation("DynamicTable.relation-loaded"),
1082
1082
  defaultMessage: "Relations have been loaded"
1083
1083
  })
1084
1084
  );
@@ -1097,17 +1097,17 @@ const RelationMultiple = ({ mainField, content, rowId, name }) => {
1097
1097
  ] }) }),
1098
1098
  /* @__PURE__ */ jsxRuntime.jsxs(v2.Menu.Content, { children: [
1099
1099
  isLoading && /* @__PURE__ */ jsxRuntime.jsx(v2.Menu.Item, { disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Loader, { small: true, children: formatMessage({
1100
- id: indexYFPS5vYF.getTranslation("ListViewTable.relation-loading"),
1100
+ id: indexGIVuHJgC.getTranslation("ListViewTable.relation-loading"),
1101
1101
  defaultMessage: "Relations are loading"
1102
1102
  }) }) }),
1103
1103
  data?.results && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1104
- data.results.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(v2.Menu.Item, { disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(TypographyMaxWidth$1, { ellipsis: true, children: indexYFPS5vYF.getRelationLabel(entry, mainField) }) }, entry.documentId)),
1104
+ data.results.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(v2.Menu.Item, { disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(TypographyMaxWidth$1, { ellipsis: true, children: indexGIVuHJgC.getRelationLabel(entry, mainField) }) }, entry.documentId)),
1105
1105
  data?.pagination && data?.pagination.total > 10 && /* @__PURE__ */ jsxRuntime.jsx(
1106
1106
  v2.Menu.Item,
1107
1107
  {
1108
1108
  "aria-disabled": true,
1109
1109
  "aria-label": formatMessage({
1110
- id: indexYFPS5vYF.getTranslation("ListViewTable.relation-more"),
1110
+ id: indexGIVuHJgC.getTranslation("ListViewTable.relation-more"),
1111
1111
  defaultMessage: "This relation contains more entities than displayed"
1112
1112
  }),
1113
1113
  children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { children: "…" })
@@ -1182,10 +1182,10 @@ const isSingleRelation = (type) => ["oneToOne", "manyToOne", "oneToOneMorph"].in
1182
1182
  const ViewSettingsMenu = (props) => {
1183
1183
  const [isVisible, setIsVisible] = React__namespace.useState(false);
1184
1184
  const cogButtonRef = React__namespace.useRef(null);
1185
- const permissions = indexYFPS5vYF.useTypedSelector(
1185
+ const permissions = indexGIVuHJgC.useTypedSelector(
1186
1186
  (state) => state.admin_app.permissions.contentManager?.collectionTypesConfigurations ?? []
1187
1187
  );
1188
- const [{ query }] = indexYFPS5vYF.useQueryParams();
1188
+ const [{ query }] = indexGIVuHJgC.useQueryParams();
1189
1189
  const { formatMessage } = reactIntl.useIntl();
1190
1190
  const {
1191
1191
  allowedActions: { canViewConfiguration }
@@ -1226,7 +1226,7 @@ const ViewSettingsMenu = (props) => {
1226
1226
  as: reactRouterDom.NavLink,
1227
1227
  to: {
1228
1228
  pathname: "configurations/list",
1229
- search: query.plugins ? indexYFPS5vYF.lib.stringify({ plugins: query.plugins }, { encode: false }) : ""
1229
+ search: query.plugins ? indexGIVuHJgC.lib.stringify({ plugins: query.plugins }, { encode: false }) : ""
1230
1230
  },
1231
1231
  children: formatMessage({
1232
1232
  id: "app.links.configure-view",
@@ -1241,15 +1241,15 @@ const ViewSettingsMenu = (props) => {
1241
1241
  ] });
1242
1242
  };
1243
1243
  const FieldPicker = ({ headers = [], resetHeaders, setHeaders }) => {
1244
- const { trackUsage } = indexYFPS5vYF.useTracking();
1244
+ const { trackUsage } = indexGIVuHJgC.useTracking();
1245
1245
  const { formatMessage, locale } = reactIntl.useIntl();
1246
- const { schema, model } = indexYFPS5vYF.useDoc();
1247
- const { list } = indexYFPS5vYF.useDocumentLayout(model);
1246
+ const { schema, model } = indexGIVuHJgC.useDoc();
1247
+ const { list } = indexGIVuHJgC.useDocumentLayout(model);
1248
1248
  const formatter = designSystem.useCollator(locale, {
1249
1249
  sensitivity: "base"
1250
1250
  });
1251
1251
  const attributes = schema?.attributes ?? {};
1252
- const columns = Object.keys(attributes).filter((name) => indexYFPS5vYF.checkIfAttributeIsDisplayable(attributes[name])).map((name) => ({
1252
+ const columns = Object.keys(attributes).filter((name) => indexGIVuHJgC.checkIfAttributeIsDisplayable(attributes[name])).map((name) => ({
1253
1253
  name,
1254
1254
  label: list.metadatas[name]?.label ?? ""
1255
1255
  })).sort((a, b) => formatter.compare(a.label, b.label));
@@ -1305,20 +1305,20 @@ const ChackboxWrapper = styled__default.default(designSystem.Flex)`
1305
1305
  background-color: ${(props) => props.theme.colors.primary100};
1306
1306
  }
1307
1307
  `;
1308
- const { INJECT_COLUMN_IN_TABLE } = indexYFPS5vYF.HOOKS;
1308
+ const { INJECT_COLUMN_IN_TABLE } = indexGIVuHJgC.HOOKS;
1309
1309
  const REVIEW_WORKFLOW_COLUMNS_CE = null;
1310
1310
  const REVIEW_WORKFLOW_COLUMNS_CELL_CE = {
1311
1311
  ReviewWorkflowsStageEE: () => null,
1312
1312
  ReviewWorkflowsAssigneeEE: () => null
1313
1313
  };
1314
1314
  const ListViewPage = () => {
1315
- const { trackUsage } = indexYFPS5vYF.useTracking();
1315
+ const { trackUsage } = indexGIVuHJgC.useTracking();
1316
1316
  const navigate = reactRouterDom.useNavigate();
1317
1317
  const { formatMessage } = reactIntl.useIntl();
1318
- const { toggleNotification } = indexYFPS5vYF.useNotification();
1319
- const { _unstableFormatAPIError: formatAPIError } = indexYFPS5vYF.useAPIErrorHandler(indexYFPS5vYF.getTranslation);
1320
- const { collectionType, model, schema } = indexYFPS5vYF.useDoc();
1321
- const { list } = indexYFPS5vYF.useDocumentLayout(model);
1318
+ const { toggleNotification } = indexGIVuHJgC.useNotification();
1319
+ const { _unstableFormatAPIError: formatAPIError } = indexGIVuHJgC.useAPIErrorHandler(indexGIVuHJgC.getTranslation);
1320
+ const { collectionType, model, schema } = indexGIVuHJgC.useDoc();
1321
+ const { list } = indexGIVuHJgC.useDocumentLayout(model);
1322
1322
  const [displayedHeaders, setDisplayedHeaders] = React__namespace.useState([]);
1323
1323
  const listLayout = usePrev(list.layout);
1324
1324
  React__namespace.useEffect(() => {
@@ -1328,16 +1328,16 @@ const ListViewPage = () => {
1328
1328
  }, [list.layout, listLayout]);
1329
1329
  const handleSetHeaders = (headers) => {
1330
1330
  setDisplayedHeaders(
1331
- indexYFPS5vYF.convertListLayoutToFieldLayouts(headers, schema.attributes, list.metadatas)
1331
+ indexGIVuHJgC.convertListLayoutToFieldLayouts(headers, schema.attributes, list.metadatas)
1332
1332
  );
1333
1333
  };
1334
- const [{ query }] = indexYFPS5vYF.useQueryParams({
1334
+ const [{ query }] = indexGIVuHJgC.useQueryParams({
1335
1335
  page: "1",
1336
1336
  pageSize: list.settings.pageSize.toString(),
1337
1337
  sort: list.settings.defaultSortBy ? `${list.settings.defaultSortBy}:${list.settings.defaultSortOrder}` : ""
1338
1338
  });
1339
- const params = React__namespace.useMemo(() => indexYFPS5vYF.buildValidParams(query), [query]);
1340
- const { data, error, isLoading } = indexYFPS5vYF.useGetAllDocumentsQuery({
1339
+ const params = React__namespace.useMemo(() => indexGIVuHJgC.buildValidParams(query), [query]);
1340
+ const { data, error, isLoading } = indexGIVuHJgC.useGetAllDocumentsQuery({
1341
1341
  model,
1342
1342
  params
1343
1343
  });
@@ -1354,7 +1354,7 @@ const ListViewPage = () => {
1354
1354
  if (pagination && pagination.pageCount > 0 && pagination.page > pagination.pageCount) {
1355
1355
  navigate(
1356
1356
  {
1357
- search: indexYFPS5vYF.lib.stringify({
1357
+ search: indexGIVuHJgC.lib.stringify({
1358
1358
  ...query,
1359
1359
  page: pagination.pageCount
1360
1360
  })
@@ -1363,27 +1363,27 @@ const ListViewPage = () => {
1363
1363
  );
1364
1364
  }
1365
1365
  }, [pagination, formatMessage, query, navigate]);
1366
- const { canCreate } = indexYFPS5vYF.useDocumentRBAC("ListViewPage", ({ canCreate: canCreate2 }) => ({
1366
+ const { canCreate } = indexGIVuHJgC.useDocumentRBAC("ListViewPage", ({ canCreate: canCreate2 }) => ({
1367
1367
  canCreate: canCreate2
1368
1368
  }));
1369
- const reviewWorkflowColumns = indexYFPS5vYF.useEnterprise(
1369
+ const reviewWorkflowColumns = indexGIVuHJgC.useEnterprise(
1370
1370
  REVIEW_WORKFLOW_COLUMNS_CE,
1371
- async () => (await Promise.resolve().then(() => require("./constants-evLWZCaJ-dGs71EWl.js"))).REVIEW_WORKFLOW_COLUMNS_EE,
1371
+ async () => (await Promise.resolve().then(() => require("./constants-0OGkpIzK-f_M9PDKN.js"))).REVIEW_WORKFLOW_COLUMNS_EE,
1372
1372
  {
1373
1373
  enabled: !!schema?.options?.reviewWorkflows
1374
1374
  }
1375
1375
  );
1376
- const ReviewWorkflowsColumns = indexYFPS5vYF.useEnterprise(
1376
+ const ReviewWorkflowsColumns = indexGIVuHJgC.useEnterprise(
1377
1377
  REVIEW_WORKFLOW_COLUMNS_CELL_CE,
1378
1378
  async () => {
1379
- const { ReviewWorkflowsStageEE, ReviewWorkflowsAssigneeEE } = await Promise.resolve().then(() => require("./ReviewWorkflowsColumn-56Z6l-FH-3Dq1lGu9.js"));
1379
+ const { ReviewWorkflowsStageEE, ReviewWorkflowsAssigneeEE } = await Promise.resolve().then(() => require("./ReviewWorkflowsColumn-sPZxvFUd-S2eFi9Dy.js"));
1380
1380
  return { ReviewWorkflowsStageEE, ReviewWorkflowsAssigneeEE };
1381
1381
  },
1382
1382
  {
1383
1383
  enabled: !!schema?.options?.reviewWorkflows
1384
1384
  }
1385
1385
  );
1386
- const runHookWaterfall = indexYFPS5vYF.useStrapiApp("ListViewPage", ({ runHookWaterfall: runHookWaterfall2 }) => runHookWaterfall2);
1386
+ const runHookWaterfall = indexGIVuHJgC.useStrapiApp("ListViewPage", ({ runHookWaterfall: runHookWaterfall2 }) => runHookWaterfall2);
1387
1387
  const tableHeaders = React__namespace.useMemo(() => {
1388
1388
  const headers = runHookWaterfall(INJECT_COLUMN_IN_TABLE, {
1389
1389
  displayedHeaders,
@@ -1403,7 +1403,7 @@ const ListViewPage = () => {
1403
1403
  },
1404
1404
  name: "status",
1405
1405
  label: formatMessage({
1406
- id: indexYFPS5vYF.getTranslation(`containers.list.table-headers.status`),
1406
+ id: indexGIVuHJgC.getTranslation(`containers.list.table-headers.status`),
1407
1407
  defaultMessage: "status"
1408
1408
  }),
1409
1409
  searchable: false,
@@ -1428,20 +1428,20 @@ const ListViewPage = () => {
1428
1428
  schema?.options?.draftAndPublish
1429
1429
  ]);
1430
1430
  if (isLoading) {
1431
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Page.Loading, {});
1431
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Page.Loading, {});
1432
1432
  }
1433
1433
  if (error) {
1434
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Page.Error, {});
1434
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Page.Error, {});
1435
1435
  }
1436
1436
  const contentTypeTitle = schema?.info.displayName ?? "Untitled";
1437
1437
  const handleRowClick = (id) => () => {
1438
1438
  trackUsage("willEditEntryFromList");
1439
1439
  navigate({
1440
1440
  pathname: id.toString(),
1441
- search: indexYFPS5vYF.lib.stringify({ plugins: query.plugins })
1441
+ search: indexGIVuHJgC.lib.stringify({ plugins: query.plugins })
1442
1442
  });
1443
1443
  };
1444
- return /* @__PURE__ */ jsxRuntime.jsxs(indexYFPS5vYF.Page.Main, { children: [
1444
+ return /* @__PURE__ */ jsxRuntime.jsxs(indexGIVuHJgC.Page.Main, { children: [
1445
1445
  /* @__PURE__ */ jsxRuntime.jsx(Helmet.HelmetExport, { title: `${contentTypeTitle} | Strapi` }),
1446
1446
  /* @__PURE__ */ jsxRuntime.jsx(
1447
1447
  designSystem.HeaderLayout,
@@ -1449,20 +1449,20 @@ const ListViewPage = () => {
1449
1449
  primaryAction: canCreate ? /* @__PURE__ */ jsxRuntime.jsx(CreateButton, {}) : null,
1450
1450
  subtitle: formatMessage(
1451
1451
  {
1452
- id: indexYFPS5vYF.getTranslation("pages.ListView.header-subtitle"),
1452
+ id: indexGIVuHJgC.getTranslation("pages.ListView.header-subtitle"),
1453
1453
  defaultMessage: "{number, plural, =0 {# entries} one {# entry} other {# entries}} found"
1454
1454
  },
1455
1455
  { number: pagination?.total }
1456
1456
  ),
1457
1457
  title: contentTypeTitle,
1458
- navigationAction: /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.BackButton, {})
1458
+ navigationAction: /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.BackButton, {})
1459
1459
  }
1460
1460
  ),
1461
1461
  /* @__PURE__ */ jsxRuntime.jsx(
1462
1462
  designSystem.ActionLayout,
1463
1463
  {
1464
1464
  endActions: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1465
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.InjectionZone, { area: "contentManager.listView.actions" }),
1465
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.InjectionZone, { area: "contentManager.listView.actions" }),
1466
1466
  /* @__PURE__ */ jsxRuntime.jsx(
1467
1467
  ViewSettingsMenu,
1468
1468
  {
@@ -1474,7 +1474,7 @@ const ListViewPage = () => {
1474
1474
  ] }),
1475
1475
  startActions: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1476
1476
  list.settings.searchable && /* @__PURE__ */ jsxRuntime.jsx(
1477
- indexYFPS5vYF.SearchInput,
1477
+ indexGIVuHJgC.SearchInput,
1478
1478
  {
1479
1479
  disabled: results.length === 0,
1480
1480
  label: formatMessage(
@@ -1493,31 +1493,31 @@ const ListViewPage = () => {
1493
1493
  }
1494
1494
  ),
1495
1495
  /* @__PURE__ */ jsxRuntime.jsx(designSystem.ContentLayout, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 4, direction: "column", alignItems: "stretch", children: [
1496
- /* @__PURE__ */ jsxRuntime.jsxs(indexYFPS5vYF.Table.Root, { rows: results, headers: tableHeaders, isLoading, children: [
1497
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.ActionBar, {}),
1498
- /* @__PURE__ */ jsxRuntime.jsxs(indexYFPS5vYF.Table.Content, { children: [
1499
- /* @__PURE__ */ jsxRuntime.jsxs(indexYFPS5vYF.Table.Head, { children: [
1500
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.HeaderCheckboxCell, {}),
1501
- tableHeaders.map((header) => /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.HeaderCell, { ...header }, header.name))
1496
+ /* @__PURE__ */ jsxRuntime.jsxs(indexGIVuHJgC.Table.Root, { rows: results, headers: tableHeaders, isLoading, children: [
1497
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.ActionBar, {}),
1498
+ /* @__PURE__ */ jsxRuntime.jsxs(indexGIVuHJgC.Table.Content, { children: [
1499
+ /* @__PURE__ */ jsxRuntime.jsxs(indexGIVuHJgC.Table.Head, { children: [
1500
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.HeaderCheckboxCell, {}),
1501
+ tableHeaders.map((header) => /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.HeaderCell, { ...header }, header.name))
1502
1502
  ] }),
1503
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Loading, {}),
1504
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Empty, { action: canCreate ? /* @__PURE__ */ jsxRuntime.jsx(CreateButton, { variant: "secondary" }) : null }),
1505
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Body, { children: results.map((row) => {
1503
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Loading, {}),
1504
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Empty, { action: canCreate ? /* @__PURE__ */ jsxRuntime.jsx(CreateButton, { variant: "secondary" }) : null }),
1505
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Body, { children: results.map((row) => {
1506
1506
  return /* @__PURE__ */ jsxRuntime.jsxs(
1507
- indexYFPS5vYF.Table.Row,
1507
+ indexGIVuHJgC.Table.Row,
1508
1508
  {
1509
1509
  cursor: "pointer",
1510
1510
  onClick: handleRowClick(row.documentId),
1511
1511
  children: [
1512
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.CheckboxCell, { id: row.id }),
1512
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.CheckboxCell, { id: row.id }),
1513
1513
  tableHeaders.map(({ cellFormatter, ...header }) => {
1514
1514
  if (header.name === "status") {
1515
1515
  const { status } = row;
1516
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.DocumentStatus, { status, maxWidth: "min-content" }) }, header.name);
1516
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.DocumentStatus, { status, maxWidth: "min-content" }) }, header.name);
1517
1517
  }
1518
1518
  if (schema?.options?.reviewWorkflows) {
1519
1519
  if (header.name === "strapi_stage") {
1520
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Cell, { children: row.strapi_stage ? /* @__PURE__ */ jsxRuntime.jsx(
1520
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Cell, { children: row.strapi_stage ? /* @__PURE__ */ jsxRuntime.jsx(
1521
1521
  ReviewWorkflowsColumns.ReviewWorkflowsStageEE,
1522
1522
  {
1523
1523
  color: row.strapi_stage.color ?? designSystem.lightTheme.colors.primary600,
@@ -1526,7 +1526,7 @@ const ListViewPage = () => {
1526
1526
  ) : /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral800", children: "-" }) }, header.name);
1527
1527
  }
1528
1528
  if (header.name === "strapi_assignee") {
1529
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Cell, { children: row.strapi_assignee ? /* @__PURE__ */ jsxRuntime.jsx(
1529
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Cell, { children: row.strapi_assignee ? /* @__PURE__ */ jsxRuntime.jsx(
1530
1530
  ReviewWorkflowsColumns.ReviewWorkflowsAssigneeEE,
1531
1531
  {
1532
1532
  user: row.strapi_assignee
@@ -1535,12 +1535,12 @@ const ListViewPage = () => {
1535
1535
  }
1536
1536
  }
1537
1537
  if (["createdBy", "updatedBy"].includes(header.name.split(".")[0])) {
1538
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral800", children: row[header.name.split(".")[0]] ? indexYFPS5vYF.getDisplayName(row[header.name.split(".")[0]], formatMessage) : "-" }) }, header.name);
1538
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral800", children: row[header.name.split(".")[0]] ? indexGIVuHJgC.getDisplayName(row[header.name.split(".")[0]], formatMessage) : "-" }) }, header.name);
1539
1539
  }
1540
1540
  if (typeof cellFormatter === "function") {
1541
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Cell, { children: cellFormatter(row, header, { collectionType, model }) }, header.name);
1541
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Cell, { children: cellFormatter(row, header, { collectionType, model }) }, header.name);
1542
1542
  }
1543
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(
1543
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Table.Cell, { children: /* @__PURE__ */ jsxRuntime.jsx(
1544
1544
  CellContent,
1545
1545
  {
1546
1546
  content: row[header.name.split(".")[0]],
@@ -1549,7 +1549,7 @@ const ListViewPage = () => {
1549
1549
  }
1550
1550
  ) }, header.name);
1551
1551
  }),
1552
- /* @__PURE__ */ jsxRuntime.jsx(ActionsCell, { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.TableActions, { document: row }) })
1552
+ /* @__PURE__ */ jsxRuntime.jsx(ActionsCell, { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.TableActions, { document: row }) })
1553
1553
  ]
1554
1554
  },
1555
1555
  row.id
@@ -1558,27 +1558,27 @@ const ListViewPage = () => {
1558
1558
  ] })
1559
1559
  ] }),
1560
1560
  /* @__PURE__ */ jsxRuntime.jsxs(
1561
- indexYFPS5vYF.Pagination.Root,
1561
+ indexGIVuHJgC.Pagination.Root,
1562
1562
  {
1563
1563
  ...pagination,
1564
1564
  onPageSizeChange: () => trackUsage("willChangeNumberOfEntriesPerPage"),
1565
1565
  children: [
1566
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Pagination.PageSize, {}),
1567
- /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Pagination.Links, {})
1566
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Pagination.PageSize, {}),
1567
+ /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Pagination.Links, {})
1568
1568
  ]
1569
1569
  }
1570
1570
  )
1571
1571
  ] }) })
1572
1572
  ] });
1573
1573
  };
1574
- const ActionsCell = styled__default.default(indexYFPS5vYF.Table.Cell)`
1574
+ const ActionsCell = styled__default.default(indexGIVuHJgC.Table.Cell)`
1575
1575
  display: flex;
1576
1576
  justify-content: flex-end;
1577
1577
  `;
1578
1578
  const CreateButton = ({ variant }) => {
1579
1579
  const { formatMessage } = reactIntl.useIntl();
1580
- const { trackUsage } = indexYFPS5vYF.useTracking();
1581
- const [{ query }] = indexYFPS5vYF.useQueryParams();
1580
+ const { trackUsage } = indexGIVuHJgC.useTracking();
1581
+ const [{ query }] = indexGIVuHJgC.useQueryParams();
1582
1582
  return /* @__PURE__ */ jsxRuntime.jsx(
1583
1583
  designSystem.Button,
1584
1584
  {
@@ -1591,27 +1591,27 @@ const CreateButton = ({ variant }) => {
1591
1591
  style: { textDecoration: "none" },
1592
1592
  to: {
1593
1593
  pathname: "create",
1594
- search: indexYFPS5vYF.lib.stringify({ plugins: query.plugins })
1594
+ search: indexGIVuHJgC.lib.stringify({ plugins: query.plugins })
1595
1595
  },
1596
1596
  children: formatMessage({
1597
- id: indexYFPS5vYF.getTranslation("HeaderLayout.button.label-add-entry"),
1597
+ id: indexGIVuHJgC.getTranslation("HeaderLayout.button.label-add-entry"),
1598
1598
  defaultMessage: "Create new entry"
1599
1599
  })
1600
1600
  }
1601
1601
  );
1602
1602
  };
1603
1603
  const ProtectedListViewPage = () => {
1604
- const { model } = indexYFPS5vYF.useDoc();
1605
- const [{ query }] = indexYFPS5vYF.useQueryParams();
1606
- const { permissions = [], isLoading, isError } = useSyncRbac83vFRiaG.useSyncRbac(model, query, "editView");
1604
+ const { model } = indexGIVuHJgC.useDoc();
1605
+ const [{ query }] = indexGIVuHJgC.useQueryParams();
1606
+ const { permissions = [], isLoading, isError } = useSyncRbacJNQibLFa.useSyncRbac(model, query, "editView");
1607
1607
  if (isLoading) {
1608
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Page.Loading, {});
1608
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Page.Loading, {});
1609
1609
  }
1610
1610
  if (isError) {
1611
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Page.Error, {});
1611
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Page.Error, {});
1612
1612
  }
1613
- return /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.Page.Protect, { permissions, children: ({ permissions: permissions2 }) => /* @__PURE__ */ jsxRuntime.jsx(indexYFPS5vYF.DocumentRBAC, { permissions: permissions2, children: /* @__PURE__ */ jsxRuntime.jsx(ListViewPage, {}) }) });
1613
+ return /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.Page.Protect, { permissions, children: ({ permissions: permissions2 }) => /* @__PURE__ */ jsxRuntime.jsx(indexGIVuHJgC.DocumentRBAC, { permissions: permissions2, children: /* @__PURE__ */ jsxRuntime.jsx(ListViewPage, {}) }) });
1614
1614
  };
1615
1615
  exports.ListViewPage = ListViewPage;
1616
1616
  exports.ProtectedListViewPage = ProtectedListViewPage;
1617
- //# sourceMappingURL=ListViewPage-BNB0ptO7-TUQO_9Hj.js.map
1617
+ //# sourceMappingURL=ListViewPage-1VNVP9Rw-94jqnla4.js.map