@strapi/admin 4.15.5 → 4.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{AuthenticatedApp-da1595e9.mjs → AuthenticatedApp-722b2e84.mjs} +23 -23
- package/dist/_chunks/{AuthenticatedApp-da1595e9.mjs.map → AuthenticatedApp-722b2e84.mjs.map} +1 -1
- package/dist/_chunks/{AuthenticatedApp-61dfdab8.js → AuthenticatedApp-7e646400.js} +23 -23
- package/dist/_chunks/{AuthenticatedApp-61dfdab8.js.map → AuthenticatedApp-7e646400.js.map} +1 -1
- package/dist/_chunks/{HomePage-f3052b59.js → HomePage-0e0dc215.js} +4 -4
- package/dist/_chunks/{HomePage-f3052b59.js.map → HomePage-0e0dc215.js.map} +1 -1
- package/dist/_chunks/{HomePage-2690d237.mjs → HomePage-76bcd0cd.mjs} +4 -4
- package/dist/_chunks/{HomePage-2690d237.mjs.map → HomePage-76bcd0cd.mjs.map} +1 -1
- package/dist/_chunks/{HomePage-3792b299.mjs → HomePage-8c98b31f.mjs} +4 -4
- package/dist/_chunks/{HomePage-3792b299.mjs.map → HomePage-8c98b31f.mjs.map} +1 -1
- package/dist/_chunks/{HomePage-48934b34.js → HomePage-ef787733.js} +4 -4
- package/dist/_chunks/{HomePage-48934b34.js.map → HomePage-ef787733.js.map} +1 -1
- package/dist/_chunks/{InstalledPluginsPage-3bd06321.mjs → InstalledPluginsPage-67b5f9c2.mjs} +3 -3
- package/dist/_chunks/{InstalledPluginsPage-3bd06321.mjs.map → InstalledPluginsPage-67b5f9c2.mjs.map} +1 -1
- package/dist/_chunks/{InstalledPluginsPage-da0780c1.js → InstalledPluginsPage-6f0897e8.js} +3 -3
- package/dist/_chunks/{InstalledPluginsPage-da0780c1.js.map → InstalledPluginsPage-6f0897e8.js.map} +1 -1
- package/dist/_chunks/{Login-ab4b47ad.js → Login-5b447dd2.js} +2 -2
- package/dist/_chunks/{Login-ab4b47ad.js.map → Login-5b447dd2.js.map} +1 -1
- package/dist/_chunks/{Login-8f68c65a.mjs → Login-8ade15b8.mjs} +2 -2
- package/dist/_chunks/{Login-8f68c65a.mjs.map → Login-8ade15b8.mjs.map} +1 -1
- package/dist/_chunks/{MarketplacePage-935fca72.js → MarketplacePage-1c954f9d.js} +3 -3
- package/dist/_chunks/{MarketplacePage-935fca72.js.map → MarketplacePage-1c954f9d.js.map} +1 -1
- package/dist/_chunks/{MarketplacePage-95af86bb.mjs → MarketplacePage-58fc8a9a.mjs} +3 -3
- package/dist/_chunks/{MarketplacePage-95af86bb.mjs.map → MarketplacePage-58fc8a9a.mjs.map} +1 -1
- package/dist/_chunks/{ProfilePage-20de1b54.mjs → ProfilePage-a2f0366d.mjs} +3 -3
- package/dist/_chunks/{ProfilePage-20de1b54.mjs.map → ProfilePage-a2f0366d.mjs.map} +1 -1
- package/dist/_chunks/{ProfilePage-b8b29c4d.js → ProfilePage-a68483d3.js} +3 -3
- package/dist/_chunks/{ProfilePage-b8b29c4d.js.map → ProfilePage-a68483d3.js.map} +1 -1
- package/dist/_chunks/{SalesPage-c5cbb366.js → SalesPage-4a0a68fb.js} +2 -2
- package/dist/_chunks/SalesPage-4a0a68fb.js.map +1 -0
- package/dist/_chunks/{SalesPage-c7c94c3f.mjs → SalesPage-fceedf48.mjs} +2 -2
- package/dist/_chunks/{SalesPage-c7c94c3f.mjs.map → SalesPage-fceedf48.mjs.map} +1 -1
- package/dist/_chunks/{build-92e15b93.mjs → build-1026ce7c.mjs} +2 -2
- package/dist/_chunks/{build-92e15b93.mjs.map → build-1026ce7c.mjs.map} +1 -1
- package/dist/_chunks/{build-df2f219f.js → build-d99bcc06.js} +2 -2
- package/dist/_chunks/{build-df2f219f.js.map → build-d99bcc06.js.map} +1 -1
- package/dist/_chunks/{constants-ec71917d.js → constants-155022af.js} +3 -3
- package/dist/_chunks/{constants-ec71917d.js.map → constants-155022af.js.map} +1 -1
- package/dist/_chunks/{constants-db792b94.mjs → constants-32d352b6.mjs} +3 -3
- package/dist/_chunks/{constants-db792b94.mjs.map → constants-32d352b6.mjs.map} +1 -1
- package/dist/_chunks/{constants-008a1527.js → constants-3967338c.js} +5 -5
- package/dist/_chunks/{constants-008a1527.js.map → constants-3967338c.js.map} +1 -1
- package/dist/_chunks/{constants-1d345364.mjs → constants-6bf1c3c2.mjs} +5 -5
- package/dist/_chunks/{constants-1d345364.mjs.map → constants-6bf1c3c2.mjs.map} +1 -1
- package/dist/_chunks/{constants-797ada28.js → constants-d097f266.js} +6 -6
- package/dist/_chunks/{constants-797ada28.js.map → constants-d097f266.js.map} +1 -1
- package/dist/_chunks/{constants-278adc05.mjs → constants-da1ff847.mjs} +6 -6
- package/dist/_chunks/{constants-278adc05.mjs.map → constants-da1ff847.mjs.map} +1 -1
- package/dist/_chunks/{constants-4be682e5.js → constants-eb77e47a.js} +2 -2
- package/dist/_chunks/{constants-4be682e5.js.map → constants-eb77e47a.js.map} +1 -1
- package/dist/_chunks/{constants-29d123f8.mjs → constants-ecad1e20.mjs} +2 -2
- package/dist/_chunks/{constants-29d123f8.mjs.map → constants-ecad1e20.mjs.map} +1 -1
- package/dist/_chunks/{develop-a46fed01.mjs → develop-72394876.mjs} +2 -2
- package/dist/_chunks/{develop-a46fed01.mjs.map → develop-72394876.mjs.map} +1 -1
- package/dist/_chunks/{develop-4d25a6e0.js → develop-da585b1e.js} +2 -2
- package/dist/_chunks/{develop-4d25a6e0.js.map → develop-da585b1e.js.map} +1 -1
- package/dist/_chunks/{index-f5b276a8.mjs → index-061947f1.mjs} +21 -21
- package/dist/_chunks/{index-f5b276a8.mjs.map → index-061947f1.mjs.map} +1 -1
- package/dist/_chunks/{index-003c2cab.mjs → index-06e97c47.mjs} +5 -5
- package/dist/_chunks/{index-003c2cab.mjs.map → index-06e97c47.mjs.map} +1 -1
- package/dist/_chunks/{index-cbf9952d.js → index-1482f542.js} +2 -2
- package/dist/_chunks/{index-cbf9952d.js.map → index-1482f542.js.map} +1 -1
- package/dist/_chunks/{index-154693de.mjs → index-14887b9d.mjs} +3 -3
- package/dist/_chunks/{index-154693de.mjs.map → index-14887b9d.mjs.map} +1 -1
- package/dist/_chunks/{index-9f30a92e.js → index-1502dedd.js} +4 -4
- package/dist/_chunks/{index-9f30a92e.js.map → index-1502dedd.js.map} +1 -1
- package/dist/_chunks/{index-345c0ae9.js → index-19bd1210.js} +6 -6
- package/dist/_chunks/{index-345c0ae9.js.map → index-19bd1210.js.map} +1 -1
- package/dist/_chunks/{index-0fbbca7a.js → index-2064cfaf.js} +3 -3
- package/dist/_chunks/{index-0fbbca7a.js.map → index-2064cfaf.js.map} +1 -1
- package/dist/_chunks/{index-40d047a8.mjs → index-209cca35.mjs} +3 -3
- package/dist/_chunks/{index-40d047a8.mjs.map → index-209cca35.mjs.map} +1 -1
- package/dist/_chunks/{index-bde05e9e.mjs → index-24c2627d.mjs} +3 -3
- package/dist/_chunks/{index-bde05e9e.mjs.map → index-24c2627d.mjs.map} +1 -1
- package/dist/_chunks/{index-d5f569ab.js → index-24d1e175.js} +5 -5
- package/dist/_chunks/{index-d5f569ab.js.map → index-24d1e175.js.map} +1 -1
- package/dist/_chunks/{index-bc709e72.js → index-272d8fb9.js} +3 -3
- package/dist/_chunks/{index-bc709e72.js.map → index-272d8fb9.js.map} +1 -1
- package/dist/_chunks/{index-3c693658.mjs → index-2cf8d1f6.mjs} +3 -3
- package/dist/_chunks/{index-3c693658.mjs.map → index-2cf8d1f6.mjs.map} +1 -1
- package/dist/_chunks/{index-d9882c45.mjs → index-35c3f9f1.mjs} +4 -4
- package/dist/_chunks/{index-d9882c45.mjs.map → index-35c3f9f1.mjs.map} +1 -1
- package/dist/_chunks/{index-8e034257.mjs → index-391891ba.mjs} +3 -3
- package/dist/_chunks/{index-8e034257.mjs.map → index-391891ba.mjs.map} +1 -1
- package/dist/_chunks/{index-f3e7f8cc.mjs → index-3939f07e.mjs} +4 -4
- package/dist/_chunks/{index-f3e7f8cc.mjs.map → index-3939f07e.mjs.map} +1 -1
- package/dist/_chunks/{index-a6f1ccf6.mjs → index-3aab6b0f.mjs} +6 -6
- package/dist/_chunks/{index-a6f1ccf6.mjs.map → index-3aab6b0f.mjs.map} +1 -1
- package/dist/_chunks/{index-b6ee936b.mjs → index-3c67c00b.mjs} +14 -8
- package/dist/_chunks/{index-b6ee936b.mjs.map → index-3c67c00b.mjs.map} +1 -1
- package/dist/_chunks/{index-834fad5c.mjs → index-48c35356.mjs} +5 -5
- package/dist/_chunks/{index-834fad5c.mjs.map → index-48c35356.mjs.map} +1 -1
- package/dist/_chunks/{index-dc89c18c.mjs → index-49b7e6ff.mjs} +8 -4
- package/dist/_chunks/index-49b7e6ff.mjs.map +1 -0
- package/dist/_chunks/{index-69d47db4.js → index-4a019067.js} +3 -3
- package/dist/_chunks/{index-69d47db4.js.map → index-4a019067.js.map} +1 -1
- package/dist/_chunks/{index-b42866c5.mjs → index-55155d83.mjs} +2 -2
- package/dist/_chunks/{index-b42866c5.mjs.map → index-55155d83.mjs.map} +1 -1
- package/dist/_chunks/{index-9304d6de.js → index-57f9a06f.js} +511 -475
- package/dist/_chunks/index-57f9a06f.js.map +1 -0
- package/dist/_chunks/{index-cc38783c.mjs → index-61852c7a.mjs} +3 -3
- package/dist/_chunks/{index-cc38783c.mjs.map → index-61852c7a.mjs.map} +1 -1
- package/dist/_chunks/{index-e34335f1.js → index-6685e5a8.js} +3 -3
- package/dist/_chunks/{index-e34335f1.js.map → index-6685e5a8.js.map} +1 -1
- package/dist/_chunks/{index-2b22b1a0.js → index-6731bae9.js} +5 -5
- package/dist/_chunks/{index-2b22b1a0.js.map → index-6731bae9.js.map} +1 -1
- package/dist/_chunks/{index-40495ca1.mjs → index-674778e2.mjs} +2 -2
- package/dist/_chunks/{index-40495ca1.mjs.map → index-674778e2.mjs.map} +1 -1
- package/dist/_chunks/{index-bfb581a2.js → index-6a8a1f1d.js} +3 -3
- package/dist/_chunks/{index-bfb581a2.js.map → index-6a8a1f1d.js.map} +1 -1
- package/dist/_chunks/{index-f52ae628.mjs → index-707e89df.mjs} +3 -3
- package/dist/_chunks/{index-f52ae628.mjs.map → index-707e89df.mjs.map} +1 -1
- package/dist/_chunks/{index-eebad65d.js → index-724169b2.js} +3 -3
- package/dist/_chunks/{index-eebad65d.js.map → index-724169b2.js.map} +1 -1
- package/dist/_chunks/{index-924a1288.js → index-73971882.js} +3 -3
- package/dist/_chunks/{index-924a1288.js.map → index-73971882.js.map} +1 -1
- package/dist/_chunks/{index-1f4afa21.js → index-78f4851e.js} +3 -3
- package/dist/_chunks/{index-1f4afa21.js.map → index-78f4851e.js.map} +1 -1
- package/dist/_chunks/{index-f55a69e7.mjs → index-7a797b0f.mjs} +4 -4
- package/dist/_chunks/{index-f55a69e7.mjs.map → index-7a797b0f.mjs.map} +1 -1
- package/dist/_chunks/{index-5a5b0567.js → index-7b174d49.js} +21 -21
- package/dist/_chunks/{index-5a5b0567.js.map → index-7b174d49.js.map} +1 -1
- package/dist/_chunks/{index-7bfab5f5.js → index-819443df.js} +4 -4
- package/dist/_chunks/{index-7bfab5f5.js.map → index-819443df.js.map} +1 -1
- package/dist/_chunks/{index-6797e259.mjs → index-82fca9fd.mjs} +3 -3
- package/dist/_chunks/{index-6797e259.mjs.map → index-82fca9fd.mjs.map} +1 -1
- package/dist/_chunks/{index-81509193.mjs → index-8609fab4.mjs} +513 -477
- package/dist/_chunks/index-8609fab4.mjs.map +1 -0
- package/dist/_chunks/{index-51986071.mjs → index-86a4fbbf.mjs} +3 -3
- package/dist/_chunks/{index-51986071.mjs.map → index-86a4fbbf.mjs.map} +1 -1
- package/dist/_chunks/{index-0ed05075.js → index-8f8eaed6.js} +14 -8
- package/dist/_chunks/{index-0ed05075.js.map → index-8f8eaed6.js.map} +1 -1
- package/dist/_chunks/{index-e0e235a0.js → index-91726188.js} +3 -3
- package/dist/_chunks/{index-e0e235a0.js.map → index-91726188.js.map} +1 -1
- package/dist/_chunks/{index-46138ec7.mjs → index-97c03ee2.mjs} +4 -4
- package/dist/_chunks/{index-46138ec7.mjs.map → index-97c03ee2.mjs.map} +1 -1
- package/dist/_chunks/{index-be3e5f69.mjs → index-9b2501ca.mjs} +2 -2
- package/dist/_chunks/{index-be3e5f69.mjs.map → index-9b2501ca.mjs.map} +1 -1
- package/dist/_chunks/{index-1ebd9d8c.mjs → index-aad003e4.mjs} +5 -5
- package/dist/_chunks/{index-1ebd9d8c.mjs.map → index-aad003e4.mjs.map} +1 -1
- package/dist/_chunks/{index-9c26fffe.js → index-ad0512f0.js} +4 -4
- package/dist/_chunks/{index-9c26fffe.js.map → index-ad0512f0.js.map} +1 -1
- package/dist/_chunks/{index-72494b79.js → index-b247e702.js} +3 -3
- package/dist/_chunks/{index-72494b79.js.map → index-b247e702.js.map} +1 -1
- package/dist/_chunks/{index-9f2d5dc8.js → index-b3ad6e5f.js} +3 -3
- package/dist/_chunks/{index-9f2d5dc8.js.map → index-b3ad6e5f.js.map} +1 -1
- package/dist/_chunks/{index-787a0db6.js → index-b5eec5e2.js} +5 -5
- package/dist/_chunks/{index-787a0db6.js.map → index-b5eec5e2.js.map} +1 -1
- package/dist/_chunks/{index-035f8c59.js → index-b6b2a306.js} +3 -3
- package/dist/_chunks/{index-035f8c59.js.map → index-b6b2a306.js.map} +1 -1
- package/dist/_chunks/{index-4f557234.mjs → index-be9a9d91.mjs} +3 -3
- package/dist/_chunks/{index-4f557234.mjs.map → index-be9a9d91.mjs.map} +1 -1
- package/dist/_chunks/{index-56b499fb.mjs → index-c5fa9006.mjs} +5 -5
- package/dist/_chunks/{index-56b499fb.mjs.map → index-c5fa9006.mjs.map} +1 -1
- package/dist/_chunks/{index-f7dbd21b.js → index-c6c83bb3.js} +2 -2
- package/dist/_chunks/{index-f7dbd21b.js.map → index-c6c83bb3.js.map} +1 -1
- package/dist/_chunks/{index-97a59f73.js → index-c8b6afca.js} +4 -4
- package/dist/_chunks/{index-97a59f73.js.map → index-c8b6afca.js.map} +1 -1
- package/dist/_chunks/{index-557e0c47.js → index-caab4b20.js} +2 -2
- package/dist/_chunks/{index-557e0c47.js.map → index-caab4b20.js.map} +1 -1
- package/dist/_chunks/{index-6353193a.mjs → index-cc38421b.mjs} +5 -5
- package/dist/_chunks/{index-6353193a.mjs.map → index-cc38421b.mjs.map} +1 -1
- package/dist/_chunks/{index-b2d4d126.js → index-cdcf1a78.js} +5 -5
- package/dist/_chunks/{index-b2d4d126.js.map → index-cdcf1a78.js.map} +1 -1
- package/dist/_chunks/{index-9118a940.mjs → index-cea88049.mjs} +4 -4
- package/dist/_chunks/{index-9118a940.mjs.map → index-cea88049.mjs.map} +1 -1
- package/dist/_chunks/{index-0c9fceff.js → index-ceacb143.js} +5 -5
- package/dist/_chunks/{index-0c9fceff.js.map → index-ceacb143.js.map} +1 -1
- package/dist/_chunks/{index-d2b3c398.mjs → index-d1219a93.mjs} +3 -3
- package/dist/_chunks/{index-d2b3c398.mjs.map → index-d1219a93.mjs.map} +1 -1
- package/dist/_chunks/{index-039f8e26.mjs → index-d47fc57d.mjs} +4 -4
- package/dist/_chunks/{index-039f8e26.mjs.map → index-d47fc57d.mjs.map} +1 -1
- package/dist/_chunks/{index-46c3ee85.mjs → index-d844fbda.mjs} +3 -3
- package/dist/_chunks/{index-46c3ee85.mjs.map → index-d844fbda.mjs.map} +1 -1
- package/dist/_chunks/{index-bac648de.js → index-d9aae905.js} +5 -5
- package/dist/_chunks/{index-bac648de.js.map → index-d9aae905.js.map} +1 -1
- package/dist/_chunks/{index-25975989.js → index-dab453d2.js} +4 -4
- package/dist/_chunks/{index-25975989.js.map → index-dab453d2.js.map} +1 -1
- package/dist/_chunks/{index-1932eedf.mjs → index-dd897afb.mjs} +3 -3
- package/dist/_chunks/{index-1932eedf.mjs.map → index-dd897afb.mjs.map} +1 -1
- package/dist/_chunks/{index-f7cf652c.js → index-ec2d87cb.js} +4 -4
- package/dist/_chunks/{index-f7cf652c.js.map → index-ec2d87cb.js.map} +1 -1
- package/dist/_chunks/{index-eaff38ba.js → index-ecfaf6c1.js} +3 -3
- package/dist/_chunks/{index-eaff38ba.js.map → index-ecfaf6c1.js.map} +1 -1
- package/dist/_chunks/{index-a9625818.mjs → index-ff4fb44c.mjs} +5 -5
- package/dist/_chunks/{index-a9625818.mjs.map → index-ff4fb44c.mjs.map} +1 -1
- package/dist/_chunks/{index-1a74fa41.js → index-ffd2f664.js} +8 -4
- package/dist/_chunks/index-ffd2f664.js.map +1 -0
- package/dist/_chunks/{ru-d43423ea.mjs → ru-9aad40c5.mjs} +91 -42
- package/dist/_chunks/{ru-d43423ea.mjs.map → ru-9aad40c5.mjs.map} +1 -1
- package/dist/_chunks/{ru-07958f09.js → ru-c0293425.js} +91 -42
- package/dist/_chunks/{ru-07958f09.js.map → ru-c0293425.js.map} +1 -1
- package/dist/_chunks/{schema-15e33d1c.js → schema-336f4dd6.js} +2 -2
- package/dist/_chunks/{schema-15e33d1c.js.map → schema-336f4dd6.js.map} +1 -1
- package/dist/_chunks/{schema-a7f695ae.mjs → schema-60d9880c.mjs} +2 -2
- package/dist/_chunks/{schema-a7f695ae.mjs.map → schema-60d9880c.mjs.map} +1 -1
- package/dist/_chunks/{validateWorkflow-2f84e76e.mjs → validateWorkflow-022b5005.mjs} +3 -3
- package/dist/_chunks/{validateWorkflow-2f84e76e.mjs.map → validateWorkflow-022b5005.mjs.map} +1 -1
- package/dist/_chunks/{validateWorkflow-6b5dffaf.js → validateWorkflow-7f76e43f.js} +3 -3
- package/dist/_chunks/{validateWorkflow-6b5dffaf.js.map → validateWorkflow-7f76e43f.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/content-manager/components/BlocksInput/BlocksContent.d.ts +5 -0
- package/dist/admin/src/content-manager/components/BlocksInput/BlocksEditor.d.ts +34 -0
- package/dist/admin/src/content-manager/components/BlocksInput/BlocksInput.d.ts +18 -0
- package/dist/admin/src/content-manager/components/BlocksInput/BlocksToolbar.d.ts +2 -0
- package/dist/admin/src/content-manager/components/BlocksInput/hooks/useBlocksStore.d.ts +32 -0
- package/dist/admin/src/content-manager/components/BlocksInput/hooks/useModifiersStore.d.ts +20 -0
- package/dist/admin/src/content-manager/components/BlocksInput/plugins/withLinks.d.ts +8 -0
- package/dist/admin/src/content-manager/components/BlocksInput/plugins/withStrapiSchema.d.ts +8 -0
- package/dist/admin/src/content-manager/components/BlocksInput/tests/mock-schema.d.ts +2 -0
- package/dist/admin/src/content-manager/components/BlocksInput/utils/links.d.ts +10 -0
- package/dist/admin/src/content-manager/components/BlocksInput/utils/types.d.ts +6 -0
- package/dist/admin/src/hooks/useAdminUsers.d.ts +3 -3
- package/dist/admin/src/index.d.ts +1 -0
- package/dist/admin/src/render.d.ts +3 -1
- package/dist/cli.js +1 -1
- package/dist/cli.mjs +1 -1
- package/package.json +14 -14
- package/server/services/__tests__/user.test.js +15 -0
- package/server/services/user.js +1 -4
- package/dist/_chunks/SalesPage-c5cbb366.js.map +0 -1
- package/dist/_chunks/index-1a74fa41.js.map +0 -1
- package/dist/_chunks/index-81509193.mjs.map +0 -1
- package/dist/_chunks/index-9304d6de.js.map +0 -1
- package/dist/_chunks/index-dc89c18c.mjs.map +0 -1
|
@@ -1540,11 +1540,11 @@ const AuthPage = ({ hasAdmin }) => {
|
|
|
1540
1540
|
const authType = match?.params.authType;
|
|
1541
1541
|
const Login$1 = useEnterprise(
|
|
1542
1542
|
Login,
|
|
1543
|
-
async () => (await import("./Login-
|
|
1543
|
+
async () => (await import("./Login-8ade15b8.mjs")).LoginEE
|
|
1544
1544
|
);
|
|
1545
1545
|
const forms = useEnterprise(
|
|
1546
1546
|
FORMS,
|
|
1547
|
-
async () => (await import("./constants-
|
|
1547
|
+
async () => (await import("./constants-ecad1e20.mjs")).FORMS,
|
|
1548
1548
|
{
|
|
1549
1549
|
combine(ceForms, eeForms) {
|
|
1550
1550
|
return {
|
|
@@ -1775,7 +1775,7 @@ const createRoute = (loadComponent, to, exact = false) => {
|
|
|
1775
1775
|
};
|
|
1776
1776
|
const ROUTES_CE = null;
|
|
1777
1777
|
const AuthenticatedApp = React.lazy(
|
|
1778
|
-
() => import("./AuthenticatedApp-
|
|
1778
|
+
() => import("./AuthenticatedApp-722b2e84.mjs").then((n) => n.A).then((mod) => ({ default: mod.AuthenticatedApp }))
|
|
1779
1779
|
);
|
|
1780
1780
|
const App = () => {
|
|
1781
1781
|
const adminPermissions = useEnterprise(
|
|
@@ -3132,7 +3132,7 @@ class StrapiApp {
|
|
|
3132
3132
|
*/
|
|
3133
3133
|
async loadAdminTrads() {
|
|
3134
3134
|
const arrayOfPromises = this.configurations.locales.map((locale) => {
|
|
3135
|
-
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-62e5e2b3.mjs"), "./translations/ca.json": () => import("./ca-e99de225.mjs"), "./translations/cs.json": () => import("./cs-2fa881a2.mjs"), "./translations/de.json": () => import("./de-28f8bc28.mjs"), "./translations/dk.json": () => import("./dk-0b759a56.mjs"), "./translations/en.json": () => import("./en-e728accb.mjs"), "./translations/es.json": () => import("./es-18b29db2.mjs"), "./translations/eu.json": () => import("./eu-8fd773c2.mjs"), "./translations/fr.json": () => import("./fr-f37df086.mjs"), "./translations/gu.json": () => import("./gu-69f0e13a.mjs"), "./translations/he.json": () => import("./he-bd769d7e.mjs"), "./translations/hi.json": () => import("./hi-d397a24b.mjs"), "./translations/hu.json": () => import("./hu-eb88bd0c.mjs"), "./translations/id.json": () => import("./id-f47699e6.mjs"), "./translations/it.json": () => import("./it-4006227c.mjs"), "./translations/ja.json": () => import("./ja-db43ca3d.mjs"), "./translations/ko.json": () => import("./ko-a7826e25.mjs"), "./translations/ml.json": () => import("./ml-90131768.mjs"), "./translations/ms.json": () => import("./ms-f4f16a83.mjs"), "./translations/nl.json": () => import("./nl-887ce2c3.mjs"), "./translations/no.json": () => import("./no-f0b02541.mjs"), "./translations/pl.json": () => import("./pl-9ccd35d9.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-fd73cb13.mjs"), "./translations/pt.json": () => import("./pt-8acb6ac1.mjs"), "./translations/ru.json": () => import("./ru-
|
|
3135
|
+
return __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./translations/ar.json": () => import("./ar-62e5e2b3.mjs"), "./translations/ca.json": () => import("./ca-e99de225.mjs"), "./translations/cs.json": () => import("./cs-2fa881a2.mjs"), "./translations/de.json": () => import("./de-28f8bc28.mjs"), "./translations/dk.json": () => import("./dk-0b759a56.mjs"), "./translations/en.json": () => import("./en-e728accb.mjs"), "./translations/es.json": () => import("./es-18b29db2.mjs"), "./translations/eu.json": () => import("./eu-8fd773c2.mjs"), "./translations/fr.json": () => import("./fr-f37df086.mjs"), "./translations/gu.json": () => import("./gu-69f0e13a.mjs"), "./translations/he.json": () => import("./he-bd769d7e.mjs"), "./translations/hi.json": () => import("./hi-d397a24b.mjs"), "./translations/hu.json": () => import("./hu-eb88bd0c.mjs"), "./translations/id.json": () => import("./id-f47699e6.mjs"), "./translations/it.json": () => import("./it-4006227c.mjs"), "./translations/ja.json": () => import("./ja-db43ca3d.mjs"), "./translations/ko.json": () => import("./ko-a7826e25.mjs"), "./translations/ml.json": () => import("./ml-90131768.mjs"), "./translations/ms.json": () => import("./ms-f4f16a83.mjs"), "./translations/nl.json": () => import("./nl-887ce2c3.mjs"), "./translations/no.json": () => import("./no-f0b02541.mjs"), "./translations/pl.json": () => import("./pl-9ccd35d9.mjs"), "./translations/pt-BR.json": () => import("./pt-BR-fd73cb13.mjs"), "./translations/pt.json": () => import("./pt-8acb6ac1.mjs"), "./translations/ru.json": () => import("./ru-9aad40c5.mjs"), "./translations/sa.json": () => import("./sa-6bf4c20e.mjs"), "./translations/sk.json": () => import("./sk-58d31b17.mjs"), "./translations/sv.json": () => import("./sv-d80ad633.mjs"), "./translations/th.json": () => import("./th-e72c6a22.mjs"), "./translations/tr.json": () => import("./tr-e35ecfe8.mjs"), "./translations/uk.json": () => import("./uk-de367ec1.mjs"), "./translations/vi.json": () => import("./vi-096bccbb.mjs"), "./translations/zh-Hans.json": () => import("./zh-Hans-ccf4be4b.mjs"), "./translations/zh.json": () => import("./zh-ba29b2e1.mjs") }), `./translations/${locale}.json`).then(({ default: data }) => {
|
|
3136
3136
|
return { data, locale };
|
|
3137
3137
|
}).catch(() => {
|
|
3138
3138
|
return { data: null, locale };
|
|
@@ -3252,7 +3252,7 @@ class StrapiApp {
|
|
|
3252
3252
|
);
|
|
3253
3253
|
}
|
|
3254
3254
|
}
|
|
3255
|
-
const renderAdmin = async (mountNode, { plugins, customisations }) => {
|
|
3255
|
+
const renderAdmin = async (mountNode, { plugins, customisations, features }) => {
|
|
3256
3256
|
if (!mountNode) {
|
|
3257
3257
|
throw new Error("[@strapi/admin]: Could not find the root element to mount the admin app");
|
|
3258
3258
|
}
|
|
@@ -3266,6 +3266,12 @@ const renderAdmin = async (mountNode, { plugins, customisations }) => {
|
|
|
3266
3266
|
backendURL: process.env.STRAPI_ADMIN_BACKEND_URL || window.location.origin,
|
|
3267
3267
|
isEE: false,
|
|
3268
3268
|
telemetryDisabled: process.env.STRAPI_TELEMETRY_DISABLED === "true" ? true : false,
|
|
3269
|
+
future: {
|
|
3270
|
+
isEnabled: (name) => {
|
|
3271
|
+
return features?.future?.[name] === true;
|
|
3272
|
+
}
|
|
3273
|
+
},
|
|
3274
|
+
// @ts-expect-error – there's pollution from the global scope of Node.
|
|
3269
3275
|
features: {
|
|
3270
3276
|
SSO: "sso",
|
|
3271
3277
|
AUDIT_LOGS: "audit-logs",
|
|
@@ -3286,14 +3292,14 @@ const renderAdmin = async (mountNode, { plugins, customisations }) => {
|
|
|
3286
3292
|
try {
|
|
3287
3293
|
const {
|
|
3288
3294
|
data: {
|
|
3289
|
-
data: { isEE, features, flags }
|
|
3295
|
+
data: { isEE, features: features2, flags }
|
|
3290
3296
|
}
|
|
3291
3297
|
} = await get2("/admin/project-type");
|
|
3292
3298
|
window.strapi.isEE = isEE;
|
|
3293
3299
|
window.strapi.flags = flags;
|
|
3294
3300
|
window.strapi.features = {
|
|
3295
3301
|
...window.strapi.features,
|
|
3296
|
-
isEnabled: (featureName) =>
|
|
3302
|
+
isEnabled: (featureName) => features2.some((feature) => feature.name === featureName)
|
|
3297
3303
|
};
|
|
3298
3304
|
window.strapi.projectType = isEE ? "Enterprise" : "Community";
|
|
3299
3305
|
} catch (err) {
|
|
@@ -3365,4 +3371,4 @@ export {
|
|
|
3365
3371
|
initialState$1 as y,
|
|
3366
3372
|
crudReducer as z
|
|
3367
3373
|
};
|
|
3368
|
-
//# sourceMappingURL=index-
|
|
3374
|
+
//# sourceMappingURL=index-3c67c00b.mjs.map
|