@strapi/plugin-documentation 5.4.1 → 5.5.0

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 (129) hide show
  1. package/dist/_chunks/{App-Dlx5Hiu3.js → App-C51t4Zpc.js} +3 -5
  2. package/dist/_chunks/{App-Bh6ZOYCv.mjs → App-D3sYdNAh.mjs} +2 -3
  3. package/dist/_chunks/{Settings-CtlcbBE2.js → Settings-DfyHMjZj.js} +3 -5
  4. package/dist/_chunks/{Settings-B-Qva9QN.mjs → Settings-DiK51xGj.mjs} +2 -3
  5. package/dist/_chunks/ar-CkqTE6jh.js +0 -1
  6. package/dist/_chunks/ar-ckp9T43y.mjs +0 -1
  7. package/dist/_chunks/cs-BbyKo6Hc.js +0 -1
  8. package/dist/_chunks/cs-ciLYCxgd.mjs +0 -1
  9. package/dist/_chunks/de-CHwC0A85.js +0 -1
  10. package/dist/_chunks/de-DqkAUMvP.mjs +0 -1
  11. package/dist/_chunks/dk-DgCq8mF-.mjs +0 -1
  12. package/dist/_chunks/dk-qlI2J6S0.js +0 -1
  13. package/dist/_chunks/en-BQ_E53_2.mjs +0 -1
  14. package/dist/_chunks/en-DKizRVCY.js +0 -1
  15. package/dist/_chunks/es-CEiXVnsb.mjs +0 -1
  16. package/dist/_chunks/es-DH1GVZe7.js +0 -1
  17. package/dist/_chunks/fr-B1x-Nj5w.js +0 -1
  18. package/dist/_chunks/fr-BlX-v4UF.mjs +0 -1
  19. package/dist/_chunks/{getTrad-BzQMnOxD.mjs → getTrad-BCVqzyys.mjs} +1 -2
  20. package/dist/_chunks/{getTrad-49jiHamt.js → getTrad-DoREjbyy.js} +1 -2
  21. package/dist/_chunks/id-CPOl6_EU.mjs +0 -1
  22. package/dist/_chunks/id-D3yFE72d.js +0 -1
  23. package/dist/_chunks/index-BTFWrNiz.mjs +0 -1
  24. package/dist/_chunks/{index-Dh0UeWZt.js → index-BlmI1vCi.js} +12 -6
  25. package/dist/_chunks/index-CYcTK1eg.js +0 -1
  26. package/dist/_chunks/{index-efJUvXYO.mjs → index-YnqsO7ap.mjs} +12 -6
  27. package/dist/_chunks/it-DWJI563z.mjs +0 -1
  28. package/dist/_chunks/it-WuNBIqG8.js +0 -1
  29. package/dist/_chunks/ko-CFzSHayG.mjs +0 -1
  30. package/dist/_chunks/ko-De5iYa_O.js +0 -1
  31. package/dist/_chunks/login-EQSKn2h7.js +0 -1
  32. package/dist/_chunks/login-KS59cQ6U.mjs +0 -1
  33. package/dist/_chunks/ms-CUgPFo4U.mjs +0 -1
  34. package/dist/_chunks/ms-DQfa3FDx.js +0 -1
  35. package/dist/_chunks/nl-BZHlqphk.js +0 -1
  36. package/dist/_chunks/nl-B_7CHwVD.mjs +0 -1
  37. package/dist/_chunks/pl-DDl5i_mP.js +0 -1
  38. package/dist/_chunks/pl-DwLr8sw9.mjs +0 -1
  39. package/dist/_chunks/pt-4GQ8ermL.js +0 -1
  40. package/dist/_chunks/pt-BR-D24CJ0qp.js +0 -1
  41. package/dist/_chunks/pt-BR-MVXc6V9P.mjs +0 -1
  42. package/dist/_chunks/pt-C2N9fdeh.mjs +0 -1
  43. package/dist/_chunks/ru-BddeNlU0.mjs +0 -1
  44. package/dist/_chunks/ru-QwZYcU6K.js +0 -1
  45. package/dist/_chunks/sk-BmT4uZTG.mjs +0 -1
  46. package/dist/_chunks/sk-DgAXilB1.js +0 -1
  47. package/dist/_chunks/sv-CCLcAo3U.js +0 -1
  48. package/dist/_chunks/sv-D_-KBtcw.mjs +0 -1
  49. package/dist/_chunks/th-BhgV1BbW.js +0 -1
  50. package/dist/_chunks/th-DkuoSGii.mjs +0 -1
  51. package/dist/_chunks/tr-BysnAErC.js +0 -1
  52. package/dist/_chunks/tr-l-xxK4Yk.mjs +0 -1
  53. package/dist/_chunks/uk-CNlbntFx.js +0 -1
  54. package/dist/_chunks/uk-Cpmsxyku.mjs +0 -1
  55. package/dist/_chunks/vi-ClWGrFm9.mjs +0 -1
  56. package/dist/_chunks/vi-_ib0GmNl.js +0 -1
  57. package/dist/_chunks/zh-Glkg1L2g.mjs +0 -1
  58. package/dist/_chunks/zh-Hans-L_5U2KqC.js +0 -1
  59. package/dist/_chunks/zh-Hans-XLMwjASk.mjs +0 -1
  60. package/dist/_chunks/zh-aEZZdkOu.js +0 -1
  61. package/dist/admin/index.js +1 -2
  62. package/dist/admin/index.mjs +1 -2
  63. package/dist/server/index.js +3 -7
  64. package/dist/server/index.mjs +2 -5
  65. package/package.json +11 -11
  66. package/dist/_chunks/App-Bh6ZOYCv.mjs.map +0 -1
  67. package/dist/_chunks/App-Dlx5Hiu3.js.map +0 -1
  68. package/dist/_chunks/Settings-B-Qva9QN.mjs.map +0 -1
  69. package/dist/_chunks/Settings-CtlcbBE2.js.map +0 -1
  70. package/dist/_chunks/ar-CkqTE6jh.js.map +0 -1
  71. package/dist/_chunks/ar-ckp9T43y.mjs.map +0 -1
  72. package/dist/_chunks/cs-BbyKo6Hc.js.map +0 -1
  73. package/dist/_chunks/cs-ciLYCxgd.mjs.map +0 -1
  74. package/dist/_chunks/de-CHwC0A85.js.map +0 -1
  75. package/dist/_chunks/de-DqkAUMvP.mjs.map +0 -1
  76. package/dist/_chunks/dk-DgCq8mF-.mjs.map +0 -1
  77. package/dist/_chunks/dk-qlI2J6S0.js.map +0 -1
  78. package/dist/_chunks/en-BQ_E53_2.mjs.map +0 -1
  79. package/dist/_chunks/en-DKizRVCY.js.map +0 -1
  80. package/dist/_chunks/es-CEiXVnsb.mjs.map +0 -1
  81. package/dist/_chunks/es-DH1GVZe7.js.map +0 -1
  82. package/dist/_chunks/fr-B1x-Nj5w.js.map +0 -1
  83. package/dist/_chunks/fr-BlX-v4UF.mjs.map +0 -1
  84. package/dist/_chunks/getTrad-49jiHamt.js.map +0 -1
  85. package/dist/_chunks/getTrad-BzQMnOxD.mjs.map +0 -1
  86. package/dist/_chunks/id-CPOl6_EU.mjs.map +0 -1
  87. package/dist/_chunks/id-D3yFE72d.js.map +0 -1
  88. package/dist/_chunks/index-BTFWrNiz.mjs.map +0 -1
  89. package/dist/_chunks/index-CYcTK1eg.js.map +0 -1
  90. package/dist/_chunks/index-Dh0UeWZt.js.map +0 -1
  91. package/dist/_chunks/index-efJUvXYO.mjs.map +0 -1
  92. package/dist/_chunks/it-DWJI563z.mjs.map +0 -1
  93. package/dist/_chunks/it-WuNBIqG8.js.map +0 -1
  94. package/dist/_chunks/ko-CFzSHayG.mjs.map +0 -1
  95. package/dist/_chunks/ko-De5iYa_O.js.map +0 -1
  96. package/dist/_chunks/login-EQSKn2h7.js.map +0 -1
  97. package/dist/_chunks/login-KS59cQ6U.mjs.map +0 -1
  98. package/dist/_chunks/ms-CUgPFo4U.mjs.map +0 -1
  99. package/dist/_chunks/ms-DQfa3FDx.js.map +0 -1
  100. package/dist/_chunks/nl-BZHlqphk.js.map +0 -1
  101. package/dist/_chunks/nl-B_7CHwVD.mjs.map +0 -1
  102. package/dist/_chunks/pl-DDl5i_mP.js.map +0 -1
  103. package/dist/_chunks/pl-DwLr8sw9.mjs.map +0 -1
  104. package/dist/_chunks/pt-4GQ8ermL.js.map +0 -1
  105. package/dist/_chunks/pt-BR-D24CJ0qp.js.map +0 -1
  106. package/dist/_chunks/pt-BR-MVXc6V9P.mjs.map +0 -1
  107. package/dist/_chunks/pt-C2N9fdeh.mjs.map +0 -1
  108. package/dist/_chunks/ru-BddeNlU0.mjs.map +0 -1
  109. package/dist/_chunks/ru-QwZYcU6K.js.map +0 -1
  110. package/dist/_chunks/sk-BmT4uZTG.mjs.map +0 -1
  111. package/dist/_chunks/sk-DgAXilB1.js.map +0 -1
  112. package/dist/_chunks/sv-CCLcAo3U.js.map +0 -1
  113. package/dist/_chunks/sv-D_-KBtcw.mjs.map +0 -1
  114. package/dist/_chunks/th-BhgV1BbW.js.map +0 -1
  115. package/dist/_chunks/th-DkuoSGii.mjs.map +0 -1
  116. package/dist/_chunks/tr-BysnAErC.js.map +0 -1
  117. package/dist/_chunks/tr-l-xxK4Yk.mjs.map +0 -1
  118. package/dist/_chunks/uk-CNlbntFx.js.map +0 -1
  119. package/dist/_chunks/uk-Cpmsxyku.mjs.map +0 -1
  120. package/dist/_chunks/vi-ClWGrFm9.mjs.map +0 -1
  121. package/dist/_chunks/vi-_ib0GmNl.js.map +0 -1
  122. package/dist/_chunks/zh-Glkg1L2g.mjs.map +0 -1
  123. package/dist/_chunks/zh-Hans-L_5U2KqC.js.map +0 -1
  124. package/dist/_chunks/zh-Hans-XLMwjASk.mjs.map +0 -1
  125. package/dist/_chunks/zh-aEZZdkOu.js.map +0 -1
  126. package/dist/admin/index.js.map +0 -1
  127. package/dist/admin/index.mjs.map +0 -1
  128. package/dist/server/index.js.map +0 -1
  129. package/dist/server/index.mjs.map +0 -1
@@ -7,11 +7,10 @@ const icons = require("@strapi/icons");
7
7
  const admin = require("@strapi/strapi/admin");
8
8
  const reactIntl = require("react-intl");
9
9
  const styledComponents = require("styled-components");
10
- const index = require("./index-Dh0UeWZt.js");
11
- const getTrad = require("./getTrad-49jiHamt.js");
10
+ const index = require("./index-BlmI1vCi.js");
11
+ const getTrad = require("./getTrad-DoREjbyy.js");
12
12
  function _interopNamespace(e) {
13
- if (e && e.__esModule)
14
- return e;
13
+ if (e && e.__esModule) return e;
15
14
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
16
15
  if (e) {
17
16
  for (const k in e) {
@@ -200,4 +199,3 @@ const createDocumentationHref = (path) => {
200
199
  return `${window.strapi.backendURL}/${path}`;
201
200
  };
202
201
  exports.App = App;
203
- //# sourceMappingURL=App-Dlx5Hiu3.js.map
@@ -5,8 +5,8 @@ import { Eye, ArrowClockwise, Trash } from "@strapi/icons";
5
5
  import { useNotification, useAPIErrorHandler, useRBAC, Page, Layouts, ConfirmDialog } from "@strapi/strapi/admin";
6
6
  import { useIntl } from "react-intl";
7
7
  import { styled } from "styled-components";
8
- import { P as PERMISSIONS } from "./index-efJUvXYO.mjs";
9
- import { u as useGetInfoQuery, a as useRegenerateDocMutation, b as useDeleteVersionMutation, g as getTrad } from "./getTrad-BzQMnOxD.mjs";
8
+ import { P as PERMISSIONS } from "./index-YnqsO7ap.mjs";
9
+ import { u as useGetInfoQuery, a as useRegenerateDocMutation, b as useDeleteVersionMutation, g as getTrad } from "./getTrad-BCVqzyys.mjs";
10
10
  const App = () => {
11
11
  const { formatMessage } = useIntl();
12
12
  const { toggleNotification } = useNotification();
@@ -181,4 +181,3 @@ const createDocumentationHref = (path) => {
181
181
  export {
182
182
  App
183
183
  };
184
- //# sourceMappingURL=App-Bh6ZOYCv.mjs.map
@@ -9,11 +9,10 @@ const icons = require("@strapi/icons");
9
9
  const formik = require("formik");
10
10
  const styledComponents = require("styled-components");
11
11
  const yup = require("yup");
12
- const index = require("./index-Dh0UeWZt.js");
13
- const getTrad = require("./getTrad-49jiHamt.js");
12
+ const index = require("./index-BlmI1vCi.js");
13
+ const getTrad = require("./getTrad-DoREjbyy.js");
14
14
  function _interopNamespace(e) {
15
- if (e && e.__esModule)
16
- return e;
15
+ if (e && e.__esModule) return e;
17
16
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
18
17
  if (e) {
19
18
  for (const k in e) {
@@ -238,4 +237,3 @@ const SettingsPage = () => {
238
237
  return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Main, { children: /* @__PURE__ */ jsxRuntime.jsx(SettingsForm, { data, onSubmit: onUpdateSettings }) });
239
238
  };
240
239
  exports.SettingsPage = SettingsPage;
241
- //# sourceMappingURL=Settings-CtlcbBE2.js.map
@@ -7,8 +7,8 @@ import { Check, Eye, EyeStriked } from "@strapi/icons";
7
7
  import { Formik, Form } from "formik";
8
8
  import { styled } from "styled-components";
9
9
  import * as yup from "yup";
10
- import { P as PERMISSIONS } from "./index-efJUvXYO.mjs";
11
- import { g as getTrad, u as useGetInfoQuery, c as useUpdateSettingsMutation } from "./getTrad-BzQMnOxD.mjs";
10
+ import { P as PERMISSIONS } from "./index-YnqsO7ap.mjs";
11
+ import { g as getTrad, u as useGetInfoQuery, c as useUpdateSettingsMutation } from "./getTrad-BCVqzyys.mjs";
12
12
  const isBaseQueryError = (error) => {
13
13
  return error.name !== void 0;
14
14
  };
@@ -218,4 +218,3 @@ const SettingsPage = () => {
218
218
  export {
219
219
  SettingsPage
220
220
  };
221
- //# sourceMappingURL=Settings-B-Qva9QN.mjs.map
@@ -21,4 +21,3 @@ const ar = {
21
21
  "notification.update.success": "Settings updated successfully"
22
22
  };
23
23
  exports.default = ar;
24
- //# sourceMappingURL=ar-CkqTE6jh.js.map
@@ -21,4 +21,3 @@ const ar = {
21
21
  export {
22
22
  ar as default
23
23
  };
24
- //# sourceMappingURL=ar-ckp9T43y.mjs.map
@@ -22,4 +22,3 @@ const cs = {
22
22
  "plugin.name": "Dokumentace"
23
23
  };
24
24
  exports.default = cs;
25
- //# sourceMappingURL=cs-BbyKo6Hc.js.map
@@ -22,4 +22,3 @@ const cs = {
22
22
  export {
23
23
  cs as default
24
24
  };
25
- //# sourceMappingURL=cs-ciLYCxgd.mjs.map
@@ -27,4 +27,3 @@ const de = {
27
27
  "plugin.name": "Dokumentation"
28
28
  };
29
29
  exports.default = de;
30
- //# sourceMappingURL=de-CHwC0A85.js.map
@@ -27,4 +27,3 @@ const de = {
27
27
  export {
28
28
  de as default
29
29
  };
30
- //# sourceMappingURL=de-DqkAUMvP.mjs.map
@@ -40,4 +40,3 @@ const dk = {
40
40
  export {
41
41
  dk as default
42
42
  };
43
- //# sourceMappingURL=dk-DgCq8mF-.mjs.map
@@ -40,4 +40,3 @@ const dk = {
40
40
  "plugin.name": "Dokumentation"
41
41
  };
42
42
  exports.default = dk;
43
- //# sourceMappingURL=dk-qlI2J6S0.js.map
@@ -43,4 +43,3 @@ const en = {
43
43
  export {
44
44
  en as default
45
45
  };
46
- //# sourceMappingURL=en-BQ_E53_2.mjs.map
@@ -43,4 +43,3 @@ const en = {
43
43
  "Input.error.contain.uppercase": "Password must contain at least one uppercase character"
44
44
  };
45
45
  exports.default = en;
46
- //# sourceMappingURL=en-DKizRVCY.js.map
@@ -40,4 +40,3 @@ const es = {
40
40
  export {
41
41
  es as default
42
42
  };
43
- //# sourceMappingURL=es-CEiXVnsb.mjs.map
@@ -40,4 +40,3 @@ const es = {
40
40
  "plugin.name": "Documentación"
41
41
  };
42
42
  exports.default = es;
43
- //# sourceMappingURL=es-DH1GVZe7.js.map
@@ -27,4 +27,3 @@ const fr = {
27
27
  "plugin.name": "Documentation"
28
28
  };
29
29
  exports.default = fr;
30
- //# sourceMappingURL=fr-B1x-Nj5w.js.map
@@ -27,4 +27,3 @@ const fr = {
27
27
  export {
28
28
  fr as default
29
29
  };
30
- //# sourceMappingURL=fr-BlX-v4UF.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { adminApi } from "@strapi/admin/strapi-admin";
2
- import { p as pluginId } from "./index-efJUvXYO.mjs";
2
+ import { p as pluginId } from "./index-YnqsO7ap.mjs";
3
3
  const api = adminApi.enhanceEndpoints({
4
4
  addTagTypes: ["DocumentInfo"]
5
5
  }).injectEndpoints({
@@ -48,4 +48,3 @@ export {
48
48
  getTrad as g,
49
49
  useGetInfoQuery as u
50
50
  };
51
- //# sourceMappingURL=getTrad-BzQMnOxD.mjs.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const strapiAdmin = require("@strapi/admin/strapi-admin");
3
- const index = require("./index-Dh0UeWZt.js");
3
+ const index = require("./index-BlmI1vCi.js");
4
4
  const api = strapiAdmin.adminApi.enhanceEndpoints({
5
5
  addTagTypes: ["DocumentInfo"]
6
6
  }).injectEndpoints({
@@ -47,4 +47,3 @@ exports.useDeleteVersionMutation = useDeleteVersionMutation;
47
47
  exports.useGetInfoQuery = useGetInfoQuery;
48
48
  exports.useRegenerateDocMutation = useRegenerateDocMutation;
49
49
  exports.useUpdateSettingsMutation = useUpdateSettingsMutation;
50
- //# sourceMappingURL=getTrad-49jiHamt.js.map
@@ -25,4 +25,3 @@ const id = {
25
25
  export {
26
26
  id as default
27
27
  };
28
- //# sourceMappingURL=id-CPOl6_EU.mjs.map
@@ -25,4 +25,3 @@ const id = {
25
25
  "plugin.name": "Dokumentasi"
26
26
  };
27
27
  exports.default = id;
28
- //# sourceMappingURL=id-D3yFE72d.js.map
@@ -72,4 +72,3 @@ const index = `<!-- HTML for static distribution bundle build --><!DOCTYPE html>
72
72
  export {
73
73
  index as default
74
74
  };
75
- //# sourceMappingURL=index-BTFWrNiz.mjs.map
@@ -1,12 +1,19 @@
1
1
  "use strict";
2
2
  const icons = require("@strapi/icons");
3
- const __variableDynamicImportRuntimeHelper = (glob, path) => {
3
+ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
4
4
  const v = glob[path];
5
5
  if (v) {
6
6
  return typeof v === "function" ? v() : Promise.resolve(v);
7
7
  }
8
8
  return new Promise((_, reject) => {
9
- (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path)));
9
+ (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
10
+ reject.bind(
11
+ null,
12
+ new Error(
13
+ "Unknown variable dynamic import: " + path + (path.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : "")
14
+ )
15
+ )
16
+ );
10
17
  });
11
18
  };
12
19
  const PERMISSIONS = {
@@ -47,7 +54,7 @@ const index = {
47
54
  },
48
55
  permissions: PERMISSIONS.main,
49
56
  Component: async () => {
50
- const { App } = await Promise.resolve().then(() => require("./App-Dlx5Hiu3.js"));
57
+ const { App } = await Promise.resolve().then(() => require("./App-C51t4Zpc.js"));
51
58
  return App;
52
59
  },
53
60
  position: 9
@@ -66,7 +73,7 @@ const index = {
66
73
  id: "documentation",
67
74
  to: pluginId,
68
75
  Component: async () => {
69
- const { SettingsPage } = await Promise.resolve().then(() => require("./Settings-CtlcbBE2.js"));
76
+ const { SettingsPage } = await Promise.resolve().then(() => require("./Settings-DfyHMjZj.js"));
70
77
  return SettingsPage;
71
78
  },
72
79
  permissions: PERMISSIONS.main
@@ -75,7 +82,7 @@ const index = {
75
82
  async registerTrads({ locales }) {
76
83
  const importedTrads = await Promise.all(
77
84
  locales.map((locale) => {
78
- return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => Promise.resolve().then(() => require("./ar-CkqTE6jh.js")), "./translations/cs.json": () => Promise.resolve().then(() => require("./cs-BbyKo6Hc.js")), "./translations/de.json": () => Promise.resolve().then(() => require("./de-CHwC0A85.js")), "./translations/dk.json": () => Promise.resolve().then(() => require("./dk-qlI2J6S0.js")), "./translations/en.json": () => Promise.resolve().then(() => require("./en-DKizRVCY.js")), "./translations/es.json": () => Promise.resolve().then(() => require("./es-DH1GVZe7.js")), "./translations/fr.json": () => Promise.resolve().then(() => require("./fr-B1x-Nj5w.js")), "./translations/id.json": () => Promise.resolve().then(() => require("./id-D3yFE72d.js")), "./translations/it.json": () => Promise.resolve().then(() => require("./it-WuNBIqG8.js")), "./translations/ko.json": () => Promise.resolve().then(() => require("./ko-De5iYa_O.js")), "./translations/ms.json": () => Promise.resolve().then(() => require("./ms-DQfa3FDx.js")), "./translations/nl.json": () => Promise.resolve().then(() => require("./nl-BZHlqphk.js")), "./translations/pl.json": () => Promise.resolve().then(() => require("./pl-DDl5i_mP.js")), "./translations/pt-BR.json": () => Promise.resolve().then(() => require("./pt-BR-D24CJ0qp.js")), "./translations/pt.json": () => Promise.resolve().then(() => require("./pt-4GQ8ermL.js")), "./translations/ru.json": () => Promise.resolve().then(() => require("./ru-QwZYcU6K.js")), "./translations/sk.json": () => Promise.resolve().then(() => require("./sk-DgAXilB1.js")), "./translations/sv.json": () => Promise.resolve().then(() => require("./sv-CCLcAo3U.js")), "./translations/th.json": () => Promise.resolve().then(() => require("./th-BhgV1BbW.js")), "./translations/tr.json": () => Promise.resolve().then(() => require("./tr-BysnAErC.js")), "./translations/uk.json": () => Promise.resolve().then(() => require("./uk-CNlbntFx.js")), "./translations/vi.json": () => Promise.resolve().then(() => require("./vi-_ib0GmNl.js")), "./translations/zh-Hans.json": () => Promise.resolve().then(() => require("./zh-Hans-L_5U2KqC.js")), "./translations/zh.json": () => Promise.resolve().then(() => require("./zh-aEZZdkOu.js")) }), `./translations/${locale}.json`).then(({ default: data }) => {
85
+ return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => Promise.resolve().then(() => require("./ar-CkqTE6jh.js")), "./translations/cs.json": () => Promise.resolve().then(() => require("./cs-BbyKo6Hc.js")), "./translations/de.json": () => Promise.resolve().then(() => require("./de-CHwC0A85.js")), "./translations/dk.json": () => Promise.resolve().then(() => require("./dk-qlI2J6S0.js")), "./translations/en.json": () => Promise.resolve().then(() => require("./en-DKizRVCY.js")), "./translations/es.json": () => Promise.resolve().then(() => require("./es-DH1GVZe7.js")), "./translations/fr.json": () => Promise.resolve().then(() => require("./fr-B1x-Nj5w.js")), "./translations/id.json": () => Promise.resolve().then(() => require("./id-D3yFE72d.js")), "./translations/it.json": () => Promise.resolve().then(() => require("./it-WuNBIqG8.js")), "./translations/ko.json": () => Promise.resolve().then(() => require("./ko-De5iYa_O.js")), "./translations/ms.json": () => Promise.resolve().then(() => require("./ms-DQfa3FDx.js")), "./translations/nl.json": () => Promise.resolve().then(() => require("./nl-BZHlqphk.js")), "./translations/pl.json": () => Promise.resolve().then(() => require("./pl-DDl5i_mP.js")), "./translations/pt-BR.json": () => Promise.resolve().then(() => require("./pt-BR-D24CJ0qp.js")), "./translations/pt.json": () => Promise.resolve().then(() => require("./pt-4GQ8ermL.js")), "./translations/ru.json": () => Promise.resolve().then(() => require("./ru-QwZYcU6K.js")), "./translations/sk.json": () => Promise.resolve().then(() => require("./sk-DgAXilB1.js")), "./translations/sv.json": () => Promise.resolve().then(() => require("./sv-CCLcAo3U.js")), "./translations/th.json": () => Promise.resolve().then(() => require("./th-BhgV1BbW.js")), "./translations/tr.json": () => Promise.resolve().then(() => require("./tr-BysnAErC.js")), "./translations/uk.json": () => Promise.resolve().then(() => require("./uk-CNlbntFx.js")), "./translations/vi.json": () => Promise.resolve().then(() => require("./vi-_ib0GmNl.js")), "./translations/zh-Hans.json": () => Promise.resolve().then(() => require("./zh-Hans-L_5U2KqC.js")), "./translations/zh.json": () => Promise.resolve().then(() => require("./zh-aEZZdkOu.js")) }), `./translations/${locale}.json`, 3).then(({ default: data }) => {
79
86
  return {
80
87
  data: prefixPluginTranslations(data, pluginId),
81
88
  locale
@@ -94,4 +101,3 @@ const index = {
94
101
  exports.PERMISSIONS = PERMISSIONS;
95
102
  exports.index = index;
96
103
  exports.pluginId = pluginId;
97
- //# sourceMappingURL=index-Dh0UeWZt.js.map
@@ -72,4 +72,3 @@ const index = `<!-- HTML for static distribution bundle build --><!DOCTYPE html>
72
72
  </html>
73
73
  `;
74
74
  exports.default = index;
75
- //# sourceMappingURL=index-CYcTK1eg.js.map
@@ -1,11 +1,18 @@
1
1
  import { Information } from "@strapi/icons";
2
- const __variableDynamicImportRuntimeHelper = (glob, path) => {
2
+ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
3
3
  const v = glob[path];
4
4
  if (v) {
5
5
  return typeof v === "function" ? v() : Promise.resolve(v);
6
6
  }
7
7
  return new Promise((_, reject) => {
8
- (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path)));
8
+ (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
9
+ reject.bind(
10
+ null,
11
+ new Error(
12
+ "Unknown variable dynamic import: " + path + (path.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : "")
13
+ )
14
+ )
15
+ );
9
16
  });
10
17
  };
11
18
  const PERMISSIONS = {
@@ -46,7 +53,7 @@ const index = {
46
53
  },
47
54
  permissions: PERMISSIONS.main,
48
55
  Component: async () => {
49
- const { App } = await import("./App-Bh6ZOYCv.mjs");
56
+ const { App } = await import("./App-D3sYdNAh.mjs");
50
57
  return App;
51
58
  },
52
59
  position: 9
@@ -65,7 +72,7 @@ const index = {
65
72
  id: "documentation",
66
73
  to: pluginId,
67
74
  Component: async () => {
68
- const { SettingsPage } = await import("./Settings-B-Qva9QN.mjs");
75
+ const { SettingsPage } = await import("./Settings-DiK51xGj.mjs");
69
76
  return SettingsPage;
70
77
  },
71
78
  permissions: PERMISSIONS.main
@@ -74,7 +81,7 @@ const index = {
74
81
  async registerTrads({ locales }) {
75
82
  const importedTrads = await Promise.all(
76
83
  locales.map((locale) => {
77
- return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-ckp9T43y.mjs"), "./translations/cs.json": () => import("./cs-ciLYCxgd.mjs"), "./translations/de.json": () => import("./de-DqkAUMvP.mjs"), "./translations/dk.json": () => import("./dk-DgCq8mF-.mjs"), "./translations/en.json": () => import("./en-BQ_E53_2.mjs"), "./translations/es.json": () => import("./es-CEiXVnsb.mjs"), "./translations/fr.json": () => import("./fr-BlX-v4UF.mjs"), "./translations/id.json": () => import("./id-CPOl6_EU.mjs"), "./translations/it.json": () => import("./it-DWJI563z.mjs"), "./translations/ko.json": () => import("./ko-CFzSHayG.mjs"), "./translations/ms.json": () => import("./ms-CUgPFo4U.mjs"), "./translations/nl.json": () => import("./nl-B_7CHwVD.mjs"), "./translations/pl.json": () => import("./pl-DwLr8sw9.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-MVXc6V9P.mjs"), "./translations/pt.json": () => import("./pt-C2N9fdeh.mjs"), "./translations/ru.json": () => import("./ru-BddeNlU0.mjs"), "./translations/sk.json": () => import("./sk-BmT4uZTG.mjs"), "./translations/sv.json": () => import("./sv-D_-KBtcw.mjs"), "./translations/th.json": () => import("./th-DkuoSGii.mjs"), "./translations/tr.json": () => import("./tr-l-xxK4Yk.mjs"), "./translations/uk.json": () => import("./uk-Cpmsxyku.mjs"), "./translations/vi.json": () => import("./vi-ClWGrFm9.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-XLMwjASk.mjs"), "./translations/zh.json": () => import("./zh-Glkg1L2g.mjs") }), `./translations/${locale}.json`).then(({ default: data }) => {
84
+ return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-ckp9T43y.mjs"), "./translations/cs.json": () => import("./cs-ciLYCxgd.mjs"), "./translations/de.json": () => import("./de-DqkAUMvP.mjs"), "./translations/dk.json": () => import("./dk-DgCq8mF-.mjs"), "./translations/en.json": () => import("./en-BQ_E53_2.mjs"), "./translations/es.json": () => import("./es-CEiXVnsb.mjs"), "./translations/fr.json": () => import("./fr-BlX-v4UF.mjs"), "./translations/id.json": () => import("./id-CPOl6_EU.mjs"), "./translations/it.json": () => import("./it-DWJI563z.mjs"), "./translations/ko.json": () => import("./ko-CFzSHayG.mjs"), "./translations/ms.json": () => import("./ms-CUgPFo4U.mjs"), "./translations/nl.json": () => import("./nl-B_7CHwVD.mjs"), "./translations/pl.json": () => import("./pl-DwLr8sw9.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-MVXc6V9P.mjs"), "./translations/pt.json": () => import("./pt-C2N9fdeh.mjs"), "./translations/ru.json": () => import("./ru-BddeNlU0.mjs"), "./translations/sk.json": () => import("./sk-BmT4uZTG.mjs"), "./translations/sv.json": () => import("./sv-D_-KBtcw.mjs"), "./translations/th.json": () => import("./th-DkuoSGii.mjs"), "./translations/tr.json": () => import("./tr-l-xxK4Yk.mjs"), "./translations/uk.json": () => import("./uk-Cpmsxyku.mjs"), "./translations/vi.json": () => import("./vi-ClWGrFm9.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-XLMwjASk.mjs"), "./translations/zh.json": () => import("./zh-Glkg1L2g.mjs") }), `./translations/${locale}.json`, 3).then(({ default: data }) => {
78
85
  return {
79
86
  data: prefixPluginTranslations(data, pluginId),
80
87
  locale
@@ -95,4 +102,3 @@ export {
95
102
  index as i,
96
103
  pluginId as p
97
104
  };
98
- //# sourceMappingURL=index-efJUvXYO.mjs.map
@@ -27,4 +27,3 @@ const it = {
27
27
  export {
28
28
  it as default
29
29
  };
30
- //# sourceMappingURL=it-DWJI563z.mjs.map
@@ -27,4 +27,3 @@ const it = {
27
27
  "plugin.name": "Documentazione"
28
28
  };
29
29
  exports.default = it;
30
- //# sourceMappingURL=it-WuNBIqG8.js.map
@@ -40,4 +40,3 @@ const ko = {
40
40
  export {
41
41
  ko as default
42
42
  };
43
- //# sourceMappingURL=ko-CFzSHayG.mjs.map
@@ -40,4 +40,3 @@ const ko = {
40
40
  "plugin.name": "도큐멘테이션"
41
41
  };
42
42
  exports.default = ko;
43
- //# sourceMappingURL=ko-De5iYa_O.js.map
@@ -147,4 +147,3 @@ const login = `<!DOCTYPE html>
147
147
  </html>
148
148
  `;
149
149
  exports.default = login;
150
- //# sourceMappingURL=login-EQSKn2h7.js.map
@@ -147,4 +147,3 @@ const login = `<!DOCTYPE html>
147
147
  export {
148
148
  login as default
149
149
  };
150
- //# sourceMappingURL=login-KS59cQ6U.mjs.map
@@ -24,4 +24,3 @@ const ms = {
24
24
  export {
25
25
  ms as default
26
26
  };
27
- //# sourceMappingURL=ms-CUgPFo4U.mjs.map
@@ -24,4 +24,3 @@ const ms = {
24
24
  "notification.update.success": "Tetapan berjaya dikemas kini"
25
25
  };
26
26
  exports.default = ms;
27
- //# sourceMappingURL=ms-DQfa3FDx.js.map
@@ -22,4 +22,3 @@ const nl = {
22
22
  "plugin.name": "Documentatie"
23
23
  };
24
24
  exports.default = nl;
25
- //# sourceMappingURL=nl-BZHlqphk.js.map
@@ -22,4 +22,3 @@ const nl = {
22
22
  export {
23
23
  nl as default
24
24
  };
25
- //# sourceMappingURL=nl-B_7CHwVD.mjs.map
@@ -40,4 +40,3 @@ const pl = {
40
40
  "plugin.name": "Dokumentacja"
41
41
  };
42
42
  exports.default = pl;
43
- //# sourceMappingURL=pl-DDl5i_mP.js.map
@@ -40,4 +40,3 @@ const pl = {
40
40
  export {
41
41
  pl as default
42
42
  };
43
- //# sourceMappingURL=pl-DwLr8sw9.mjs.map
@@ -22,4 +22,3 @@ const pt = {
22
22
  "plugin.name": "Documentação"
23
23
  };
24
24
  exports.default = pt;
25
- //# sourceMappingURL=pt-4GQ8ermL.js.map
@@ -22,4 +22,3 @@ const ptBR = {
22
22
  "plugin.name": "Documentação"
23
23
  };
24
24
  exports.default = ptBR;
25
- //# sourceMappingURL=pt-BR-D24CJ0qp.js.map
@@ -22,4 +22,3 @@ const ptBR = {
22
22
  export {
23
23
  ptBR as default
24
24
  };
25
- //# sourceMappingURL=pt-BR-MVXc6V9P.mjs.map
@@ -22,4 +22,3 @@ const pt = {
22
22
  export {
23
23
  pt as default
24
24
  };
25
- //# sourceMappingURL=pt-C2N9fdeh.mjs.map
@@ -40,4 +40,3 @@ const ru = {
40
40
  export {
41
41
  ru as default
42
42
  };
43
- //# sourceMappingURL=ru-BddeNlU0.mjs.map
@@ -40,4 +40,3 @@ const ru = {
40
40
  "plugin.name": "Документация"
41
41
  };
42
42
  exports.default = ru;
43
- //# sourceMappingURL=ru-QwZYcU6K.js.map
@@ -25,4 +25,3 @@ const sk = {
25
25
  export {
26
26
  sk as default
27
27
  };
28
- //# sourceMappingURL=sk-BmT4uZTG.mjs.map
@@ -25,4 +25,3 @@ const sk = {
25
25
  "plugin.name": "Dokumentácia"
26
26
  };
27
27
  exports.default = sk;
28
- //# sourceMappingURL=sk-DgAXilB1.js.map
@@ -40,4 +40,3 @@ const sv = {
40
40
  "plugin.name": "Dokumentation"
41
41
  };
42
42
  exports.default = sv;
43
- //# sourceMappingURL=sv-CCLcAo3U.js.map
@@ -40,4 +40,3 @@ const sv = {
40
40
  export {
41
41
  sv as default
42
42
  };
43
- //# sourceMappingURL=sv-D_-KBtcw.mjs.map
@@ -25,4 +25,3 @@ const th = {
25
25
  "plugin.name": "เอกสารคู่มือ"
26
26
  };
27
27
  exports.default = th;
28
- //# sourceMappingURL=th-BhgV1BbW.js.map
@@ -25,4 +25,3 @@ const th = {
25
25
  export {
26
26
  th as default
27
27
  };
28
- //# sourceMappingURL=th-DkuoSGii.mjs.map
@@ -40,4 +40,3 @@ const tr = {
40
40
  "plugin.name": "Dokümantasyon"
41
41
  };
42
42
  exports.default = tr;
43
- //# sourceMappingURL=tr-BysnAErC.js.map
@@ -40,4 +40,3 @@ const tr = {
40
40
  export {
41
41
  tr as default
42
42
  };
43
- //# sourceMappingURL=tr-l-xxK4Yk.mjs.map
@@ -24,4 +24,3 @@ const uk = {
24
24
  "notification.update.success": "Налаштування оновлено"
25
25
  };
26
26
  exports.default = uk;
27
- //# sourceMappingURL=uk-CNlbntFx.js.map
@@ -24,4 +24,3 @@ const uk = {
24
24
  export {
25
25
  uk as default
26
26
  };
27
- //# sourceMappingURL=uk-Cpmsxyku.mjs.map
@@ -25,4 +25,3 @@ const vi = {
25
25
  export {
26
26
  vi as default
27
27
  };
28
- //# sourceMappingURL=vi-ClWGrFm9.mjs.map
@@ -25,4 +25,3 @@ const vi = {
25
25
  "plugin.name": "Tài liệu"
26
26
  };
27
27
  exports.default = vi;
28
- //# sourceMappingURL=vi-_ib0GmNl.js.map
@@ -40,4 +40,3 @@ const zh = {
40
40
  export {
41
41
  zh as default
42
42
  };
43
- //# sourceMappingURL=zh-Glkg1L2g.mjs.map
@@ -29,4 +29,3 @@ const zhHans = {
29
29
  "plugin.name": "文档"
30
30
  };
31
31
  exports.default = zhHans;
32
- //# sourceMappingURL=zh-Hans-L_5U2KqC.js.map
@@ -29,4 +29,3 @@ const zhHans = {
29
29
  export {
30
30
  zhHans as default
31
31
  };
32
- //# sourceMappingURL=zh-Hans-XLMwjASk.mjs.map
@@ -40,4 +40,3 @@ const zh = {
40
40
  "plugin.name": "文件資料"
41
41
  };
42
42
  exports.default = zh;
43
- //# sourceMappingURL=zh-aEZZdkOu.js.map
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-Dh0UeWZt.js");
2
+ const index = require("../_chunks/index-BlmI1vCi.js");
3
3
  require("@strapi/icons");
4
4
  module.exports = index.index;
5
- //# sourceMappingURL=index.js.map
@@ -1,6 +1,5 @@
1
- import { i } from "../_chunks/index-efJUvXYO.mjs";
1
+ import { i } from "../_chunks/index-YnqsO7ap.mjs";
2
2
  import "@strapi/icons";
3
3
  export {
4
4
  i as default
5
5
  };
6
- //# sourceMappingURL=index.mjs.map
@@ -10,8 +10,7 @@ const bcrypt = require("bcryptjs");
10
10
  const utils = require("@strapi/utils");
11
11
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
12
12
  function _interopNamespace(e) {
13
- if (e && e.__esModule)
14
- return e;
13
+ if (e && e.__esModule) return e;
15
14
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
16
15
  if (e) {
17
16
  for (const k in e) {
@@ -639,8 +638,7 @@ const getAllSchemasForContentType = ({ routeInfo, attributes, uniqueName }) => {
639
638
  const schemas = {};
640
639
  const typeName = pascalCase(uniqueName);
641
640
  const didAddStrapiComponentsToSchemas = (schemaName, schema) => {
642
- if (!Object.keys(schema) || !Object.keys(schema.properties))
643
- return false;
641
+ if (!Object.keys(schema) || !Object.keys(schema.properties)) return false;
644
642
  strapiComponentSchemas = {
645
643
  ...strapiComponentSchemas,
646
644
  [schemaName]: schema
@@ -915,8 +913,7 @@ const createService = ({ strapi: strapi2 }) => {
915
913
  const pluginsThatNeedDocumentation = getPluginsThatNeedDocumentation(
916
914
  strapi2.config.get("plugin::documentation")
917
915
  );
918
- if (pluginOrigin && !pluginsThatNeedDocumentation.includes(pluginOrigin))
919
- return;
916
+ if (pluginOrigin && !pluginsThatNeedDocumentation.includes(pluginOrigin)) return;
920
917
  if (excludeFromGeneration.length) {
921
918
  this.excludeFromGeneration(excludeFromGeneration);
922
919
  }
@@ -1282,4 +1279,3 @@ const index = {
1282
1279
  services
1283
1280
  };
1284
1281
  module.exports = index;
1285
- //# sourceMappingURL=index.js.map
@@ -612,8 +612,7 @@ const getAllSchemasForContentType = ({ routeInfo, attributes, uniqueName }) => {
612
612
  const schemas = {};
613
613
  const typeName = pascalCase(uniqueName);
614
614
  const didAddStrapiComponentsToSchemas = (schemaName, schema) => {
615
- if (!Object.keys(schema) || !Object.keys(schema.properties))
616
- return false;
615
+ if (!Object.keys(schema) || !Object.keys(schema.properties)) return false;
617
616
  strapiComponentSchemas = {
618
617
  ...strapiComponentSchemas,
619
618
  [schemaName]: schema
@@ -888,8 +887,7 @@ const createService = ({ strapi: strapi2 }) => {
888
887
  const pluginsThatNeedDocumentation = getPluginsThatNeedDocumentation(
889
888
  strapi2.config.get("plugin::documentation")
890
889
  );
891
- if (pluginOrigin && !pluginsThatNeedDocumentation.includes(pluginOrigin))
892
- return;
890
+ if (pluginOrigin && !pluginsThatNeedDocumentation.includes(pluginOrigin)) return;
893
891
  if (excludeFromGeneration.length) {
894
892
  this.excludeFromGeneration(excludeFromGeneration);
895
893
  }
@@ -1257,4 +1255,3 @@ const index = {
1257
1255
  export {
1258
1256
  index as default
1259
1257
  };
1260
- //# sourceMappingURL=index.mjs.map