node_modules ignore

This commit is contained in:
oier committed 2025-05-08 23:43:47 +02:00
1 parent e19d52f172
commit 4574544c9f
65041 files changed
+10593536

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
# Server
HOST=0.0.0.0
PORT=1337
# Secrets
APP_KEYS=58Ak6T00Yd4tatybLqdT+g==,D5rtyrkpvP39ob0uGw2t/w==,uSd7HTABiHzhaZMNQ1X9og==,un/3ZhvRpwaPeRafk6MzFg==
API_TOKEN_SALT=eyq17CXyGeimONpQa5GwLQ==
ADMIN_JWT_SECRET=E+YDtxuMstheljK35LT0sg==
TRANSFER_TOKEN_SALT=3wbGxS+rs1gFe9KxfTWwWA==
ENCRYPTION_KEY=Nl+XKUJn3MIwS71P+KNFfg==
# Database
DATABASE_CLIENT=sqlite
DATABASE_HOST=
DATABASE_PORT=
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_SSL=false
DATABASE_FILENAME=.tmp/data.db
JWT_SECRET=2jSJ125b/iVC4jMPSjSYKw==
+8
View File
@@ -0,0 +1,8 @@
HOST=0.0.0.0
PORT=1337
APP_KEYS="toBeModified1,toBeModified2"
API_TOKEN_SALT=tobemodified
ADMIN_JWT_SECRET=tobemodified
TRANSFER_TOKEN_SALT=tobemodified
JWT_SECRET=tobemodified
ENCRYPTION_KEY=tobemodified
+1
View File
@@ -0,0 +1 @@
node_modules
+4
View File
@@ -0,0 +1,4 @@
{
"latest": "5.13.0",
"lastUpdateCheck": 1746738094002
}
+14
View File
@@ -0,0 +1,14 @@
/**
* This file was automatically generated by Strapi.
* Any modifications made will be discarded.
*/
import strapiCloud from "@strapi/plugin-cloud/strapi-admin";
import usersPermissions from "@strapi/plugin-users-permissions/strapi-admin";
import { renderAdmin } from "@strapi/strapi/admin";
renderAdmin(document.getElementById("strapi"), {
plugins: {
"strapi-cloud": strapiCloud,
"users-permissions": usersPermissions,
},
});
+63
View File
@@ -0,0 +1,63 @@
<!doctype html>
<html lang="en">
<!--
This file was automatically generated by Strapi.
Any modifications made will be discarded.
-->
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover"
/>
<meta name="robots" content="noindex" />
<meta name="referrer" content="same-origin" />
<title>Strapi Admin</title>
<style>
html,
body,
#strapi {
height: 100%;
}
body {
margin: 0;
-webkit-font-smoothing: antialiased;
}
</style>
</head>
<body>
<div id="strapi"></div>
<noscript
><div class="strapi--root">
<div class="strapi--no-js">
<style type="text/css">
.strapi--root {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: #fff;
}
.strapi--no-js {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
font-family: helvetica, arial, sans-serif;
}
</style>
<h1>JavaScript disabled</h1>
<p>
Please
<a href="https://www.enable-javascript.com/">enable JavaScript</a>
in your browser and reload the page to proceed.
</p>
</div>
</div></noscript
>
<script type="module" src="/.strapi/client/app.js"></script>
</body>
</html>
Binary file not shown.
+61
View File
@@ -0,0 +1,61 @@
# 🚀 Getting started with Strapi
Strapi comes with a full featured [Command Line Interface](https://docs.strapi.io/dev-docs/cli) (CLI) which lets you scaffold and manage your project in seconds.
### `develop`
Start your Strapi application with autoReload enabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-develop)
```
npm run develop
# or
yarn develop
```
### `start`
Start your Strapi application with autoReload disabled. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-start)
```
npm run start
# or
yarn start
```
### `build`
Build your admin panel. [Learn more](https://docs.strapi.io/dev-docs/cli#strapi-build)
```
npm run build
# or
yarn build
```
## ⚙️ Deployment
Strapi gives you many possible deployment options for your project including [Strapi Cloud](https://cloud.strapi.io). Browse the [deployment section of the documentation](https://docs.strapi.io/dev-docs/deployment) to find the best solution for your use case.
```
yarn strapi deploy
```
## 📚 Learn more
- [Resource center](https://strapi.io/resource-center) - Strapi resource center.
- [Strapi documentation](https://docs.strapi.io) - Official Strapi documentation.
- [Strapi tutorials](https://strapi.io/tutorials) - List of tutorials made by the core team and the community.
- [Strapi blog](https://strapi.io/blog) - Official Strapi blog containing articles made by the Strapi team and the community.
- [Changelog](https://strapi.io/changelog) - Find out about the Strapi product updates, new features and general improvements.
Feel free to check out the [Strapi GitHub repository](https://github.com/strapi/strapi). Your feedback and contributions are welcome!
## ✨ Community
- [Discord](https://discord.strapi.io) - Come chat with the Strapi community including the core team.
- [Forum](https://forum.strapi.io/) - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
- [Awesome Strapi](https://github.com/strapi/awesome-strapi) - A curated list of awesome things related to Strapi.
---
<sub>🤫 Psst! [Strapi is hiring](https://strapi.io/careers).</sub>
+20
View File
@@ -0,0 +1,20 @@
export default ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET'),
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
transfer: {
token: {
salt: env('TRANSFER_TOKEN_SALT'),
},
},
secrets: {
encryptionKey: env('ENCRYPTION_KEY'),
},
flags: {
nps: env.bool('FLAG_NPS', true),
promoteEE: env.bool('FLAG_PROMOTE_EE', true),
},
});
+7
View File
@@ -0,0 +1,7 @@
export default {
rest: {
defaultLimit: 25,
maxLimit: 100,
withCount: true,
},
};
+60
View File
@@ -0,0 +1,60 @@
import path from 'path';
export default ({ env }) => {
const client = env('DATABASE_CLIENT', 'sqlite');
const connections = {
mysql: {
connection: {
host: env('DATABASE_HOST', 'localhost'),
port: env.int('DATABASE_PORT', 3306),
database: env('DATABASE_NAME', 'strapi'),
user: env('DATABASE_USERNAME', 'strapi'),
password: env('DATABASE_PASSWORD', 'strapi'),
ssl: env.bool('DATABASE_SSL', false) && {
key: env('DATABASE_SSL_KEY', undefined),
cert: env('DATABASE_SSL_CERT', undefined),
ca: env('DATABASE_SSL_CA', undefined),
capath: env('DATABASE_SSL_CAPATH', undefined),
cipher: env('DATABASE_SSL_CIPHER', undefined),
rejectUnauthorized: env.bool('DATABASE_SSL_REJECT_UNAUTHORIZED', true),
},
},
pool: { min: env.int('DATABASE_POOL_MIN', 2), max: env.int('DATABASE_POOL_MAX', 10) },
},
postgres: {
connection: {
connectionString: env('DATABASE_URL'),
host: env('DATABASE_HOST', 'localhost'),
port: env.int('DATABASE_PORT', 5432),
database: env('DATABASE_NAME', 'strapi'),
user: env('DATABASE_USERNAME', 'strapi'),
password: env('DATABASE_PASSWORD', 'strapi'),
ssl: env.bool('DATABASE_SSL', false) && {
key: env('DATABASE_SSL_KEY', undefined),
cert: env('DATABASE_SSL_CERT', undefined),
ca: env('DATABASE_SSL_CA', undefined),
capath: env('DATABASE_SSL_CAPATH', undefined),
cipher: env('DATABASE_SSL_CIPHER', undefined),
rejectUnauthorized: env.bool('DATABASE_SSL_REJECT_UNAUTHORIZED', true),
},
schema: env('DATABASE_SCHEMA', 'public'),
},
pool: { min: env.int('DATABASE_POOL_MIN', 2), max: env.int('DATABASE_POOL_MAX', 10) },
},
sqlite: {
connection: {
filename: path.join(__dirname, '..', '..', env('DATABASE_FILENAME', '.tmp/data.db')),
},
useNullAsDefault: true,
},
};
return {
connection: {
client,
...connections[client],
acquireConnectionTimeout: env.int('DATABASE_CONNECTION_TIMEOUT', 60000),
},
};
};
+12
View File
@@ -0,0 +1,12 @@
export default [
'strapi::logger',
'strapi::errors',
'strapi::security',
'strapi::cors',
'strapi::poweredBy',
'strapi::query',
'strapi::body',
'strapi::session',
'strapi::favicon',
'strapi::public',
];
+1
View File
@@ -0,0 +1 @@
export default () => ({});
+7
View File
@@ -0,0 +1,7 @@
export default ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
app: {
keys: env.array('APP_KEYS'),
},
});
View File
Whitespace-only changes.
+22
View File
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = ({ env }) => ({
auth: {
secret: env('ADMIN_JWT_SECRET'),
},
apiToken: {
salt: env('API_TOKEN_SALT'),
},
transfer: {
token: {
salt: env('TRANSFER_TOKEN_SALT'),
},
},
secrets: {
encryptionKey: env('ENCRYPTION_KEY'),
},
flags: {
nps: env.bool('FLAG_NPS', true),
promoteEE: env.bool('FLAG_PROMOTE_EE', true),
},
});
+9
View File
@@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
rest: {
defaultLimit: 25,
maxLimit: 100,
withCount: true,
},
};
+62
View File
@@ -0,0 +1,62 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = __importDefault(require("path"));
exports.default = ({ env }) => {
const client = env('DATABASE_CLIENT', 'sqlite');
const connections = {
mysql: {
connection: {
host: env('DATABASE_HOST', 'localhost'),
port: env.int('DATABASE_PORT', 3306),
database: env('DATABASE_NAME', 'strapi'),
user: env('DATABASE_USERNAME', 'strapi'),
password: env('DATABASE_PASSWORD', 'strapi'),
ssl: env.bool('DATABASE_SSL', false) && {
key: env('DATABASE_SSL_KEY', undefined),
cert: env('DATABASE_SSL_CERT', undefined),
ca: env('DATABASE_SSL_CA', undefined),
capath: env('DATABASE_SSL_CAPATH', undefined),
cipher: env('DATABASE_SSL_CIPHER', undefined),
rejectUnauthorized: env.bool('DATABASE_SSL_REJECT_UNAUTHORIZED', true),
},
},
pool: { min: env.int('DATABASE_POOL_MIN', 2), max: env.int('DATABASE_POOL_MAX', 10) },
},
postgres: {
connection: {
connectionString: env('DATABASE_URL'),
host: env('DATABASE_HOST', 'localhost'),
port: env.int('DATABASE_PORT', 5432),
database: env('DATABASE_NAME', 'strapi'),
user: env('DATABASE_USERNAME', 'strapi'),
password: env('DATABASE_PASSWORD', 'strapi'),
ssl: env.bool('DATABASE_SSL', false) && {
key: env('DATABASE_SSL_KEY', undefined),
cert: env('DATABASE_SSL_CERT', undefined),
ca: env('DATABASE_SSL_CA', undefined),
capath: env('DATABASE_SSL_CAPATH', undefined),
cipher: env('DATABASE_SSL_CIPHER', undefined),
rejectUnauthorized: env.bool('DATABASE_SSL_REJECT_UNAUTHORIZED', true),
},
schema: env('DATABASE_SCHEMA', 'public'),
},
pool: { min: env.int('DATABASE_POOL_MIN', 2), max: env.int('DATABASE_POOL_MAX', 10) },
},
sqlite: {
connection: {
filename: path_1.default.join(__dirname, '..', '..', env('DATABASE_FILENAME', '.tmp/data.db')),
},
useNullAsDefault: true,
},
};
return {
connection: {
client,
...connections[client],
acquireConnectionTimeout: env.int('DATABASE_CONNECTION_TIMEOUT', 60000),
},
};
};
+14
View File
@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = [
'strapi::logger',
'strapi::errors',
'strapi::security',
'strapi::cors',
'strapi::poweredBy',
'strapi::query',
'strapi::body',
'strapi::session',
'strapi::favicon',
'strapi::public',
];
+3
View File
@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = () => ({});
+9
View File
@@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
app: {
keys: env.array('APP_KEYS'),
},
});
@@ -0,0 +1,33 @@
{
"kind": "collectionType",
"collectionName": "elements",
"info": {
"singularName": "element",
"pluralName": "elements",
"displayName": "Element"
},
"options": {
"draftAndPublish": true
},
"attributes": {
"Name": {
"type": "string"
},
"Description": {
"type": "blocks"
},
"Summary": {
"type": "text"
},
"Image": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
}
}
}
+7
View File
@@ -0,0 +1,7 @@
"use strict";
/**
* element controller
*/
Object.defineProperty(exports, "__esModule", { value: true });
const strapi_1 = require("@strapi/strapi");
exports.default = strapi_1.factories.createCoreController('api::element.element');
+7
View File
@@ -0,0 +1,7 @@
"use strict";
/**
* element router
*/
Object.defineProperty(exports, "__esModule", { value: true });
const strapi_1 = require("@strapi/strapi");
exports.default = strapi_1.factories.createCoreRouter('api::element.element');
+7
View File
@@ -0,0 +1,7 @@
"use strict";
/**
* element service
*/
Object.defineProperty(exports, "__esModule", { value: true });
const strapi_1 = require("@strapi/strapi");
exports.default = strapi_1.factories.createCoreService('api::element.element');
+20
View File
@@ -0,0 +1,20 @@
"use strict";
// import type { Core } from '@strapi/strapi';
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
/**
* An asynchronous register function that runs before
* your application is initialized.
*
* This gives you an opportunity to extend code.
*/
register( /* { strapi }: { strapi: Core.Strapi } */) { },
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*/
bootstrap( /* { strapi }: { strapi: Core.Strapi } */) { },
};
+1
View File
@@ -0,0 +1 @@
{"version":"5.4.4"}
Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../acorn/bin/acorn
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../ansi-html/bin/ansi-html
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../browserslist/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../@strapi/cloud-cli/bin/index.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../concurrently/dist/bin/concurrently.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../concurrently/dist/bin/concurrently.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../copyfiles/copyfiles
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../copyfiles/copyfiles
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../cross-env/src/bin/cross-env.js
+1
View File
@@ -0,0 +1 @@
../cross-env/src/bin/cross-env-shell.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../cssesc/bin/cssesc
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../direction/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../esbuild/bin/esbuild
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../esprima/bin/esparse.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../esprima/bin/esvalidate.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../glob/dist/esm/bin.mjs
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../handlebars/bin/handlebars
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../he/bin/he
+1
View File
@@ -0,0 +1 @@
../html-minifier-terser/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../is-docker/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../js-yaml/bin/js-yaml.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../jsesc/bin/jsesc
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../json5/lib/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../knex/bin/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../loose-envify/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../lz-string/bin/bin.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../markdown-it/bin/markdown-it.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../marked/bin/marked.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../mkdirp/bin/cmd.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../nanoid/bin/nanoid.cjs
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../which/bin/node-which
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../nodemon/bin/nodemon.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../touch/bin/nodetouch.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../npm-packlist/bin/index.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../opener/bin/opener-bin.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../@babel/parser/bin/babel-parser.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../plop/bin/plop.js
+1
View File
@@ -0,0 +1 @@
../prebuild-install/bin.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../prettier/bin/prettier.cjs
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../rc/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../resolve/bin/resolve
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../rimraf/dist/esm/bin.mjs
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../rollup/dist/bin/rollup
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../semver/bin/semver.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../@strapi/strapi/bin/strapi.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../terser/bin/terser
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../tree-kill/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../typescript/bin/tsc
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../typescript/bin/tsserver
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../uglify-js/bin/uglifyjs
+1
View File
@@ -0,0 +1 @@
../update-browserslist-db/cli.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../uuid/dist/bin/uuid
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../vite/bin/vite.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../webpack/bin/webpack.js
+1
View File
@@ -0,0 +1 @@
../webpack-bundle-analyzer/lib/bin/analyzer.js
Generated Vendored Symlink
+1
View File
@@ -0,0 +1 @@
../yalc/src/yalc.js
+15218
View File
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,100 @@
import {
pluginId
} from "./chunk-RH4C26B2.js";
import {
ForwardRef$4n
} from "./chunk-WRD5KPDH.js";
import "./chunk-NIAJZ5MX.js";
import "./chunk-ACIMPXWY.js";
import {
require_react
} from "./chunk-MADUDGYZ.js";
import {
__toESM
} from "./chunk-PLDDJCW6.js";
// node_modules/@strapi/plugin-cloud/dist/admin/components/Initializer.mjs
var import_react = __toESM(require_react(), 1);
var Initializer = ({ setPlugin }) => {
const ref = (0, import_react.useRef)(setPlugin);
(0, import_react.useEffect)(() => {
ref.current(pluginId);
}, []);
return null;
};
// node_modules/@strapi/plugin-cloud/dist/admin/utils/prefixPluginTranslations.mjs
var prefixPluginTranslations = (trad, pluginId2) => {
return Object.keys(trad).reduce((acc, current) => {
acc[`${pluginId2}.${current}`] = trad[current];
return acc;
}, {});
};
// node_modules/@strapi/plugin-cloud/dist/admin/index.mjs
function __variableDynamicImportRuntime1__(path) {
switch (path) {
case "./translations/en.json":
return import("./en.json-LOEYTETI.js");
case "./translations/fr.json":
return import("./fr.json-FH7EDBW7.js");
case "./translations/ru.json":
return import("./ru.json-IV7JABZF.js");
case "./translations/uk.json":
return import("./uk.json-JEGTVCJW.js");
default:
return new Promise(function(resolve, reject) {
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
);
});
}
}
var name = "Deploy";
var index = {
register(app) {
const { backendURL } = window.strapi;
if (backendURL == null ? void 0 : backendURL.includes("localhost")) {
app.addMenuLink({
to: `plugins/${pluginId}`,
icon: ForwardRef$4n,
intlLabel: {
id: `${pluginId}.plugin.name`,
defaultMessage: name
},
Component: async () => {
const { App } = await import("./App-7CUG4FT5.js");
return App;
}
});
const plugin = {
id: pluginId,
initializer: Initializer,
isReady: false,
name
};
app.registerPlugin(plugin);
}
},
async registerTrads(app) {
const { locales } = app;
const importedTrads = await Promise.all(locales.map((locale) => {
return __variableDynamicImportRuntime1__(`./translations/${locale}.json`).then(({ default: data }) => {
return {
data: prefixPluginTranslations(data, pluginId),
locale
};
}).catch(() => {
return {
data: {},
locale
};
});
}));
return Promise.resolve(importedTrads);
}
};
export {
index as default
};
//# sourceMappingURL=@strapi_plugin-cloud_strapi-admin.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../@strapi/plugin-cloud/admin/src/components/Initializer.tsx", "../../../@strapi/plugin-cloud/admin/src/utils/prefixPluginTranslations.ts", "../../../@strapi/plugin-cloud/admin/src/index.ts"],
"sourcesContent": ["/**\n *\n * Initializer\n *\n */\n\nimport { useEffect, useRef } from 'react';\n\nimport { pluginId } from '../pluginId';\n\ntype InitializerProps = {\n setPlugin: (id: string) => void;\n};\n\nconst Initializer = ({ setPlugin }: InitializerProps) => {\n const ref = useRef(setPlugin);\n\n useEffect(() => {\n ref.current(pluginId);\n }, []);\n\n return null;\n};\n\nexport { Initializer };\n", "type TradOptions = Record<string, string>;\n\nconst prefixPluginTranslations = (trad: TradOptions, pluginId: string): TradOptions => {\n if (!pluginId) {\n throw new TypeError(\"pluginId can't be empty\");\n }\n return Object.keys(trad).reduce((acc, current) => {\n acc[`${pluginId}.${current}`] = trad[current];\n return acc;\n }, {} as TradOptions);\n};\n\nexport { prefixPluginTranslations };\n", "/* eslint-disable check-file/filename-naming-convention */\n\nimport { Cloud } from '@strapi/icons';\n\nimport { Initializer } from './components/Initializer';\nimport { pluginId } from './pluginId';\nimport { prefixPluginTranslations } from './utils/prefixPluginTranslations';\n\nconst name = 'Deploy';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n register(app: any) {\n const { backendURL } = window.strapi;\n\n // Only add the plugin menu link and registering it if the project is on development (localhost).\n if (backendURL?.includes('localhost')) {\n app.addMenuLink({\n to: `plugins/${pluginId}`,\n icon: Cloud,\n intlLabel: {\n id: `${pluginId}.plugin.name`,\n defaultMessage: name,\n },\n Component: async () => {\n const { App } = await import('./pages/App');\n\n return App;\n },\n });\n const plugin = {\n id: pluginId,\n initializer: Initializer,\n isReady: false,\n name,\n };\n\n app.registerPlugin(plugin);\n }\n },\n\n async registerTrads(app: any) {\n const { locales } = app;\n\n const importedTrads = await Promise.all(\n (locales as any[]).map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, pluginId),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],
"mappings": ";;;;;;;;;;;;;;;;;AAcA,IAAMA,cAAc,CAAC,EAAEC,UAAS,MAAoB;AAClD,QAAMC,UAAMC,qBAAOF,SAAAA;AAEnBG,8BAAU,MAAA;AACRF,QAAIG,QAAQC,QAAAA;EACd,GAAG,CAAA,CAAE;AAEL,SAAO;AACT;;;ACpBMC,IAAAA,2BAA2B,CAACC,MAAmBC,cAAAA;AAInD,SAAOC,OAAOC,KAAKH,IAAAA,EAAMI,OAAO,CAACC,KAAKC,YAAAA;AACpCD,QAAI,GAAGJ,SAAAA,IAAYK,OAAQ,EAAC,IAAIN,KAAKM,OAAQ;AAC7C,WAAOD;EACT,GAAG,CAAA,CAAC;AACN;;;;;;;;;;;;;;;;;;;;;ACFA,IAAME,OAAO;AAGb,IAAA,QAAe;EACbC,SAASC,KAAQ;AACf,UAAM,EAAEC,WAAU,IAAKC,OAAOC;AAG9B,QAAIF,yCAAYG,SAAS,cAAc;AACrCJ,UAAIK,YAAY;QACdC,IAAI,WAAWC,QAAAA;QACfC,MAAMC;QACNC,WAAW;UACTC,IAAI,GAAGJ,QAAS;UAChBK,gBAAgBd;QAClB;QACAe,WAAW,YAAA;AACT,gBAAM,EAAEC,IAAG,IAAK,MAAM,OAAO,mBAAA;AAE7B,iBAAOA;QACT;MACF,CAAA;AACA,YAAMC,SAAS;QACbJ,IAAIJ;QACJS,aAAaC;QACbC,SAAS;QACTpB;MACF;AAEAE,UAAImB,eAAeJ,MAAAA;IACrB;EACF;EAEA,MAAMK,cAAcpB,KAAQ;AAC1B,UAAM,EAAEqB,QAAO,IAAKrB;AAEpB,UAAMsB,gBAAgB,MAAMC,QAAQC,IAClC,QAAmBC,IAAI,CAACC,WAAAA;AACtB,aAAO,kCAAO,kBAAkBA,MAAO,OAAM,EAC1CC,KAAK,CAAC,EAAEC,SAASC,KAAI,MAAE;AACtB,eAAO;UACLA,MAAMC,yBAAyBD,MAAMtB,QAAAA;UACrCmB;QACF;MACF,CAAA,EACCK,MAAM,MAAA;AACL,eAAO;UACLF,MAAM,CAAA;UACNH;QACF;MACF,CAAA;IACJ,CAAA,CAAA;AAGF,WAAOH,QAAQS,QAAQV,aAAAA;EACzB;AACF;",
"names": ["Initializer", "setPlugin", "ref", "useRef", "useEffect", "current", "pluginId", "prefixPluginTranslations", "trad", "pluginId", "Object", "keys", "reduce", "acc", "current", "name", "register", "app", "backendURL", "window", "strapi", "includes", "addMenuLink", "to", "pluginId", "icon", "Cloud", "intlLabel", "id", "defaultMessage", "Component", "App", "plugin", "initializer", "Initializer", "isReady", "registerPlugin", "registerTrads", "locales", "importedTrads", "Promise", "all", "map", "locale", "then", "default", "data", "prefixPluginTranslations", "catch", "resolve"]
}
@@ -0,0 +1,159 @@
import {
PERMISSIONS,
getTrad,
strapi
} from "./chunk-DJJSG3NG.js";
import "./chunk-PLDDJCW6.js";
// node_modules/@strapi/plugin-users-permissions/dist/admin/utils/prefixPluginTranslations.mjs
var prefixPluginTranslations = (trad, pluginId) => {
return Object.keys(trad).reduce((acc, current) => {
acc[`${pluginId}.${current}`] = trad[current];
return acc;
}, {});
};
// node_modules/@strapi/plugin-users-permissions/dist/admin/index.mjs
function __variableDynamicImportRuntime4__(path) {
switch (path) {
case "./translations/ar.json":
return import("./ar.json-UPUG6CGD.js");
case "./translations/cs.json":
return import("./cs.json-6UZPSKI6.js");
case "./translations/de.json":
return import("./de.json-2J65DPG4.js");
case "./translations/dk.json":
return import("./dk.json-R3KK6HRU.js");
case "./translations/en.json":
return import("./en.json-WJEGISUJ.js");
case "./translations/es.json":
return import("./es.json-HNSRZYML.js");
case "./translations/fr.json":
return import("./fr.json-EAETZVFF.js");
case "./translations/id.json":
return import("./id.json-44M764KQ.js");
case "./translations/it.json":
return import("./it.json-AXAYYBTP.js");
case "./translations/ja.json":
return import("./ja.json-JE5YGLSQ.js");
case "./translations/ko.json":
return import("./ko.json-DQW6EKF7.js");
case "./translations/ms.json":
return import("./ms.json-JFNQVPJW.js");
case "./translations/nl.json":
return import("./nl.json-NC3ALAM6.js");
case "./translations/pl.json":
return import("./pl.json-TR7CEJ7T.js");
case "./translations/pt-BR.json":
return import("./pt-BR.json-SVFSTQD3.js");
case "./translations/pt.json":
return import("./pt.json-G3LQKS26.js");
case "./translations/ru.json":
return import("./ru.json-SUGFRNNG.js");
case "./translations/sk.json":
return import("./sk.json-VLLP2PX6.js");
case "./translations/sv.json":
return import("./sv.json-MUCEN67I.js");
case "./translations/th.json":
return import("./th.json-Z7IVRZDL.js");
case "./translations/tr.json":
return import("./tr.json-MVASP7IY.js");
case "./translations/uk.json":
return import("./uk.json-LKRSQDU7.js");
case "./translations/vi.json":
return import("./vi.json-OW47P7JN.js");
case "./translations/zh-Hans.json":
return import("./zh-Hans.json-2QRDQ6QL.js");
case "./translations/zh.json":
return import("./zh.json-3XQQEU55.js");
default:
return new Promise(function(resolve, reject) {
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
);
});
}
}
var name = strapi.name;
var index = {
register(app) {
app.createSettingSection({
id: "users-permissions",
intlLabel: {
id: getTrad("Settings.section-label"),
defaultMessage: "Users & Permissions plugin"
}
}, [
{
intlLabel: {
id: "global.roles",
defaultMessage: "Roles"
},
id: "roles",
to: `users-permissions/roles`,
Component: () => import("./Roles-ALARUVVU.js"),
permissions: PERMISSIONS.accessRoles
},
{
intlLabel: {
id: getTrad("HeaderNav.link.providers"),
defaultMessage: "Providers"
},
id: "providers",
to: `users-permissions/providers`,
Component: () => import("./Providers-6F2OT3KD.js"),
permissions: PERMISSIONS.readProviders
},
{
intlLabel: {
id: getTrad("HeaderNav.link.emailTemplates"),
defaultMessage: "Email templates"
},
id: "email-templates",
to: `users-permissions/email-templates`,
Component: () => import("./EmailTemplates-3V4J4ZNO.js").then((mod) => ({
default: mod.ProtectedEmailTemplatesPage
})),
permissions: PERMISSIONS.readEmailTemplates
},
{
intlLabel: {
id: getTrad("HeaderNav.link.advancedSettings"),
defaultMessage: "Advanced Settings"
},
id: "advanced-settings",
to: `users-permissions/advanced-settings`,
Component: () => import("./AdvancedSettings-XGUBZOWK.js").then((mod) => ({
default: mod.ProtectedAdvancedSettingsPage
})),
permissions: PERMISSIONS.readAdvancedSettings
}
]);
app.registerPlugin({
id: "users-permissions",
name
});
},
bootstrap() {
},
async registerTrads({ locales }) {
const importedTrads = await Promise.all(locales.map((locale) => {
return __variableDynamicImportRuntime4__(`./translations/${locale}.json`).then(({ default: data }) => {
return {
data: prefixPluginTranslations(data, "users-permissions"),
locale
};
}).catch(() => {
return {
data: {},
locale
};
});
}));
return Promise.resolve(importedTrads);
}
};
export {
index as default
};
//# sourceMappingURL=@strapi_plugin-users-permissions_strapi-admin.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../@strapi/plugin-users-permissions/admin/src/utils/prefixPluginTranslations.js", "../../../@strapi/plugin-users-permissions/admin/src/index.js"],
"sourcesContent": ["const prefixPluginTranslations = (trad, pluginId) => {\n if (!pluginId) {\n throw new TypeError(\"pluginId can't be empty\");\n }\n\n return Object.keys(trad).reduce((acc, current) => {\n acc[`${pluginId}.${current}`] = trad[current];\n\n return acc;\n }, {});\n};\n\nexport { prefixPluginTranslations };\n", "import { strapi as pkgStrapi } from '../../package.json';\n\nimport { PERMISSIONS } from './constants';\nimport getTrad from './utils/getTrad';\nimport { prefixPluginTranslations } from './utils/prefixPluginTranslations';\n\nconst name = pkgStrapi.name;\n\nexport default {\n register(app) {\n // Create the plugin's settings section\n app.createSettingSection(\n {\n id: 'users-permissions',\n intlLabel: {\n id: getTrad('Settings.section-label'),\n defaultMessage: 'Users & Permissions plugin',\n },\n },\n [\n {\n intlLabel: {\n id: 'global.roles',\n defaultMessage: 'Roles',\n },\n id: 'roles',\n to: `users-permissions/roles`,\n Component: () => import('./pages/Roles'),\n permissions: PERMISSIONS.accessRoles,\n },\n {\n intlLabel: {\n id: getTrad('HeaderNav.link.providers'),\n defaultMessage: 'Providers',\n },\n id: 'providers',\n to: `users-permissions/providers`,\n Component: () => import('./pages/Providers'),\n permissions: PERMISSIONS.readProviders,\n },\n {\n intlLabel: {\n id: getTrad('HeaderNav.link.emailTemplates'),\n defaultMessage: 'Email templates',\n },\n id: 'email-templates',\n to: `users-permissions/email-templates`,\n Component: () =>\n import('./pages/EmailTemplates').then((mod) => ({\n default: mod.ProtectedEmailTemplatesPage,\n })),\n permissions: PERMISSIONS.readEmailTemplates,\n },\n {\n intlLabel: {\n id: getTrad('HeaderNav.link.advancedSettings'),\n defaultMessage: 'Advanced Settings',\n },\n id: 'advanced-settings',\n to: `users-permissions/advanced-settings`,\n Component: () =>\n import('./pages/AdvancedSettings').then((mod) => ({\n default: mod.ProtectedAdvancedSettingsPage,\n })),\n permissions: PERMISSIONS.readAdvancedSettings,\n },\n ]\n );\n\n app.registerPlugin({\n id: 'users-permissions',\n name,\n });\n },\n bootstrap() {},\n async registerTrads({ locales }) {\n const importedTrads = await Promise.all(\n locales.map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, 'users-permissions'),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],
"mappings": ";;;;;;;;AAAMA,IAAAA,2BAA2B,CAACC,MAAMC,aAAAA;AAKtC,SAAOC,OAAOC,KAAKH,IAAAA,EAAMI,OAAO,CAACC,KAAKC,YAAAA;AACpCD,QAAI,GAAGJ,QAAAA,IAAYK,OAAQ,EAAC,IAAIN,KAAKM,OAAQ;AAE7C,WAAOD;EACT,GAAG,CAAA,CAAC;AACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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G,MAAM,MAAA;AACL,eAAO;UACLF,MAAM,CAAA;UACND;QACF;MACF,CAAA;IACJ,CAAA,CAAA;AAGF,WAAOH,QAAQO,QAAQR,aAAAA;EACzB;AACF;",
"names": ["prefixPluginTranslations", "trad", "pluginId", "Object", "keys", "reduce", "acc", "current", "name", "pkgStrapi", "register", "app", "createSettingSection", "id", "intlLabel", "getTrad", "defaultMessage", "to", "Component", "permissions", "PERMISSIONS", "accessRoles", "readProviders", "then", "mod", "default", "ProtectedEmailTemplatesPage", "readEmailTemplates", "ProtectedAdvancedSettingsPage", "readAdvancedSettings", "registerPlugin", "bootstrap", "registerTrads", "locales", "importedTrads", "Promise", "all", "map", "locale", "data", "prefixPluginTranslations", "catch", "resolve"]
}
+225
View File
@@ -0,0 +1,225 @@
import {
render
} from "./chunk-AOWI4JYR.js";
import "./chunk-KGPWUC7Q.js";
import "./chunk-FVEHK4NK.js";
import "./chunk-C4NW23D7.js";
import "./chunk-E3IW2VDN.js";
import "./chunk-MN3D3XJI.js";
import "./chunk-C7H2BX76.js";
import "./chunk-U66AL5Y5.js";
import "./chunk-7KYK3FTC.js";
import "./chunk-JF4AI5LV.js";
import "./chunk-ALMC553V.js";
import "./chunk-PDGPTUUZ.js";
import "./chunk-XH2B3RAH.js";
import "./chunk-MLTBQQQV.js";
import {
useDocumentActions,
useDocumentRBAC
} from "./chunk-GXKJFURG.js";
import "./chunk-7FUKGPNR.js";
import "./chunk-NAZM6EA4.js";
import {
useContentManagerContext,
useDocument,
useDocumentLayout
} from "./chunk-UATNJIHQ.js";
import "./chunk-P4VL3IHZ.js";
import "./chunk-HIZVCZYI.js";
import {
AutoReloadOverlayBlockerProvider,
useAutoReloadOverlayBlocker
} from "./chunk-7HX4OIS5.js";
import "./chunk-6LY4MOO2.js";
import "./chunk-SQLDXQZE.js";
import {
DescriptionComponentRenderer,
useInjectReducer
} from "./chunk-QF6GPHA4.js";
import "./chunk-SYWYLB7I.js";
import "./chunk-S3HPKOXW.js";
import "./chunk-JRLAXHTE.js";
import {
Widget
} from "./chunk-E4IFZ6ZT.js";
import "./chunk-XNACAI67.js";
import "./chunk-QLEKUQKW.js";
import "./chunk-4J3VOWQV.js";
import {
useGuidedTour
} from "./chunk-PFI4R5WA.js";
import "./chunk-G2UWKDMB.js";
import "./chunk-B3BGMYGX.js";
import "./chunk-W6ICJ5TB.js";
import "./chunk-IHYIPMY2.js";
import "./chunk-UWHSN2C7.js";
import "./chunk-ERK7O2GM.js";
import {
useFetchClient
} from "./chunk-FCIM6RNO.js";
import {
SearchInput
} from "./chunk-J33IXKN4.js";
import {
ConfirmDialog
} from "./chunk-NP53ZCXD.js";
import "./chunk-KFLQQE5L.js";
import "./chunk-ED4XR3VQ.js";
import "./chunk-MBK4V2X7.js";
import "./chunk-YJEURQPS.js";
import "./chunk-5ESYXDTN.js";
import "./chunk-GGK2TLCV.js";
import "./chunk-K65KIEAL.js";
import "./chunk-B7ZLODDO.js";
import "./chunk-PW7XKCYO.js";
import "./chunk-RMBEU7DO.js";
import "./chunk-RI2W2UZ6.js";
import {
BackButton,
useHistory
} from "./chunk-IY256CNP.js";
import {
errorsTrads
} from "./chunk-IFOFBKTA.js";
import "./chunk-XLSIZGJF.js";
import "./chunk-EGNP2T5O.js";
import {
useAppInfo,
useTracking
} from "./chunk-GSN7U3BK.js";
import "./chunk-T3B5F2LV.js";
import "./chunk-YXDCVYVT.js";
import "./chunk-QIJGNK42.js";
import {
ContentBox,
useClipboard
} from "./chunk-7PUJSL55.js";
import "./chunk-C2ZJTFO7.js";
import {
Filters
} from "./chunk-C75BZXCZ.js";
import {
Pagination
} from "./chunk-APGTER6B.js";
import {
Table,
useTable
} from "./chunk-ZM6TT53G.js";
import {
MemoizedInputRenderer,
useFocusInputField
} from "./chunk-6AXVGFVQ.js";
import {
Blocker,
Form,
getYupValidationErrors,
useField,
useForm
} from "./chunk-BFLP6DBI.js";
import {
useRBAC
} from "./chunk-CMLQV3Z2.js";
import "./chunk-D4WYVNVM.js";
import "./chunk-MMOBCIZG.js";
import {
useAdminUsers
} from "./chunk-IGCTEXRF.js";
import {
Layouts,
useElementOnScreen
} from "./chunk-TIVRAWTC.js";
import "./chunk-PQINNV4N.js";
import "./chunk-VYSYYPOB.js";
import {
Page,
useAPIErrorHandler
} from "./chunk-5CAWUBTQ.js";
import {
useAuth,
useQueryParams,
useStrapiApp
} from "./chunk-W2TBR6J3.js";
import "./chunk-QEGMJR7H.js";
import {
FetchError,
adminApi,
fetchBaseQuery,
getFetchClient,
isBaseQueryError,
isFetchError
} from "./chunk-LCL5TIBZ.js";
import "./chunk-WOQNBAGN.js";
import "./chunk-BHLYCXQ7.js";
import {
createContext
} from "./chunk-76QM3EFM.js";
import "./chunk-CE4VABH2.js";
import "./chunk-5VODLFKF.js";
import {
NotificationsProvider,
useNotification
} from "./chunk-N55RVBRV.js";
import "./chunk-7XB6XSWQ.js";
import "./chunk-5ZC4PE57.js";
import "./chunk-TUXTO2Z5.js";
import "./chunk-FOD4ENRR.js";
import "./chunk-WRD5KPDH.js";
import "./chunk-NIAJZ5MX.js";
import "./chunk-ACIMPXWY.js";
import "./chunk-MADUDGYZ.js";
import "./chunk-PLDDJCW6.js";
export {
BackButton,
Blocker,
ConfirmDialog,
ContentBox,
DescriptionComponentRenderer,
FetchError,
Filters,
Form,
MemoizedInputRenderer as InputRenderer,
Layouts,
NotificationsProvider,
Page,
Pagination,
SearchInput,
Table,
Widget,
adminApi,
createContext,
fetchBaseQuery,
getFetchClient,
getYupValidationErrors,
isBaseQueryError,
isFetchError,
AutoReloadOverlayBlockerProvider as private_AutoReloadOverlayBlockerProvider,
useAutoReloadOverlayBlocker as private_useAutoReloadOverlayBlocker,
render as renderAdmin,
errorsTrads as translatedErrors,
useContentManagerContext as unstable_useContentManagerContext,
useDocument as unstable_useDocument,
useDocumentActions as unstable_useDocumentActions,
useDocumentLayout as unstable_useDocumentLayout,
useAPIErrorHandler,
useAdminUsers,
useAppInfo,
useAuth,
useClipboard,
useDocumentRBAC,
useElementOnScreen,
useFetchClient,
useField,
useFocusInputField,
useForm,
useGuidedTour,
useHistory,
useInjectReducer,
useNotification,
useQueryParams,
useRBAC,
useStrapiApp,
useTable,
useTracking
};
//# sourceMappingURL=@strapi_strapi_admin.js.map
+7
View File
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}
+138
View File
@@ -0,0 +1,138 @@
import {
selectAdminPermissions
} from "./chunk-6HMBNYS4.js";
import {
useLicenseLimits
} from "./chunk-G2UWKDMB.js";
import "./chunk-T3B5F2LV.js";
import "./chunk-YXDCVYVT.js";
import {
useRBAC
} from "./chunk-CMLQV3Z2.js";
import "./chunk-PQINNV4N.js";
import "./chunk-VYSYYPOB.js";
import "./chunk-W2TBR6J3.js";
import "./chunk-QEGMJR7H.js";
import "./chunk-LCL5TIBZ.js";
import {
useSelector
} from "./chunk-WOQNBAGN.js";
import "./chunk-76QM3EFM.js";
import "./chunk-CE4VABH2.js";
import "./chunk-5VODLFKF.js";
import {
Flex,
Grid,
Link,
TooltipImpl,
Typography,
useIntl
} from "./chunk-7XB6XSWQ.js";
import "./chunk-TUXTO2Z5.js";
import "./chunk-FOD4ENRR.js";
import {
ForwardRef$3,
ForwardRef$3F
} from "./chunk-WRD5KPDH.js";
import {
require_jsx_runtime
} from "./chunk-NIAJZ5MX.js";
import "./chunk-ACIMPXWY.js";
import "./chunk-MADUDGYZ.js";
import {
__toESM
} from "./chunk-PLDDJCW6.js";
// node_modules/@strapi/admin/dist/admin/ee/admin/src/pages/SettingsPage/pages/ApplicationInfoPage/components/AdminSeatInfo.mjs
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
var BILLING_SELF_HOSTED_URL = "https://strapi.io/billing/request-seats";
var MANAGE_SEATS_URL = "https://strapi.io/billing/manage-seats";
var AdminSeatInfoEE = () => {
const { formatMessage } = useIntl();
const { settings } = useSelector(selectAdminPermissions);
const { isLoading: isRBACLoading, allowedActions: { canRead, canCreate, canUpdate, canDelete } } = useRBAC((settings == null ? void 0 : settings.users) ?? {});
const { license, isError, isLoading: isLicenseLoading } = useLicenseLimits({
// TODO: this creates a waterfall which we should avoid to render earlier, but for that
// we will have to move away from data-fetching hooks to query functions.
// Short-term we could at least implement a loader, for the user to have visual feedback
// in case the requests take a while
enabled: !isRBACLoading && canRead && canCreate && canUpdate && canDelete
});
const isLoading = isRBACLoading || isLicenseLoading;
if (isError || isLoading || !license) {
return null;
}
const { licenseLimitStatus, enforcementUserCount, permittedSeats, type } = license;
if (!permittedSeats) {
return null;
}
return (0, import_jsx_runtime.jsxs)(Grid.Item, {
col: 6,
s: 12,
direction: "column",
alignItems: "stretch",
children: [
(0, import_jsx_runtime.jsx)(Typography, {
variant: "sigma",
textColor: "neutral600",
children: formatMessage({
id: "Settings.application.admin-seats",
defaultMessage: "Admin seats"
})
}),
(0, import_jsx_runtime.jsxs)(Flex, {
gap: 2,
children: [
(0, import_jsx_runtime.jsx)(Flex, {
children: (0, import_jsx_runtime.jsx)(Typography, {
tag: "p",
children: formatMessage({
id: "Settings.application.ee.admin-seats.count",
defaultMessage: "<text>{enforcementUserCount}</text>/{permittedSeats}"
}, {
permittedSeats,
enforcementUserCount,
text: (chunks) => (0, import_jsx_runtime.jsx)(Typography, {
fontWeight: "semiBold",
textColor: enforcementUserCount > permittedSeats ? "danger500" : void 0,
children: chunks
})
})
})
}),
licenseLimitStatus === "OVER_LIMIT" && (0, import_jsx_runtime.jsx)(TooltipImpl, {
label: formatMessage({
id: "Settings.application.ee.admin-seats.at-limit-tooltip",
defaultMessage: "At limit: add seats to invite more users"
}),
children: (0, import_jsx_runtime.jsx)(ForwardRef$3, {
width: "1.4rem",
height: "1.4rem",
fill: "danger500"
})
})
]
}),
type === "gold" ? (0, import_jsx_runtime.jsx)(Link, {
href: BILLING_SELF_HOSTED_URL,
endIcon: (0, import_jsx_runtime.jsx)(ForwardRef$3F, {}),
children: formatMessage({
id: "Settings.application.ee.admin-seats.support",
defaultMessage: "Contact sales"
})
}) : (0, import_jsx_runtime.jsx)(Link, {
href: MANAGE_SEATS_URL,
isExternal: true,
endIcon: (0, import_jsx_runtime.jsx)(ForwardRef$3F, {}),
children: formatMessage({
id: "Settings.application.ee.admin-seats.add-seats",
defaultMessage: "Manage seats"
})
})
]
});
};
export {
AdminSeatInfoEE
};
//# sourceMappingURL=AdminSeatInfo-6OY4OYIE.js.map
+7
View File
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../@strapi/admin/ee/admin/src/pages/SettingsPage/pages/ApplicationInfoPage/components/AdminSeatInfo.tsx"],
"sourcesContent": ["import { Flex, Tooltip, Typography, Link, Grid } from '@strapi/design-system';\nimport { ExternalLink, WarningCircle } from '@strapi/icons';\nimport { useIntl } from 'react-intl';\nimport { useSelector } from 'react-redux';\n\nimport { useRBAC } from '../../../../../../../../admin/src/hooks/useRBAC';\nimport { selectAdminPermissions } from '../../../../../../../../admin/src/selectors';\nimport { useLicenseLimits } from '../../../../../hooks/useLicenseLimits';\n\nconst BILLING_SELF_HOSTED_URL = 'https://strapi.io/billing/request-seats';\nconst MANAGE_SEATS_URL = 'https://strapi.io/billing/manage-seats';\n\nexport const AdminSeatInfoEE = () => {\n const { formatMessage } = useIntl();\n const { settings } = useSelector(selectAdminPermissions);\n const {\n isLoading: isRBACLoading,\n allowedActions: { canRead, canCreate, canUpdate, canDelete },\n } = useRBAC(settings?.users ?? {});\n const {\n license,\n isError,\n isLoading: isLicenseLoading,\n } = useLicenseLimits({\n // TODO: this creates a waterfall which we should avoid to render earlier, but for that\n // we will have to move away from data-fetching hooks to query functions.\n // Short-term we could at least implement a loader, for the user to have visual feedback\n // in case the requests take a while\n enabled: !isRBACLoading && canRead && canCreate && canUpdate && canDelete,\n });\n\n const isLoading = isRBACLoading || isLicenseLoading;\n\n if (isError || isLoading || !license) {\n return null;\n }\n\n const { licenseLimitStatus, enforcementUserCount, permittedSeats, type } = license;\n\n if (!permittedSeats) {\n return null;\n }\n\n return (\n <Grid.Item col={6} s={12} direction=\"column\" alignItems=\"stretch\">\n <Typography variant=\"sigma\" textColor=\"neutral600\">\n {formatMessage({\n id: 'Settings.application.admin-seats',\n defaultMessage: 'Admin seats',\n })}\n </Typography>\n <Flex gap={2}>\n <Flex>\n <Typography tag=\"p\">\n {formatMessage(\n {\n id: 'Settings.application.ee.admin-seats.count',\n defaultMessage: '<text>{enforcementUserCount}</text>/{permittedSeats}',\n },\n {\n permittedSeats,\n enforcementUserCount,\n text: (chunks) =>\n (\n <Typography\n fontWeight=\"semiBold\"\n textColor={enforcementUserCount > permittedSeats ? 'danger500' : undefined}\n >\n {chunks}\n </Typography>\n ) as any,\n }\n )}\n </Typography>\n </Flex>\n {licenseLimitStatus === 'OVER_LIMIT' && (\n <Tooltip\n label={formatMessage({\n id: 'Settings.application.ee.admin-seats.at-limit-tooltip',\n defaultMessage: 'At limit: add seats to invite more users',\n })}\n >\n <WarningCircle width=\"1.4rem\" height=\"1.4rem\" fill=\"danger500\" />\n </Tooltip>\n )}\n </Flex>\n {type === 'gold' ? (\n <Link href={BILLING_SELF_HOSTED_URL} endIcon={<ExternalLink />}>\n {formatMessage({\n id: 'Settings.application.ee.admin-seats.support',\n defaultMessage: 'Contact sales',\n })}\n </Link>\n ) : (\n <Link href={MANAGE_SEATS_URL} isExternal endIcon={<ExternalLink />}>\n {formatMessage({\n id: 'Settings.application.ee.admin-seats.add-seats',\n defaultMessage: 'Manage seats',\n })}\n </Link>\n )}\n </Grid.Item>\n );\n};\n"],
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,IAAMA,0BAA0B;AAChC,IAAMC,mBAAmB;IAEZC,kBAAkB,MAAA;AAC7B,QAAM,EAAEC,cAAa,IAAKC,QAAAA;AAC1B,QAAM,EAAEC,SAAQ,IAAKC,YAAYC,sBAAAA;AACjC,QAAM,EACJC,WAAWC,eACXC,gBAAgB,EAAEC,SAASC,WAAWC,WAAWC,UAAS,EAAE,IAC1DC,SAAQ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sB,eAAAA,CAAAA,CAAAA;kBAChDpD,cAAc;UACbkC,IAAI;UACJC,gBAAgB;QAClB,CAAA;;;;AAKV;",
"names": ["BILLING_SELF_HOSTED_URL", "MANAGE_SEATS_URL", "AdminSeatInfoEE", "formatMessage", "useIntl", "settings", "useSelector", "selectAdminPermissions", "isLoading", "isRBACLoading", "allowedActions", "canRead", "canCreate", "canUpdate", "canDelete", "useRBAC", "users", "license", "isError", "isLicenseLoading", "useLicenseLimits", "enabled", "licenseLimitStatus", "enforcementUserCount", "permittedSeats", "type", "_jsxs", "Grid", "Item", "col", "s", "direction", "alignItems", "_jsx", "Typography", "variant", "textColor", "id", "defaultMessage", "Flex", "gap", "tag", "text", "chunks", "fontWeight", "undefined", "Tooltip", "label", "WarningCircle", "width", "height", "fill", "Link", "href", "endIcon", "ExternalLink", "isExternal"]
}
+419
View File
@@ -0,0 +1,419 @@
import "./chunk-AOWI4JYR.js";
import "./chunk-KGPWUC7Q.js";
import "./chunk-FVEHK4NK.js";
import "./chunk-C4NW23D7.js";
import "./chunk-E3IW2VDN.js";
import "./chunk-MN3D3XJI.js";
import "./chunk-C7H2BX76.js";
import "./chunk-U66AL5Y5.js";
import "./chunk-7KYK3FTC.js";
import "./chunk-JF4AI5LV.js";
import "./chunk-ALMC553V.js";
import "./chunk-PDGPTUUZ.js";
import "./chunk-XH2B3RAH.js";
import "./chunk-MLTBQQQV.js";
import "./chunk-GXKJFURG.js";
import "./chunk-7FUKGPNR.js";
import "./chunk-NAZM6EA4.js";
import "./chunk-UATNJIHQ.js";
import "./chunk-P4VL3IHZ.js";
import "./chunk-HIZVCZYI.js";
import "./chunk-7HX4OIS5.js";
import "./chunk-6LY4MOO2.js";
import "./chunk-SQLDXQZE.js";
import "./chunk-QF6GPHA4.js";
import "./chunk-SYWYLB7I.js";
import "./chunk-S3HPKOXW.js";
import "./chunk-JRLAXHTE.js";
import "./chunk-E4IFZ6ZT.js";
import "./chunk-XNACAI67.js";
import {
useMutation,
useQuery,
useQueryClient
} from "./chunk-QLEKUQKW.js";
import "./chunk-4J3VOWQV.js";
import "./chunk-PFI4R5WA.js";
import "./chunk-G2UWKDMB.js";
import "./chunk-B3BGMYGX.js";
import "./chunk-W6ICJ5TB.js";
import "./chunk-IHYIPMY2.js";
import "./chunk-UWHSN2C7.js";
import "./chunk-ERK7O2GM.js";
import {
useFetchClient
} from "./chunk-FCIM6RNO.js";
import "./chunk-J33IXKN4.js";
import "./chunk-NP53ZCXD.js";
import "./chunk-KFLQQE5L.js";
import "./chunk-ED4XR3VQ.js";
import "./chunk-MBK4V2X7.js";
import {
require_isEmpty
} from "./chunk-YJEURQPS.js";
import "./chunk-5ESYXDTN.js";
import "./chunk-GGK2TLCV.js";
import "./chunk-K65KIEAL.js";
import "./chunk-B7ZLODDO.js";
import "./chunk-PW7XKCYO.js";
import "./chunk-RMBEU7DO.js";
import "./chunk-RI2W2UZ6.js";
import "./chunk-IY256CNP.js";
import {
errorsTrads
} from "./chunk-IFOFBKTA.js";
import {
create2 as create,
create4 as create2,
create6 as create3
} from "./chunk-XLSIZGJF.js";
import "./chunk-EGNP2T5O.js";
import "./chunk-GSN7U3BK.js";
import "./chunk-T3B5F2LV.js";
import "./chunk-YXDCVYVT.js";
import "./chunk-QIJGNK42.js";
import "./chunk-7PUJSL55.js";
import "./chunk-C2ZJTFO7.js";
import "./chunk-C75BZXCZ.js";
import "./chunk-APGTER6B.js";
import "./chunk-ZM6TT53G.js";
import {
MemoizedInputRenderer
} from "./chunk-6AXVGFVQ.js";
import {
Form
} from "./chunk-BFLP6DBI.js";
import {
useRBAC
} from "./chunk-CMLQV3Z2.js";
import "./chunk-D4WYVNVM.js";
import "./chunk-MMOBCIZG.js";
import "./chunk-IGCTEXRF.js";
import {
Layouts
} from "./chunk-TIVRAWTC.js";
import "./chunk-PQINNV4N.js";
import "./chunk-VYSYYPOB.js";
import {
Page,
useAPIErrorHandler
} from "./chunk-5CAWUBTQ.js";
import "./chunk-W2TBR6J3.js";
import "./chunk-QEGMJR7H.js";
import "./chunk-LCL5TIBZ.js";
import "./chunk-WOQNBAGN.js";
import "./chunk-BHLYCXQ7.js";
import "./chunk-76QM3EFM.js";
import "./chunk-CE4VABH2.js";
import "./chunk-5VODLFKF.js";
import {
useNotification
} from "./chunk-N55RVBRV.js";
import {
Box,
Button,
Flex,
Grid,
Typography,
useIntl,
useNotifyAT
} from "./chunk-7XB6XSWQ.js";
import "./chunk-5ZC4PE57.js";
import "./chunk-TUXTO2Z5.js";
import "./chunk-FOD4ENRR.js";
import {
ForwardRef$4F
} from "./chunk-WRD5KPDH.js";
import {
require_jsx_runtime
} from "./chunk-NIAJZ5MX.js";
import "./chunk-ACIMPXWY.js";
import {
require_react
} from "./chunk-MADUDGYZ.js";
import {
PERMISSIONS,
getTrad
} from "./chunk-DJJSG3NG.js";
import {
__toESM
} from "./chunk-PLDDJCW6.js";
// node_modules/@strapi/plugin-users-permissions/dist/admin/pages/AdvancedSettings/index.mjs
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
var import_react = __toESM(require_react(), 1);
var import_isEmpty2 = __toESM(require_isEmpty(), 1);
// node_modules/@strapi/plugin-users-permissions/dist/admin/pages/AdvancedSettings/utils/layout.mjs
var import_isEmpty = __toESM(require_isEmpty(), 1);
var layout = [
{
label: {
id: getTrad("EditForm.inputToggle.label.email"),
defaultMessage: "One account per email address"
},
hint: {
id: getTrad("EditForm.inputToggle.description.email"),
defaultMessage: "Disallow the user to create multiple accounts using the same email address with different authentication providers."
},
name: "unique_email",
type: "boolean",
size: 12
},
{
label: {
id: getTrad("EditForm.inputToggle.label.sign-up"),
defaultMessage: "Enable sign-ups"
},
hint: {
id: getTrad("EditForm.inputToggle.description.sign-up"),
defaultMessage: "When disabled (OFF), the registration process is forbidden. No one can subscribe anymore no matter the used provider."
},
name: "allow_register",
type: "boolean",
size: 12
},
{
label: {
id: getTrad("EditForm.inputToggle.label.email-reset-password"),
defaultMessage: "Reset password page"
},
hint: {
id: getTrad("EditForm.inputToggle.description.email-reset-password"),
defaultMessage: "URL of your application's reset password page."
},
placeholder: {
id: getTrad("EditForm.inputToggle.placeholder.email-reset-password"),
defaultMessage: "ex: https://youtfrontend.com/reset-password"
},
name: "email_reset_password",
type: "string",
size: 12
},
{
label: {
id: getTrad("EditForm.inputToggle.label.email-confirmation"),
defaultMessage: "Enable email confirmation"
},
hint: {
id: getTrad("EditForm.inputToggle.description.email-confirmation"),
defaultMessage: "When enabled (ON), new registered users receive a confirmation email."
},
name: "email_confirmation",
type: "boolean",
size: 12
},
{
label: {
id: getTrad("EditForm.inputToggle.label.email-confirmation-redirection"),
defaultMessage: "Redirection url"
},
hint: {
id: getTrad("EditForm.inputToggle.description.email-confirmation-redirection"),
defaultMessage: "After you confirmed your email, choose where you will be redirected."
},
placeholder: {
id: getTrad("EditForm.inputToggle.placeholder.email-confirmation-redirection"),
defaultMessage: "ex: https://youtfrontend.com/email-confirmation"
},
name: "email_confirmation_redirection",
type: "string",
size: 12
}
];
// node_modules/@strapi/plugin-users-permissions/dist/admin/pages/AdvancedSettings/utils/schema.mjs
var URL_REGEX = new RegExp("(^$)|((.+:\\/\\/.*)(d*)\\/?(.*))");
var schema = create3().shape({
email_confirmation_redirection: create().when("email_confirmation", {
is: true,
then: create2().matches(URL_REGEX).required(),
otherwise: create2().nullable()
}),
email_reset_password: create2(errorsTrads.string).matches(URL_REGEX, {
id: errorsTrads.regex.id,
defaultMessage: "This is not a valid URL"
}).nullable()
});
// node_modules/@strapi/plugin-users-permissions/dist/admin/pages/AdvancedSettings/index.mjs
var ProtectedAdvancedSettingsPage = () => (0, import_jsx_runtime.jsx)(Page.Protect, {
permissions: PERMISSIONS.readAdvancedSettings,
children: (0, import_jsx_runtime.jsx)(AdvancedSettingsPage, {})
});
var AdvancedSettingsPage = () => {
const { formatMessage } = useIntl();
const { toggleNotification } = useNotification();
const { notifyStatus } = useNotifyAT();
const queryClient = useQueryClient();
const { get, put } = useFetchClient();
const { formatAPIError } = useAPIErrorHandler();
const { isLoading: isLoadingForPermissions, allowedActions: { canUpdate } } = useRBAC({
update: PERMISSIONS.updateAdvancedSettings
});
const { isLoading: isLoadingData, data } = useQuery([
"users-permissions",
"advanced"
], async () => {
const { data: data2 } = await get("/users-permissions/advanced");
return data2;
}, {
onSuccess() {
notifyStatus(formatMessage({
id: getTrad("Form.advancedSettings.data.loaded"),
defaultMessage: "Advanced settings data has been loaded"
}));
},
onError() {
toggleNotification({
type: "danger",
message: formatMessage({
id: getTrad("notification.error"),
defaultMessage: "An error occured"
})
});
}
});
const isLoading = isLoadingForPermissions || isLoadingData;
const submitMutation = useMutation((body) => put("/users-permissions/advanced", body), {
async onSuccess() {
await queryClient.invalidateQueries([
"users-permissions",
"advanced"
]);
toggleNotification({
type: "success",
message: formatMessage({
id: getTrad("notification.success.saved"),
defaultMessage: "Saved"
})
});
},
onError(error) {
toggleNotification({
type: "danger",
message: formatAPIError(error)
});
},
refetchActive: true
});
const { isLoading: isSubmittingForm } = submitMutation;
const handleSubmit = async (body) => {
submitMutation.mutate({
...body,
email_confirmation_redirection: body.email_confirmation ? body.email_confirmation_redirection : ""
});
};
if (isLoading) {
return (0, import_jsx_runtime.jsx)(Page.Loading, {});
}
return (0, import_jsx_runtime.jsxs)(Page.Main, {
"aria-busy": isSubmittingForm,
children: [
(0, import_jsx_runtime.jsx)(Page.Title, {
children: formatMessage({
id: "Settings.PageTitle",
defaultMessage: "Settings - {name}"
}, {
name: formatMessage({
id: getTrad("HeaderNav.link.advancedSettings"),
defaultMessage: "Advanced Settings"
})
})
}),
(0, import_jsx_runtime.jsx)(Form, {
onSubmit: handleSubmit,
initialValues: data.settings,
validationSchema: schema,
children: ({ values, isSubmitting, modified }) => {
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
children: [
(0, import_jsx_runtime.jsx)(Layouts.Header, {
title: formatMessage({
id: getTrad("HeaderNav.link.advancedSettings"),
defaultMessage: "Advanced Settings"
}),
primaryAction: (0, import_jsx_runtime.jsx)(Button, {
loading: isSubmitting,
type: "submit",
disabled: !modified || !canUpdate,
startIcon: (0, import_jsx_runtime.jsx)(ForwardRef$4F, {}),
size: "S",
children: formatMessage({
id: "global.save",
defaultMessage: "Save"
})
})
}),
(0, import_jsx_runtime.jsx)(Layouts.Content, {
children: (0, import_jsx_runtime.jsx)(Box, {
background: "neutral0",
hasRadius: true,
shadow: "filterShadow",
paddingTop: 6,
paddingBottom: 6,
paddingLeft: 7,
paddingRight: 7,
children: (0, import_jsx_runtime.jsxs)(Flex, {
direction: "column",
alignItems: "stretch",
gap: 4,
children: [
(0, import_jsx_runtime.jsx)(Typography, {
variant: "delta",
tag: "h2",
children: formatMessage({
id: "global.settings",
defaultMessage: "Settings"
})
}),
(0, import_jsx_runtime.jsx)(Grid.Root, {
gap: 6,
children: [
{
label: {
id: getTrad("EditForm.inputSelect.label.role"),
defaultMessage: "Default role for authenticated users"
},
hint: {
id: getTrad("EditForm.inputSelect.description.role"),
defaultMessage: "It will attach the new authenticated user to the selected role."
},
options: data.roles.map((role) => ({
label: role.name,
value: role.type
})),
name: "default_role",
size: 6,
type: "enumeration"
},
...layout
].map(({ size, ...field }) => (0, import_jsx_runtime.jsx)(Grid.Item, {
col: size,
direction: "column",
alignItems: "stretch",
children: (0, import_jsx_runtime.jsx)(MemoizedInputRenderer, {
...field,
disabled: field.name === "email_confirmation_redirection" && values.email_confirmation === false,
label: formatMessage(field.label),
hint: field.hint ? formatMessage(field.hint) : void 0,
placeholder: field.placeholder ? formatMessage(field.placeholder) : void 0
})
}, field.name))
})
]
})
})
})
]
});
}
})
]
});
};
export {
AdvancedSettingsPage,
ProtectedAdvancedSettingsPage
};
//# sourceMappingURL=AdvancedSettings-XGUBZOWK.js.map
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../@strapi/plugin-users-permissions/admin/src/pages/AdvancedSettings/utils/layout.js", "../../../@strapi/plugin-users-permissions/admin/src/pages/AdvancedSettings/utils/schema.js", "../../../@strapi/plugin-users-permissions/admin/src/pages/AdvancedSettings/index.jsx"],
"sourcesContent": ["import { getTrad } from '../../../utils';\n\nconst layout = [\n {\n label: {\n id: getTrad('EditForm.inputToggle.label.email'),\n defaultMessage: 'One account per email address',\n },\n hint: {\n id: getTrad('EditForm.inputToggle.description.email'),\n defaultMessage:\n 'Disallow the user to create multiple accounts using the same email address with different authentication providers.',\n },\n name: 'unique_email',\n type: 'boolean',\n size: 12,\n },\n {\n label: {\n id: getTrad('EditForm.inputToggle.label.sign-up'),\n defaultMessage: 'Enable sign-ups',\n },\n hint: {\n id: getTrad('EditForm.inputToggle.description.sign-up'),\n defaultMessage:\n 'When disabled (OFF), the registration process is forbidden. No one can subscribe anymore no matter the used provider.',\n },\n name: 'allow_register',\n type: 'boolean',\n size: 12,\n },\n {\n label: {\n id: getTrad('EditForm.inputToggle.label.email-reset-password'),\n defaultMessage: 'Reset password page',\n },\n hint: {\n id: getTrad('EditForm.inputToggle.description.email-reset-password'),\n defaultMessage: \"URL of your application's reset password page.\",\n },\n placeholder: {\n id: getTrad('EditForm.inputToggle.placeholder.email-reset-password'),\n defaultMessage: 'ex: https://youtfrontend.com/reset-password',\n },\n name: 'email_reset_password',\n type: 'string',\n size: 12,\n },\n {\n label: {\n id: getTrad('EditForm.inputToggle.label.email-confirmation'),\n defaultMessage: 'Enable email confirmation',\n },\n hint: {\n id: getTrad('EditForm.inputToggle.description.email-confirmation'),\n defaultMessage: 'When enabled (ON), new registered users receive a confirmation email.',\n },\n name: 'email_confirmation',\n type: 'boolean',\n size: 12,\n },\n {\n label: {\n id: getTrad('EditForm.inputToggle.label.email-confirmation-redirection'),\n defaultMessage: 'Redirection url',\n },\n hint: {\n id: getTrad('EditForm.inputToggle.description.email-confirmation-redirection'),\n defaultMessage: 'After you confirmed your email, choose where you will be redirected.',\n },\n placeholder: {\n id: getTrad('EditForm.inputToggle.placeholder.email-confirmation-redirection'),\n defaultMessage: 'ex: https://youtfrontend.com/email-confirmation',\n },\n name: 'email_confirmation_redirection',\n type: 'string',\n size: 12,\n },\n];\n\nexport default layout;\n", "import { translatedErrors } from '@strapi/strapi/admin';\nimport * as yup from 'yup';\n\n// eslint-disable-next-line prefer-regex-literals\nconst URL_REGEX = new RegExp('(^$)|((.+:\\\\/\\\\/.*)(d*)\\\\/?(.*))');\n\nconst schema = yup.object().shape({\n email_confirmation_redirection: yup.mixed().when('email_confirmation', {\n is: true,\n then: yup.string().matches(URL_REGEX).required(),\n otherwise: yup.string().nullable(),\n }),\n email_reset_password: yup\n .string(translatedErrors.string)\n .matches(URL_REGEX, {\n id: translatedErrors.regex.id,\n defaultMessage: 'This is not a valid URL',\n })\n .nullable(),\n});\n\nexport default schema;\n", "import * as React from 'react';\n\nimport { Box, Button, Flex, Grid, Typography, useNotifyAT } from '@strapi/design-system';\nimport { Check } from '@strapi/icons';\nimport {\n useAPIErrorHandler,\n Page,\n Form,\n InputRenderer,\n useNotification,\n useFetchClient,\n useRBAC,\n Layouts,\n} from '@strapi/strapi/admin';\nimport { useIntl } from 'react-intl';\nimport { useMutation, useQuery, useQueryClient } from 'react-query';\n\nimport { PERMISSIONS } from '../../constants';\nimport { getTrad } from '../../utils';\n\nimport layout from './utils/layout';\nimport schema from './utils/schema';\n\nconst ProtectedAdvancedSettingsPage = () => (\n <Page.Protect permissions={PERMISSIONS.readAdvancedSettings}>\n <AdvancedSettingsPage />\n </Page.Protect>\n);\n\nconst AdvancedSettingsPage = () => {\n const { formatMessage } = useIntl();\n const { toggleNotification } = useNotification();\n const { notifyStatus } = useNotifyAT();\n const queryClient = useQueryClient();\n const { get, put } = useFetchClient();\n const { formatAPIError } = useAPIErrorHandler();\n\n const {\n isLoading: isLoadingForPermissions,\n allowedActions: { canUpdate },\n } = useRBAC({ update: PERMISSIONS.updateAdvancedSettings });\n\n const { isLoading: isLoadingData, data } = useQuery(\n ['users-permissions', 'advanced'],\n async () => {\n const { data } = await get('/users-permissions/advanced');\n\n return data;\n },\n {\n onSuccess() {\n notifyStatus(\n formatMessage({\n id: getTrad('Form.advancedSettings.data.loaded'),\n defaultMessage: 'Advanced settings data has been loaded',\n })\n );\n }Line truncated
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,SAAS;EACb;IACEC,OAAO;MACLC,IAAIC,QAAQ,kCAAA;MACZC,gBAAgB;IAClB;IACAC,MAAM;MACJH,IAAIC,QAAQ,wCAAA;MACZC,gBACE;IACJ;IACAE,MAAM;IACNC,MAAM;IACNC,MAAM;EACR;EACA;IACEP,OAAO;MACLC,IAAIC,QAAQ,oCAAA;MACZC,gBAAgB;IAClB;IACAC,MAAM;MACJH,IAAIC,QAAQ,0CAAA;MACZC,gBACE;IACJ;IACAE,MAAM;IACNC,MAAM;IACNC,MAAM;EACR;EACA;IACEP,OAAO;MACLC,IAAIC,QAAQ,iDAAA;MACZC,gBAAgB;IAClB;IACAC,MAAM;MACJH,IAAIC,QAAQ,uDAAA;MACZC,gBAAgB;IAClB;IACAK,aAAa;MACXP,IAAIC,QAAQ,uDAAA;MACZC,gBAAgB;IAClB;IACAE,MAAM;IACNC,MAAM;IACNC,MAAM;EACR;EACA;IACEP,OAAO;MACLC,IAAIC,QAAQ,+CAAA;MACZC,gBAAgB;IAClB;IACAC,MAAM;MACJH,IAAIC,QAAQ,qDAAA;MACZC,gBAAgB;IAClB;IACAE,MAAM;IACNC,MAAM;IACNC,MAAM;EACR;EACA;IACEP,OAAO;MACLC,IAAIC,QAAQ,2DAAA;MACZC,gBAAgB;IAClB;IACAC,MAAM;MACJH,IAAIC,QAAQ,iEAAA;MACZC,gBAAgB;IAClB;IACAK,aAAa;MACXP,IAAIC,QAAQ,iEAAA;MACZC,gBAAgB;IAClB;IACAE,MAAM;IACNC,MAAM;IACNC,MAAM;EACR;AACD;;;AC1ED,I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IAAIW;4BAC/CC,aACEL,MAAMK,cAAclG,cAAc6F,MAAMK,WAAW,IAAID;;wBAdtDJ,GAAAA,MAAM/C,IAAI,CAAA;;;;;;;;QAyBjC;;;;AAIR;",
"names": ["layout", "label", "id", "getTrad", "defaultMessage", "hint", "name", "type", "size", "placeholder", "URL_REGEX", "RegExp", "schema", "object", "shape", "email_confirmation_redirection", "mixed", "when", "is", "then", "string", "matches", "required", "otherwise", "nullable", "email_reset_password", "translatedErrors", "id", "regex", "defaultMessage", "ProtectedAdvancedSettingsPage", "_jsx", "Page", "Protect", "permissions", "PERMISSIONS", "readAdvancedSettings", "AdvancedSettingsPage", "formatMessage", "useIntl", "toggleNotification", "useNotification", "notifyStatus", "useNotifyAT", "queryClient", "useQueryClient", "get", "put", "useFetchClient", "formatAPIError", "useAPIErrorHandler", "isLoading", "isLoadingForPermissions", "allowedActions", "canUpdate", "useRBAC", "update", "updateAdvancedSettings", "isLoadingData", "data", "useQuery", "onSuccess", "id", "getTrad", "defaultMessage", "onError", "type", "message", "submitMutation", "useMutation", "body", "invalidateQueries", "error", "refetchActive", "isSubmittingForm", "handleSubmit", "mutate", "email_confirmation_redirection", "email_confirmation", "Loading", "_jsxs", "Main", "aria-busy", "Title", "name", "Form", "onSubmit", "initialValues", "settings", "validationSchema", "schema", "values", "isSubmitting", "modified", "_Fragment", "Layouts", "Header", "title", "primaryAction", "Button", "loading", "disabled", "startIcon", "Check", "size", "Content", "Box", "background", "hasRadius", "shadow", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight", "Flex", "direction", "alignItems", "gap", "Typography", "variant", "tag", "Grid", "Root", "label", "hint", "options", "roles", "map", "role", "value", "layout", "field", "Item", "col", "InputRenderer", "undefined", "placeholder"]
}
+656
View File
@@ -0,0 +1,656 @@
import "./chunk-AOWI4JYR.js";
import "./chunk-KGPWUC7Q.js";
import "./chunk-FVEHK4NK.js";
import "./chunk-C4NW23D7.js";
import "./chunk-E3IW2VDN.js";
import "./chunk-MN3D3XJI.js";
import "./chunk-C7H2BX76.js";
import "./chunk-U66AL5Y5.js";
import "./chunk-7KYK3FTC.js";
import "./chunk-JF4AI5LV.js";
import "./chunk-ALMC553V.js";
import "./chunk-PDGPTUUZ.js";
import "./chunk-XH2B3RAH.js";
import "./chunk-MLTBQQQV.js";
import "./chunk-GXKJFURG.js";
import "./chunk-7FUKGPNR.js";
import "./chunk-NAZM6EA4.js";
import "./chunk-UATNJIHQ.js";
import "./chunk-P4VL3IHZ.js";
import "./chunk-HIZVCZYI.js";
import "./chunk-7HX4OIS5.js";
import "./chunk-6LY4MOO2.js";
import "./chunk-SQLDXQZE.js";
import "./chunk-QF6GPHA4.js";
import "./chunk-SYWYLB7I.js";
import "./chunk-S3HPKOXW.js";
import "./chunk-JRLAXHTE.js";
import "./chunk-E4IFZ6ZT.js";
import "./chunk-XNACAI67.js";
import "./chunk-QLEKUQKW.js";
import "./chunk-4J3VOWQV.js";
import "./chunk-PFI4R5WA.js";
import "./chunk-G2UWKDMB.js";
import "./chunk-B3BGMYGX.js";
import "./chunk-W6ICJ5TB.js";
import "./chunk-IHYIPMY2.js";
import "./chunk-UWHSN2C7.js";
import "./chunk-ERK7O2GM.js";
import "./chunk-FCIM6RNO.js";
import "./chunk-J33IXKN4.js";
import "./chunk-NP53ZCXD.js";
import "./chunk-KFLQQE5L.js";
import "./chunk-ED4XR3VQ.js";
import "./chunk-MBK4V2X7.js";
import "./chunk-YJEURQPS.js";
import "./chunk-5ESYXDTN.js";
import "./chunk-GGK2TLCV.js";
import "./chunk-K65KIEAL.js";
import "./chunk-B7ZLODDO.js";
import "./chunk-PW7XKCYO.js";
import "./chunk-RMBEU7DO.js";
import "./chunk-RI2W2UZ6.js";
import "./chunk-IY256CNP.js";
import "./chunk-IFOFBKTA.js";
import "./chunk-XLSIZGJF.js";
import "./chunk-EGNP2T5O.js";
import "./chunk-GSN7U3BK.js";
import "./chunk-T3B5F2LV.js";
import "./chunk-YXDCVYVT.js";
import "./chunk-QIJGNK42.js";
import "./chunk-7PUJSL55.js";
import "./chunk-C2ZJTFO7.js";
import "./chunk-C75BZXCZ.js";
import "./chunk-APGTER6B.js";
import "./chunk-ZM6TT53G.js";
import "./chunk-6AXVGFVQ.js";
import "./chunk-BFLP6DBI.js";
import "./chunk-CMLQV3Z2.js";
import "./chunk-D4WYVNVM.js";
import "./chunk-MMOBCIZG.js";
import "./chunk-IGCTEXRF.js";
import {
Layouts
} from "./chunk-TIVRAWTC.js";
import "./chunk-PQINNV4N.js";
import "./chunk-VYSYYPOB.js";
import {
ForwardRef$x,
Page
} from "./chunk-5CAWUBTQ.js";
import "./chunk-W2TBR6J3.js";
import "./chunk-QEGMJR7H.js";
import "./chunk-LCL5TIBZ.js";
import "./chunk-WOQNBAGN.js";
import "./chunk-BHLYCXQ7.js";
import "./chunk-76QM3EFM.js";
import "./chunk-CE4VABH2.js";
import "./chunk-5VODLFKF.js";
import "./chunk-N55RVBRV.js";
import {
Box,
Flex,
Link,
LinkButton,
Typography,
useIntl
} from "./chunk-7XB6XSWQ.js";
import "./chunk-5ZC4PE57.js";
import {
Route,
Routes
} from "./chunk-TUXTO2Z5.js";
import "./chunk-FOD4ENRR.js";
import {
pluginId
} from "./chunk-RH4C26B2.js";
import {
ForwardRef$3F
} from "./chunk-WRD5KPDH.js";
import {
require_jsx_runtime
} from "./chunk-NIAJZ5MX.js";
import {
dt
} from "./chunk-ACIMPXWY.js";
import "./chunk-MADUDGYZ.js";
import {
__toESM
} from "./chunk-PLDDJCW6.js";
// node_modules/@strapi/plugin-cloud/dist/admin/pages/App.mjs
var import_jsx_runtime6 = __toESM(require_jsx_runtime(), 1);
// node_modules/@strapi/plugin-cloud/dist/admin/pages/HomePage.mjs
var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
// node_modules/@strapi/plugin-cloud/dist/admin/components/Cloud.mjs
var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
// node_modules/@strapi/plugin-cloud/dist/admin/utils/getTrad.mjs
var getTrad = (id) => `${pluginId}.${id}`;
// node_modules/@strapi/plugin-cloud/dist/admin/components/Icons/UploadIcon.mjs
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
var UploadIcon = () => (0, import_jsx_runtime.jsx)("svg", {
width: "142",
height: "74",
viewBox: "0 0 142 74",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
children: (0, import_jsx_runtime.jsxs)("g", {
opacity: "0.88",
children: [
(0, import_jsx_runtime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M6.50177 8.21597C3.2423 8.21597 0.599976 10.8653 0.599976 14.1334C0.599976 17.4016 3.2423 20.0509 6.50177 20.0509H40.2263C36.9669 20.0509 34.3245 22.7002 34.3245 25.9684C34.3245 29.2365 36.9669 31.8858 40.2263 31.8858H21.6778C18.4183 31.8858 15.776 34.5352 15.776 37.8033C15.776 41.0714 18.4183 43.7207 21.6778 43.7207H30.2556C34.3654 43.7207 37.697 46.3701 37.697 49.6382C37.697 51.3602 36.6436 52.9534 34.5369 54.4177C33.3426 55.2478 31.828 55.4312 30.4754 55.9657C28.2859 56.8308 26.7365 58.9705 26.7365 61.4731C26.7365 64.7413 29.3788 67.3906 32.6383 67.3906H102.617C105.876 67.3906 108.519 64.7413 108.519 61.4731C108.519 58.205 105.876 55.5557 102.617 55.5557H135.498C138.758 55.5557 141.4 52.9063 141.4 49.6382C141.4 46.3701 138.758 43.7207 135.498 43.7207H101.774C98.5142 43.7207 95.8718 41.0714 95.8718 37.8033C95.8718 34.5352 98.5142 31.8858 101.774 31.8858H122.851C126.111 31.8858 128.753 29.2365 128.753 25.9684C128.753 22.7002 126.111 20.0509 122.851 20.0509H89.1269C92.3864 20.0509 95.0287 17.4016 95.0287 14.1334C95.0287 10.8653 92.3864 8.21597 89.1269 8.21597H6.50177ZM6.50177 31.8858C3.2423 31.8858 0.599976 34.5352 0.599976 37.8033C0.599976 41.0714 3.2423 43.7207 6.50177 43.7207C9.76124 43.7207 12.4036 41.0714 12.4036 37.8033C12.4036 34.5352 9.76124 31.8858 6.50177 31.8858Z",
fill: "#DBDBFA"
}),
(0, import_jsx_runtime.jsx)("path", {
d: "M73.6731 73V39.8706",
stroke: "white",
strokeWidth: "2",
strokeLinecap: "round"
}),
(0, import_jsx_runtime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M50.6061 9.64246C44.2424 9.64246 39.0829 14.802 39.0829 21.1657C39.0829 21.3861 39.103 21.6007 39.116 21.8197C39.1016 22.0818 39.0829 22.3469 39.0829 22.6061C33.3371 25.3602 29 31.9069 29 38.6739C29 48.0582 36.6774 55.7355 46.0616 55.7355H53.487L56.9785 11.5668C55.1535 10.3526 52.9626 9.64246 50.6061 9.64246Z",
fill: "#F1F1FE"
}),
(0, import_jsx_runtime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M99.4633 24.0465C99.2977 11.5164 89.1025 1 76.5334 1L90.8165 55.7355H96.5364C105.274 55.7355 112.423 48.5868 112.423 39.8507C112.423 32.1143 106.814 25.4308 99.4633 24.0465Z",
fill: "#DEDDFE"
}),
(0, import_jsx_runtime.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M95.2638 24.0465C95.0982 11.5164 84.9029 1 72.3339 1C64.3267 1 63.3991 3.40404 59.2493 9.64245C57.4228 8.42819 57.2845 9.64245 54.928 9.64245C48.5629 9.64245 43.4048 14.802 43.4048 21.1657C43.4048 21.3861 43.4249 21.6007 43.4379 21.8197C43.4235 22.0818 43.4048 22.3469 43.4048 22.6061C37.659 25.3602 33.3219 31.9069 33.3219 38.6739C33.3219 48.0582 40.9993 55.7355 50.3835 55.7355H57.8089H86.617H92.3369C101.074 55.7355 108.223 48.5868 108.223 39.8507C108.223 32.1143 102.614 25.4308 95.2638 24.0465Z",
fill: "white"
}),
(0, import_jsx_runtime.jsx)("path", {
d: "M99.6256 24.0466C99.6256 24.0466 95.9741 23.5064 92.4192 24.0466",
stroke: "#8A88FE",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime.jsx)("path", {
d: "M39.1237 21.1657C39.1237 14.802 44.2832 9.64246 50.6469 9.64246C57.0107 9.64246 62.1702 14.802 62.1702 21.1657",
stroke: "#8A88FE",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime.jsx)("path", {
d: "M90.9784 55.7355H96.6997C105.436 55.7355 112.584 48.5868 112.584 39.8507C112.584 32.1143 106.976 25.4308 99.6251 24.0465C99.4609 11.5164 89.2657 1 76.6953 1C68.688 1 61.1705 5.32843 57.0193 11.5668C55.1943 10.3526 53.0034 9.64245 50.6469 9.64245C44.2832 9.64245 39.1236 14.802 39.1236 21.1657C39.1236 21.3861 39.1438 21.6007 39.1568 21.8197C39.1424 22.0818 39.1236 22.3469 39.1236 22.6061C33.3778 25.3602 29.0408 31.9069 29.0408 38.6739C29.0408 48.0582 36.7182 55.7355 46.1024 55.7355H53.5277",
stroke: "#8A88FE",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime.jsx)("path", {
d: "M72.2531 71.58V38.4506",
stroke: "#8A88FE",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime.jsx)("path", {
d: "M72.2531 38.4506L83.7763 49.9739",
stroke: "#8A88FE",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime.jsx)("path", {
d: "M60.7297 49.9739L72.253 38.4506",
stroke: "#8A88FE",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
})
]
})
});
// node_modules/@strapi/plugin-cloud/dist/admin/components/Cloud.mjs
var EmptyStateIconWrapper = dt(Box)`
svg {
height: 8.8rem;
}
`;
var CloudBox = () => {
const { formatMessage } = useIntl();
return (0, import_jsx_runtime2.jsx)(Box, {
padding: 4,
hasRadius: true,
children: (0, import_jsx_runtime2.jsxs)(Flex, {
alignItems: "center",
direction: "column",
padding: 11,
hasRadius: true,
children: [
(0, import_jsx_runtime2.jsx)(EmptyStateIconWrapper, {
paddingBottom: 6,
"aria-hidden": true,
children: (0, import_jsx_runtime2.jsx)(UploadIcon, {})
}),
(0, import_jsx_runtime2.jsx)(Box, {
paddingBottom: 4,
children: (0, import_jsx_runtime2.jsx)(Typography, {
variant: "beta",
tag: "p",
textAlign: "center",
textColor: "neutral1000",
children: formatMessage({
id: getTrad("Homepage.cloudBox.title"),
defaultMessage: "Deploy to Strapi Cloud"
})
})
}),
(0, import_jsx_runtime2.jsx)(Typography, {
variant: "epsilon",
tag: "p",
textAlign: "center",
textColor: "neutral600",
children: formatMessage({
id: getTrad("Homepage.cloudBox.subTitle"),
defaultMessage: "Enjoy a Strapi-optimized stack including database, email provider, and CDN."
})
}),
(0, import_jsx_runtime2.jsx)(Box, {
marginTop: 4,
children: (0, import_jsx_runtime2.jsx)(LinkButton, {
variant: "default",
endIcon: (0, import_jsx_runtime2.jsx)(ForwardRef$3F, {}),
href: "https://cloud.strapi.io/login?utm_campaign=Strapi%20Cloud%20Plugin&utm_source=In-Product&utm_medium=CTA",
isExternal: true,
target: "_blank",
children: formatMessage({
id: getTrad("Homepage.cloudBox.buttonText"),
defaultMessage: "Deploy to Strapi Cloud"
})
})
})
]
})
});
};
// node_modules/@strapi/plugin-cloud/dist/admin/components/Github.mjs
var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
// node_modules/@strapi/plugin-cloud/dist/admin/components/Icons/LinkIcon.mjs
var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
var LinkIcon = () => (0, import_jsx_runtime3.jsxs)("svg", {
width: "160",
height: "88",
viewBox: "0 0 160 88",
fill: "none",
xmlns: "http://www.w3.org/2000/svg",
children: [
(0, import_jsx_runtime3.jsx)("g", {
clipPath: "url(#clip0_7_368)",
children: (0, import_jsx_runtime3.jsxs)("g", {
opacity: "0.84",
children: [
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M139.583 14.4069C142.655 14.4069 145.145 16.8967 145.145 19.968C145.145 23.0394 142.655 25.5292 139.583 25.5292H107.806C110.877 25.5292 113.367 28.019 113.367 31.0903C113.367 34.1616 110.877 36.6514 107.806 36.6514H125.283C128.355 36.6514 130.845 39.1412 130.845 42.2125C130.845 45.2838 128.355 47.7736 125.283 47.7736H117.201C113.328 47.7736 110.189 50.2634 110.189 53.3347C110.189 54.5054 110.708 55.6126 111.747 56.6565C113.567 58.4852 116.602 58.5506 118.564 60.2255C119.759 61.2455 120.517 62.7627 120.517 64.4569C120.517 67.5283 118.027 70.0181 114.956 70.0181H49.0167C45.9454 70.0181 43.4556 67.5283 43.4556 64.4569C43.4556 61.3856 45.9454 58.8958 49.0167 58.8958H18.0334C14.9621 58.8958 12.4723 56.406 12.4723 53.3347C12.4723 50.2634 14.9621 47.7736 18.0334 47.7736H49.8112C52.8825 47.7736 55.3723 45.2838 55.3723 42.2125C55.3723 39.1412 52.8825 36.6514 49.8112 36.6514H29.9501C26.8788 36.6514 24.389 34.1616 24.389 31.0903C24.389 28.019 26.8788 25.5292 29.9501 25.5292H61.7279C58.6565 25.5292 56.1667 23.0394 56.1667 19.968C56.1667 16.8967 58.6565 14.4069 61.7279 14.4069H139.583ZM139.583 36.6514C142.655 36.6514 145.145 39.1412 145.145 42.2125C145.145 45.2838 142.655 47.7736 139.583 47.7736C136.512 47.7736 134.022 45.2838 134.022 42.2125C134.022 39.1412 136.512 36.6514 139.583 36.6514Z",
fill: "#D9D8FF",
fillOpacity: "0.8"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M81.0546 42.3195C75.781 37.0459 75.781 28.4165 81.0546 23.1428L92.2419 11.9555C97.5155 6.68192 106.145 6.68192 111.419 11.9555C116.692 17.2291 116.692 25.8586 111.419 31.1334L100.231 42.3195C94.9576 47.5931 86.3282 47.5931 81.0546 42.3195Z",
fill: "white"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M78.1614 42.3195C72.8878 37.0459 72.8878 28.4165 78.1614 23.1428L89.3487 11.9555C94.6223 6.68192 103.252 6.68192 108.525 11.9555C113.799 17.2291 113.799 25.8586 108.525 31.1334L97.3381 42.3195C92.0644 47.5931 83.435 47.5931 78.1614 42.3195Z",
fill: "#D9D8FF"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M78.2876 42.3195C73.014 37.0459 73.014 28.4165 78.2876 23.1428L89.4749 11.9555C94.7485 6.68192 99.9778 6.68192 105.251 11.9555C110.526 17.2291 110.526 25.8586 105.251 31.1334L94.0653 42.3195C88.7917 47.5931 83.5612 47.5931 78.2876 42.3195Z",
fill: "#F0F0FF"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M108.965 11.9555C111.829 14.8193 113.124 18.6721 112.878 22.4399C112.671 20.0398 111.375 17.6386 108.965 15.2287C103.691 9.95511 95.062 9.95511 89.7884 15.2287L78.601 26.416C76.1912 28.8259 74.895 31.2272 74.6878 33.6272C74.4423 29.8594 75.7373 26.0066 78.601 23.1428L89.7884 11.9555C95.062 6.68192 103.691 6.68192 108.965 11.9555Z",
fill: "white"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M78.1192 45.6809C72.8456 40.4073 64.2162 40.4073 58.9426 45.6809L47.7553 56.8682C42.4816 62.1418 42.4816 70.7713 47.7553 76.0449C53.0289 81.3185 61.6583 81.3185 66.9319 76.0449L78.1192 64.8588C83.3928 59.584 83.3928 50.9545 78.1192 45.6809Z",
fill: "white"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M78.1192 42.7884C72.8456 37.5148 64.2162 37.5148 58.9426 42.7884L56.5685 45.1613C57.0692 45.8384 56.8595 46.9829 55.9518 47.2555C56.0887 47.5823 56.0887 47.9708 55.863 48.3704C54.9923 49.912 53.8108 51.1848 52.4172 52.2639C51.9127 52.6537 51.2763 52.7634 50.7448 52.407C50.5364 52.7264 50.1997 52.9632 49.7002 52.9632C49.4079 52.9632 49.1834 52.867 48.991 52.7388L47.7553 53.9758C42.4816 59.2494 42.4816 67.8788 47.7553 73.1524C53.0289 78.426 61.6583 78.426 66.9319 73.1524L78.1192 61.9663C83.3928 56.6915 83.3928 48.0621 78.1192 42.7884Z",
fill: "#D9D8FF"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M78.1192 42.915C72.8456 37.6414 64.2162 37.6414 58.9426 42.915L56.4106 45.4457C56.8595 46.2326 56.5105 47.4906 55.3278 47.4906C55.2945 47.4906 55.2735 47.4745 55.2427 47.4733C55.4634 48.0752 55.2155 48.7115 54.6901 49.0815C53.6566 49.8067 53.0535 51.0585 52.1853 51.9551C51.7931 52.3609 51.3294 52.4226 50.9224 52.2894C50.7177 52.6298 50.3748 52.8863 49.8543 52.8863C49.5768 52.8863 49.361 52.7999 49.1736 52.6828L47.7553 54.1011C43.398 58.4584 43.398 65.5227 47.7553 69.8788C53.0289 75.1524 61.6583 75.1524 66.9319 69.8788L78.1192 58.6927C82.4765 54.3354 82.4765 47.271 78.1192 42.915Z",
fill: "#F0F0FF"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M47.7553 73.5916C50.619 76.4553 54.4718 77.7503 58.2396 77.5048C55.8396 77.2976 53.4383 76.0014 51.0285 73.5916C45.7548 68.3179 45.7548 59.6885 51.0285 54.4137L62.2158 43.2276C64.6256 40.8177 67.0269 39.5215 69.4269 39.3143C65.6579 39.0689 61.8063 40.3638 58.9426 43.2276L47.7553 54.4137C42.4816 59.6885 42.4816 68.3179 47.7553 73.5916Z",
fill: "white"
}),
(0, import_jsx_runtime3.jsx)("path", {
d: "M103.041 36.617L97.3392 42.3198C92.0656 47.5922 83.4349 47.5922 78.1613 42.3198C72.8877 37.0462 72.8877 28.4155 78.1613 23.1419L89.3486 11.9546C94.6222 6.68223 103.252 6.68223 108.525 11.9546C113.056 16.4858 113.694 23.4934 110.441 28.7226",
stroke: "#7B79FF",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime3.jsx)("path", {
d: "M56.3043 45L58.9843 42.32C64.2579 37.0464 72.8874 37.0464 78.161 42.32C83.4346 47.5936 83.4346 56.2243 78.161 61.4979L66.9749 72.684C61.7013 77.9576 53.0706 77.9576 47.797 72.684C42.5234 67.4104 42.5234 58.7809 47.797 53.5061L48.9045 52.3998",
stroke: "#7B79FF",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime3.jsx)("path", {
d: "M89.6695 30.8114L66.6536 53.8274",
stroke: "#7B79FF",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M53.7086 48.6992C53.7086 49.3799 53.156 49.9325 52.4752 49.9325C51.7945 49.9325 51.2419 49.3799 51.2419 48.6992C51.2419 48.0184 51.7945 47.4659 52.4752 47.4659C53.156 47.4659 53.7086 48.0184 53.7086 48.6992Z",
fill: "#7B79FF"
}),
(0, import_jsx_runtime3.jsx)("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M107.974 32.6662C107.974 33.3469 107.421 33.8995 106.741 33.8995C106.06 33.8995 105.507 33.3469 105.507 32.6662C105.507 31.9854 106.06 31.4328 106.741 31.4328C107.421 31.4328 107.974 31.9854 107.974 32.6662Z",
fill: "#7B79FF"
})
]
})
}),
(0, import_jsx_runtime3.jsx)("defs", {
children: (0, import_jsx_runtime3.jsx)("clipPath", {
id: "clip0_7_368",
children: (0, import_jsx_runtime3.jsx)("rect", {
width: "158.4",
height: "88",
fill: "white",
transform: "translate(0.800049)"
})
})
})
]
});
// node_modules/@strapi/plugin-cloud/dist/admin/components/Github.mjs
var EmptyStateIconWrapper2 = dt(Box)`
svg {
height: 8.8rem;
}
`;
var CustomGithubButton = dt(LinkButton)`
background-color: #000000;
color: #ffffff;
border: none;
& svg > path {
fill: ${({ theme }) => theme.colors.neutral0};
}
&:hover {
background-color: #32324d !important;
border: none !important;
}
`;
var GithubBox = () => {
const { formatMessage } = useIntl();
return (0, import_jsx_runtime4.jsx)(Box, {
padding: 4,
children: (0, import_jsx_runtime4.jsxs)(Flex, {
alignItems: "center",
direction: "column",
padding: 11,
children: [
(0, import_jsx_runtime4.jsx)(EmptyStateIconWrapper2, {
paddingBottom: 6,
"aria-hidden": true,
children: (0, import_jsx_runtime4.jsx)(LinkIcon, {})
}),
(0, import_jsx_runtime4.jsx)(Box, {
paddingBottom: 4,
children: (0, import_jsx_runtime4.jsx)(Typography, {
variant: "beta",
tag: "p",
textAlign: "center",
textColor: "neutral1000",
children: formatMessage({
id: getTrad("Homepage.githubBox.title.not-versioned"),
defaultMessage: "Push your project on GitHub"
})
})
}),
(0, import_jsx_runtime4.jsx)(Typography, {
variant: "epsilon",
tag: "p",
textAlign: "center",
textColor: "neutral600",
children: formatMessage({
id: getTrad("Homepage.githubBox.subTitle.not-versioned"),
defaultMessage: "Your project has to be versioned on GitHub before deploying on Strapi Cloud."
})
}),
(0, import_jsx_runtime4.jsx)(Box, {
marginTop: 4,
children: (0, import_jsx_runtime4.jsx)(CustomGithubButton, {
isExternal: true,
startIcon: (0, import_jsx_runtime4.jsx)(ForwardRef$x, {}),
href: "https://github.com/new",
target: "_blank",
children: formatMessage({
id: getTrad("Homepage.githubBox.buttonText"),
defaultMessage: "Upload to GitHub"
})
})
})
]
})
});
};
// node_modules/@strapi/plugin-cloud/dist/admin/pages/assets/corner-ornament.svg.mjs
var img = "data:image/svg+xml,%3csvg width='148' height='148' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg opacity='.8' fill-rule='evenodd' clip-rule='evenodd'%3e %3cpath opacity='.15' d='M110.81 37H73.97V74.1h36.84V37Z' fill='url(%23a)'/%3e %3cpath opacity='.07' d='M36.84 0H0v37.08h36.84V0Z' fill='url(%23b)'/%3e %3cpath opacity='.07' d='M73.92 73.95H37.08v37.08h36.84V73.95Z' fill='url(%23c)'/%3e %3cpath opacity='.07' d='M147.99 110.92h-37.3V148H148v-37.08Z' fill='url(%23d)'/%3e %3cpath opacity='.15' d='M73.83 37H36.84L73.83 0v37Z' fill='url(%23e)'/%3e %3cpath opacity='.15' d='M110.6 111.02v-37h36.98l-36.99 37Z' fill='url(%23f)'/%3e %3cpath opacity='.4' d='M73.83 0v37h36.98v37.01h37V3a3 3 0 0 0-3-3H73.82Z' fill='url(%23g)'/%3e %3c/g%3e %3cdefs%3e %3clinearGradient id='a' x1='91.31' y1='83.31' x2='118.24' y2='56.59' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%237A92FF'/%3e %3cstop offset='1' stop-color='%233253EA'/%3e %3c/linearGradient%3e %3clinearGradient id='b' x1='40.99' y1='13.88' x2='.01' y2='11.64' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23A8B8FF'/%3e %3cstop offset='1' stop-color='%233253EA'/%3e %3c/linearGradient%3e %3clinearGradient id='c' x1='54.41' y1='120.25' x2='81.35' y2='93.52' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23A8B8FF'/%3e %3cstop offset='1' stop-color='%233253EA'/%3e %3c/linearGradient%3e %3clinearGradient id='d' x1='128.24' y1='157.22' x2='155.17' y2='130.17' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%23A8B8FF'/%3e %3cstop offset='1' stop-color='%233253EA'/%3e %3c/linearGradient%3e %3clinearGradient id='e' x1='54.24' y1='46.21' x2='81.12' y2='19.38' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%237A92FF'/%3e %3cstop offset='1' stop-color='%233253EA'/%3e %3c/linearGradient%3e %3clinearGradient id='f' x1='126.28' y1='74.05' x2='124.94' y2='111.07' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%237A92FF'/%3e %3cstop offset='1' stop-color='%233253EA'/%3e %3c/linearGradient%3e %3clinearGradient id='g' x1='73.37' y1='36.87' x2='132.87' y2='66.74' gradientUnits='userSpaceOnUse'%3e %3cstop stop-color='%237A92FF'/%3e %3cstop offset='1' stop-color='%233858EA'/%3e %3c/linearGradient%3e %3c/defs%3e%3c/svg%3e";
// node_modules/@strapi/plugin-cloud/dist/admin/pages/assets/left-side-cloud.png.mjs
var img2 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMsAAAEUCAYAAACF5MJ9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAGE0SURBVHgB7b1tsCZJdR548r23v2Z6ZnoYDQLEaJqFxQIUATKwaOVwzEhar6XYCEuxXrBWjpXlnbUc/rFihTf00z3IIW8oYiO0klZ/sRDSDy9ha0H2PwfiK8IRxhjGYpBkI9ENg/kamNvd89Xd977pyqo8Wc85eU5Wve+9t7unp0533arKPPl9PjOz8iVaYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIFjghgjvgZ1T/EB8QA/0HS+TZwFFpgDtxsRFYYIIZR7CspxfCf1nHDFO6ZnxuqeIy2wwJawomOCpAkSkWaNwEyA92BpEwzLjMJxghmoZvTAadL1+OOPB07PYVwnIx9RLyf/BV7mcKwEwYQJRK+iR8I1cApzgIaInJnDVJqhZlYzch0408BlscZatNICR65ZmAEyrYX3v//9PSEmSW9oksIoWQvhVdKBhmANU7RFfu9pusNdcR3At4mq3CirO/Bfzgs1XmAmXRhlgQQba5ZMQIVotX8Bwt9NnyAx0YULFyLj5vBzN27cOH/ixIm3rtd0frWih1NYF/e6Du++DuVcejey3etyuNzhfDm/X+zSX4rx4IkbN+Le6dO7n+/i9nI5uoK95gD/yGqvUjSDWdhq5wJ3HhyGWQoh0WguMQEFy3TC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U4s1QXmi5skOlRtm8iP1MIgYaC972dnX5WrEDHOARmWF97YyVfHEKO74uGmQ+Nbx9aNgodCcSZCNbKeiWEsyVetpuA9kAImMi6oFyZkLaHbformu/nvvnNb55PDMKhHaPg6n7ZEqMP76NsluHessw0C6PMBGcF/2hgE4He42MCUgJ5TgYEU7BVBrc3eCYuasr0eHCwft/Jkzu/STJYtLLxHUs1JMt3+/PB3Ug5Pk/7CVGnZpOIpM8QyR69ogggQTXSwSlYXVFXZi7cxPmhuEEc+l85BH9WXX9e3D/jt/nKT+EeZkstoi+z+C9t2JWv3Sp+mjLO1MJiy/J1OVI4zmM2tUYAzWDONJHBHB5VHYcMtJjMqOMm2XmUN4civfSr1eoRfIfdxylJ/7OHTz75ZOA4Zhx1aB/6K7TAPHAd/PHT1BwCfVrov0URCC1iewmZSgiWiYnNsExPnQZDg5I8Ir0K/9znPvvgO97xDj4fud/3xQuUkKlV9KBOqh8dWxz9ORBu3FhHMYM0BLOutrkE30VudMsJ36ritrJz27zi7Jggn3BqL/d7UKjpdu3a9b95112nPoI5Pfroo6G71jyNrGbAPEsaZ8gWZpmAFZtMg8jJoWnWJN01o/A9kt/9RwxeMV5RYeJ9bl7aUoyN5/GKE12QO1vYqbpgEFDGNGD6u7u7+zAp0fTxj39c5MgHiJPB8/BRGK+1LObYDOg1iwqiw8njw8FUyZvUrGUe8bOVxs5Fz84ZRI2LOpr4prYMFF8RWihvBW+93v/QyZMn/9f0lr5RgaNem7xqnGxJypeZzOPlDHI2jGcbj1DKbNrzljSnxvOcvFr10ZrBzSVLYH6uGMP7JtlcJFKzGv2Ul543hDiBnL67P3Fvt9bSxzKj5LUXNKuEAozjETCikMw4iLuAA5JZC Line truncated
// node_modules/@strapi/plugin-cloud/dist/admin/pages/assets/right-side-cloud.png.mjs
var img3 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAD8CAYAAAAL1Fp+AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QA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/xmcqf3CdL9XXatF5Uc7JaDGWTbblPv9x28dUPXjhSNpFps6ehHheml7OSmGixrH8FuBYrRuK/Dlhkcw5SN6RS01RSzTQbD+xX/YHmZppbLSTAryC3tw6gygBkKrWKmfxHp7iX9mwFfHAjTtQA1oKEqtx+JACbRrvXipb2I5uFU45PTaZ+lXvzNYOnbwCq5D32ry3c0KuBURo7jmkLIwnT55876VLl35NgNWAquFpN8Ck4OwmFu4wc6/gXhl7gmaXqiL87lr1Xl5ETDNHJd1qCm6pvnDoefyWkGgqk0+NgcEM/P4l25cY4pdaT64fI7KPErUDiSm2p7wKiRaDioMwa4KloNoUpJ+t2knMNpxIm5dLQcVOOXD+wGosho9oUumH5HyeLFOeY4ljAqjpuwyu3/u930uf+tSnbl+/fv2NQTvdHoJfH8q9M5zvDOeb+atLZ2cNN6beKAYCPREenSlIS0T7rmv1hLuXxgPOvqTmdj1TFMO8OHLSQgVLsvhF8AcXWBR0t7NhVLine truncated
// node_modules/@strapi/plugin-cloud/dist/admin/pages/HomePage.mjs
var LogoContainer = dt(Box)`
position: absolute;
top: 0;
right: 0;
img {
width: 15rem;
}
`;
var RightSideCloudContainer = dt(Box)`
position: absolute;
top: 400px;
right: 0;
img {
width: 15rem;
}
`;
var LeftSideCloudContainer = dt(Box)`
position: absolute;
top: 150px;
left: 56px;
img {
width: 15rem;
}
`;
var HomePage = () => {
const { formatMessage } = useIntl();
return (0, import_jsx_runtime5.jsxs)(Box, {
paddingLeft: 10,
paddingRight: 10,
children: [
(0, import_jsx_runtime5.jsx)(RightSideCloudContainer, {
children: (0, import_jsx_runtime5.jsx)("img", {
alt: "right-side-cloud",
"aria-hidden": true,
src: img3
})
}),
(0, import_jsx_runtime5.jsx)(LeftSideCloudContainer, {
children: (0, import_jsx_runtime5.jsx)("img", {
alt: "left-side-cloud",
"aria-hidden": true,
src: img2
})
}),
(0, import_jsx_runtime5.jsx)(LogoContainer, {
children: (0, import_jsx_runtime5.jsx)("img", {
alt: "strapi-corner-ornament",
"aria-hidden": true,
src: img
})
}),
(0, import_jsx_runtime5.jsxs)(Box, {
paddingLeft: 10,
paddingRight: 10,
paddingBottom: 8,
paddingTop: 10,
children: [
(0, import_jsx_runtime5.jsx)(Flex, {
justifyContent: "space-between",
alignItems: "center",
direction: "column",
children: (0, import_jsx_runtime5.jsx)(Flex, {
minWidth: 0,
children: (0, import_jsx_runtime5.jsx)(Typography, {
tag: "h1",
variant: "alpha",
children: formatMessage({
id: getTrad("Homepage.title"),
defaultMessage: "Fully-managed Cloud Hosting for your Strapi Project"
})
})
})
}),
(0, import_jsx_runtime5.jsx)(Flex, {
alignItems: "center",
direction: "column",
children: (0, import_jsx_runtime5.jsx)(Typography, {
variant: "epsilon",
textColor: "neutral600",
tag: "p",
children: formatMessage({
id: getTrad("Homepage.subTitle"),
defaultMessage: "Follow this 2 steps process to get Everything You Need to Run Strapi in Production."
})
})
})
]
}),
(0, import_jsx_runtime5.jsxs)(Box, {
padding: 10,
children: [
(0, import_jsx_runtime5.jsxs)(Layouts.Grid, {
size: "M",
children: [
(0, import_jsx_runtime5.jsx)(GithubBox, {}),
(0, import_jsx_runtime5.jsx)(CloudBox, {})
]
}),
(0, import_jsx_runtime5.jsxs)(Box, {
padding: 6,
borderRadius: 8,
hasRadius: true,
background: "neutral0",
borderColor: "neutral200",
children: [
(0, import_jsx_runtime5.jsx)(Box, {
paddingBottom: 2,
children: (0, import_jsx_runtime5.jsx)(Typography, {
variant: "delta",
fontWeight: "bold",
textColor: "neutral1000",
tag: "p",
children: formatMessage({
id: getTrad("Homepage.textBox.label.versioned"),
defaultMessage: "Try Strapi Cloud for Free!"
})
})
}),
(0, import_jsx_runtime5.jsxs)(Typography, {
variant: "epsilon",
textColor: "neutral1000",
tag: "p",
children: [
formatMessage({
id: getTrad("Homepage.textBox.text.versioned"),
defaultMessage: "Strapi Cloud offers a 14 days free trial for you to experiment with your project on the cloud including all features."
}),
" ",
(0, import_jsx_runtime5.jsx)(Link, {
href: "https://strapi.io/cloud?utm_campaign=Strapi%20Cloud%20Plugin&utm_source=In-Product&utm_medium=CTA",
children: "Learn more"
})
]
})
]
})
]
})
]
});
};
// node_modules/@strapi/plugin-cloud/dist/admin/pages/App.mjs
var App = () => {
return (0, import_jsx_runtime6.jsx)("div", {
children: (0, import_jsx_runtime6.jsxs)(Routes, {
children: [
(0, import_jsx_runtime6.jsx)(Route, {
index: true,
element: (0, import_jsx_runtime6.jsx)(HomePage, {})
}),
(0, import_jsx_runtime6.jsx)(Route, {
path: "*",
element: (0, import_jsx_runtime6.jsx)(Page.Error, {})
})
]
})
});
};
export {
App
};
//# sourceMappingURL=App-7CUG4FT5.js.map
+7
View File
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../@strapi/plugin-cloud/admin/src/utils/getTrad.ts", "../../../@strapi/plugin-cloud/admin/src/components/Icons/UploadIcon.tsx", "../../../@strapi/plugin-cloud/admin/src/components/Cloud.tsx", "../../../@strapi/plugin-cloud/admin/src/components/Icons/LinkIcon.tsx", "../../../@strapi/plugin-cloud/admin/src/components/Github.tsx", "../../../@strapi/plugin-cloud/admin/src/pages/assets/corner-ornament.svg", "../../../@strapi/plugin-cloud/admin/src/pages/assets/left-side-cloud.png", "../../../@strapi/plugin-cloud/admin/src/pages/assets/right-side-cloud.png", "../../../@strapi/plugin-cloud/admin/src/pages/HomePage.tsx", "../../../@strapi/plugin-cloud/admin/src/pages/App.tsx"],
"sourcesContent": ["import { pluginId } from '../pluginId';\n\nconst getTrad = (id: string) => `${pluginId}.${id}`;\n\nexport { getTrad };\n", "export const UploadIcon = () => (\n <svg width=\"142\" height=\"74\" viewBox=\"0 0 142 74\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g opacity=\"0.88\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M6.50177 8.21597C3.2423 8.21597 0.599976 10.8653 0.599976 14.1334C0.599976 17.4016 3.2423 20.0509 6.50177 20.0509H40.2263C36.9669 20.0509 34.3245 22.7002 34.3245 25.9684C34.3245 29.2365 36.9669 31.8858 40.2263 31.8858H21.6778C18.4183 31.8858 15.776 34.5352 15.776 37.8033C15.776 41.0714 18.4183 43.7207 21.6778 43.7207H30.2556C34.3654 43.7207 37.697 46.3701 37.697 49.6382C37.697 51.3602 36.6436 52.9534 34.5369 54.4177C33.3426 55.2478 31.828 55.4312 30.4754 55.9657C28.2859 56.8308 26.7365 58.9705 26.7365 61.4731C26.7365 64.7413 29.3788 67.3906 32.6383 67.3906H102.617C105.876 67.3906 108.519 64.7413 108.519 61.4731C108.519 58.205 105.876 55.5557 102.617 55.5557H135.498C138.758 55.5557 141.4 52.9063 141.4 49.6382C141.4 46.3701 138.758 43.7207 135.498 43.7207H101.774C98.5142 43.7207 95.8718 41.0714 95.8718 37.8033C95.8718 34.5352 98.5142 31.8858 101.774 31.8858H122.851C126.111 31.8858 128.753 29.2365 128.753 25.9684C128.753 22.7002 126.111 20.0509 122.851 20.0509H89.1269C92.3864 20.0509 95.0287 17.4016 95.0287 14.1334C95.0287 10.8653 92.3864 8.21597 89.1269 8.21597H6.50177ZM6.50177 31.8858C3.2423 31.8858 0.599976 34.5352 0.599976 37.8033C0.599976 41.0714 3.2423 43.7207 6.50177 43.7207C9.76124 43.7207 12.4036 41.0714 12.4036 37.8033C12.4036 34.5352 9.76124 31.8858 6.50177 31.8858Z\"\n fill=\"#DBDBFA\"\n />\n <path d=\"M73.6731 73V39.8706\" stroke=\"white\" strokeWidth=\"2\" strokeLinecap=\"round\" />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M50.6061 9.64246C44.2424 9.64246 39.0829 14.802 39.0829 21.1657C39.0829 21.3861 39.103 21.6007 39.116 21.8197C39.1016 22.0818 39.0829 22.3469 39.0829 22.6061C33.3371 25.3602 29 31.9069 29 38.6739C29 48.0582 36.6774 55.7355 46.0616 55.7355H53.487L56.9785 11.5668C55.1535 10.3526 52.9626 9.64246 50.6061 9.64246Z\"\n fill=\"#F1F1FE\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M99.4633 24.0465C99.2977 11.5164 89.1025 1 76.5334 1L90.8165 55.7355H96.5364C105.274 55.7355 112.423 48.5868 112.423 39.8507C112.423 32.1143 106.814 25.4308 99.4633 24.0465Z\"\n fill=\"#DEDDFE\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M95.2638 24.0465C95.0982 11.5164 84.9029 1 72.3339 1C64.3267 1 63.3991 3.40404 59.2493 9.64245C57.4228 8.42819 57.2845 9.64245 54.928 9.64245C48.5629 9.64245 43.4048 14.802 43.4048 21.1657C43.4048 21.3861 43.4249 21.6007 43.4379 21.8197C43.4235 22.0818 43.4048 22.3469 43.4048 22.6061C37.659 25.3602 33.3219 31.9069 33.3219 38.6739C33.3219 48.0582 40.9993 55.7355 50.3835 55.7355H57.8089H86.617H92.3369C101.074 55.7355 108.223 48.5868 108.223 39.8507C108.223 32.1143 102.614 25.4308 95.2638 24.0465Z\"\n fill=\"white\"\n />\n <path\n d=\"M99.6256 24.0466C99.6256 24.0466 95.9741 23.5064 92.4192 24.0466\"\n stroke=\"#8A88FE\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M39.1237 21.1657C39.1237 14.802 44.2832 9.64246 50.6469 9.64246C57.0107 9.64246 62.1702 14.802 62.1702 21.1657\"\n stroke=\"#8A88FE\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M90.9784 55.7355H96.6997C105.436 55.7355 112.584 48.5868 112.584 39.8507C112.584 32.1143 106.976 25.4308 99.6251 24.0465C99.4609 11.5164 89.2657 1 76.6953 1C68.688 1 61.1705 5.32843 57.0193 11.5668C55.1943 10.3526 53.0034 9.64245 50.6469 9.64245C44.2832 9.64245 39.1236 14.802 39.1236 21.1657C39.1236 21.3861 39.1438 21.6007 39.1568 21.8197C39.1424 22.0818 39.1236 22.3469 39.1236 22.6061C33.3778 25.3602 29.0408 31.9069 29.0408 38.6739C29.0408 48.0582 36.7182 55.7355 46.1024 55.7355H53.5277\"\n stroke=\"#8A88FE\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M72.2531 71.58V38.4506\"\n stroke=\"#8A88FE\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M72.2531 38.4506L83.7763 49.9739\"\n stroke=\"#8A88FE\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M60.7297 49.9739L72.253 38.4506\"\n stroke=\"#8A88FE\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </g>\n </svg>\n);\n", "/*\n *\n * Cloud component\n *\n */\n\nimport { Box, Flex, TyLine truncated
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEMA,IAAAA,UAAU,CAACC,OAAe,GAAGC,QAAS,IAAGD,EAAAA;;;;ACFxC,IAAME,aAAa,UACxBC,wBAACC,OAAAA;EAAIC,OAAM;EAAMC,QAAO;EAAKC,SAAQ;EAAaC,MAAK;EAAOC,OAAM;EAClE,cAAAC,yBAACC,KAAAA;IAAEC,SAAQ;;UACTT,wBAACU,QAAAA;QACCC,UAAS;QACTC,UAAS;QACTC,GAAE;QACFR,MAAK;;UAEPL,wBAACU,QAAAA;QAAKG,GAAE;QAAsBC,QAAO;QAAQC,aAAY;QAAIC,eAAc;;UAC3EhB,wBAACU,QAAAA;QACCC,UAAS;QACTC,UAAS;QACTC,GAAE;QACFR,MAAK;;UAEPL,wBAACU,QAAAA;QACCC,UAAS;QACTC,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U;YAClC,cAAAb,yBAACe,YAAAA;cAAWE,SAAQ;cAAUI,WAAU;cAAaL,KAAI;wBACtDrB,cAAc;gBACbuB,IAAIC,QAAQ,mBAAA;gBACZC,gBACE;cACJ,CAAA;;;;;UAINvB,0BAACLine truncated
"names": ["getTrad", "id", "pluginId", "UploadIcon", "_jsx", "svg", "width", "height", "viewBox", "fill", "xmlns", "_jsxs", "g", "opacity", "path", "fillRule", "clipRule", "d", "stroke", "strokeWidth", "strokeLinecap", "strokeLinejoin", "EmptyStateIconWrapper", "styled", "Box", "CloudBox", "formatMessage", "useIntl", "_jsx", "padding", "hasRadius", "_jsxs", "Flex", "alignItems", "direction", "paddingBottom", "aria-hidden", "UploadIcon", "Typography", "variant", "tag", "textAlign", "textColor", "id", "getTrad", "defaultMessage", "marginTop", "LinkButton", "endIcon", "ExternalLink", "href", "isExternal", "target", "LinkIcon", "_jsxs", "svg", "width", "height", "viewBox", "fill", "xmlns", "_jsx", "g", "clipPath", "opacity", "path", "fillRule", "clipRule", "d", "fillOpacity", "stroke", "strokeWidth", "strokeLinecap", "strokeLinejoin", "defs", "id", "rect", "transform", "EmptyStateIconWrapper", "styled", "Box", "CustomGithubButton", "LinkButton", "theme", "colors", "neutral0", "GithubBox", "formatMessage", "useIntl", "_jsx", "padding", "_jsxs", "Flex", "alignItems", "direction", "paddingBottom", "aria-hidden", "LinkIcon", "Typography", "variant", "tag", "textAlign", "textColor", "id", "getTrad", "defaultMessage", "marginTop", "isExternal", "startIcon", "GitHub", "href", "target", "img", "img", "img", "LogoContainer", "styled", "Box", "RightSideCloudContainer", "LeftSideCloudContainer", "HomePage", "formatMessage", "useIntl", "_jsxs", "paddingLeft", "paddingRight", "_jsx", "img", "alt", "aria-hidden", "src", "rightSideCloudPath", "leftSideCloudPath", "cornerOrnamentPath", "paddingBottom", "paddingTop", "Flex", "justifyContent", "alignItems", "direction", "minWidth", "Typography", "tag", "variant", "id", "getTrad", "defaultMessage", "textColor", "padding", "Layouts", "Grid", "size", "GithubBox", "CloudBox", "borderRadius", "hasRadius", "background", "borderColor", "fontWeight", "Link", "href", "App", "_jsx", "div", "_jsxs", "Routes", "Route", "index", "element", "HomePage", "path", "Page", "Error"]
}
File diff suppressed because it is too large. Load diff
+7
View File
@@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../../lodash/isString.js", "../../../lodash/_asciiSize.js", "../../../lodash/_unicodeSize.js", "../../../lodash/_stringSize.js", "../../../lodash/size.js", "../../../lodash/toLower.js", "../../../lodash/_baseIsRegExp.js", "../../../lodash/isRegExp.js", "../../../lodash/truncate.js", "../../../lodash/_createSet.js", "../../../lodash/_baseUniq.js", "../../../lodash/uniq.js", "../../../lodash/lodash.min.js", "../../../lodash/fp.js", "../../../@strapi/content-type-builder/admin/src/components/ContentTypeBuilderNav/useContentTypeBuilderMenu.ts", "../../../@strapi/content-type-builder/admin/src/components/ContentTypeBuilderNav/ContentTypeBuilderNav.tsx", "../../../@strapi/content-type-builder/admin/src/utils/isAllowedContentTypesForRelations.ts", "../../../@strapi/content-type-builder/admin/src/utils/findAttribute.ts", "../../../@strapi/content-type-builder/admin/src/utils/getYupInnerErrors.ts", "../../../@strapi/content-type-builder/admin/src/components/AllowedTypesSelect.tsx", "../../../@strapi/content-type-builder/admin/src/components/AttributeOptions/OptionBoxWrapper.tsx", "../../../@strapi/content-type-builder/admin/src/components/AttributeOptions/AttributeOption.tsx", "../../../@strapi/content-type-builder/admin/src/components/AttributeOptions/AttributeList.tsx", "../../../@strapi/content-type-builder/admin/src/components/AttributeOptions/CustomFieldOption.tsx", "../../../@strapi/content-type-builder/admin/src/components/AttributeOptions/EmptyAttributes.tsx", "../../../@strapi/content-type-builder/admin/src/components/AttributeOptions/CustomFieldsList.tsx", "../../../@strapi/content-type-builder/admin/src/components/AttributeOptions/AttributeOptions.tsx", "../../../@strapi/content-type-builder/admin/src/components/BooleanDefaultValueSelect.tsx", "../../../@strapi/content-type-builder/admin/src/components/CustomRadioGroup/Styles.tsx", "../../../@strapi/content-type-builder/admin/src/components/CustomRadioGroup/CustomRadioGroup.tsx", "../../../@strapi/content-type-builder/admin/src/components/BooleanRadioGroup.tsx", "../../../@strapi/content-type-builder/admin/src/components/CheckboxWithNumberField.tsx", "../../../@strapi/content-type-builder/admin/src/components/ContentTypeRadioGroup.tsx", "../../../@strapi/content-type-builder/admin/src/components/DraftAndPublishToggle.tsx", "../../../@strapi/content-type-builder/admin/src/components/FormModalEndActions.tsx", "../../../@strapi/content-type-builder/admin/src/components/FormModalHeader.tsx", "../../../@strapi/content-type-builder/admin/src/components/FormModalSubHeader.tsx", "../../../@strapi/content-type-builder/admin/src/components/IconPicker/IconPicker.tsx", "../../../@strapi/content-type-builder/admin/src/components/PluralName.tsx", "../../../@strapi/content-type-builder/admin/src/utils/parseDateValue.ts", "../../../@strapi/content-type-builder/admin/src/utils/timeFormat.ts", "../../../@strapi/content-type-builder/admin/src/components/GenericInputs.tsx", "../../../@strapi/content-type-builder/admin/src/components/Relation/RelationField/RelationTargetPicker/RelationTargetPicker.tsx", "../../../@strapi/content-type-builder/admin/src/components/Relation/RelationField/RelationField.tsx", "../../../@strapi/content-type-builder/admin/src/components/Relation/RelationNaturePicker/Components.tsx", "../../../@strapi/content-type-builder/admin/src/components/Relation/RelationNaturePicker/RelationNaturePicker.tsx", "../../../@strapi/content-type-builder/admin/src/components/Relation/Relation.tsx", "../../../@strapi/content-type-builder/admin/src/components/SelectCategory.tsx", "../../../@strapi/content-type-builder/admin/src/utils/getMaxDepth.ts", "../../../@strapi/content-type-builder/admin/src/components/SelectComponent.tsx", "../../../@strapi/content-type-builder/admin/src/components/SelectComponents.tsx", "../../../@strapi/content-type-builder/admin/src/components/SelectDateType.tsx", "../../../@strapi/content-type-builder/admin/src/components/SelectNumber.tsx", "../../../@strapi/content-type-builder/admin/src/components/SingularName.tsx", "../../../@strapi/content-type-builder/admin/src/components/TabForm.tsx", "../../../@strapi/content-type-builder/admin/src/components/TextareaEnum.tsx", "../../../@strapi/content-type-builder/admin/src/components/FormModal/attributes/nameField.ts", "../../../@strapi/content-type-builder/admin/src/components/FormModal/attributes/commonBaseForm.ts", "../../../@strapi/content-type-builder/admin/src/components/FormModal/component/componentForm.ts", "../../../@strapi/content-type-builder/admin/src/components/FormModal/attributes/attributeOptions.ts", "../../../@strapi/content-type-builder/admin/src/components/FormModal/attributes/advancedForm.ts", "../../../@strapi/content-type-builder/admin/src/components/FormModal/component/componentField.ts", "../../../@strapi/content-type-builder/admin/src/components/FormModal/attributes/baseForm.ts", "../../../@strapi/content-type-builder/admin/src/components/FormModal/attribLine truncated
"sourcesContent": ["var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n", "var baseProperty = require('./_baseProperty');\n\n/**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nvar asciiSize = baseProperty('length');\n\nmodule.exports = asciiSize;\n", "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nfunction unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n}\n\nmodule.exports = unicodeSize;\n", "var asciiSize = require('./_asciiSize'),\n hasUnicode = require('./_hasUnicode'),\n unicodeSize = require('./_unicodeSize');\n\n/**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\nfunction stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n}\n\nmodule.exports = stringSize;\n", "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n stringSize = require('./_stringSize');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\nfunction size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n}\n\nmodule.exports = size;\n", "var toString = require('./toString');\n\n/**\n * Converts `string`, as a whole, to lower case just like\n * [String#toLowerCase](https://mdn.io/toLowerCase).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.toLower('--Foo-Bar--');\n * // => '--foo-bar--'\n *\n * _.toLower('fooBar');\n * // => 'foobar'\n *\n * _.toLower('__FOO_BAR__');\n * // => '__foo_bar__'\n */\nfunction toLower(value) {\n return toStLine truncated
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,QAAI,aAAa;AAAjB,QACI,UAAU;AADd,QAEI,eAAe;AAGnB,QAAI,YAAY;AAmBhB,aAAS,SAAS,OAAO;AACvB,aAAO,OAAO,SAAS,YACpB,CAAC,QAA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KAAK;AACrB,mBAAO,aAAa;AAClB,kBAAI,KAAK,SAAS,MAAM,UAAU;AAChC,yBAAS;AAAA,cACX;AAAA,YACF;AACA,gBAAI,UAAU;AACZ,mBAAK,KAAK,QAAQ;AAAA,YACpB;AACA,mBAAO,KAAK,KAAK;AAAA,UACnB,WACS,CAAC,SAAS,MAAM,UAAU,UAAU,GAAG;AAC9C,gBAAI,SAAS,QAAQ;AACnB,mBAAK,KAAK,QAAQ;AAAA,YACpB;AACA,mBAAO,KAAK,KAAK;AAAA,UACnB;AAAA,QACF;AACA,aAAO;AAAA,IACT;AAEA,WAAO,UAAU;AAAA;AAAA;;;ACvEjB;AAAA;AAAA,QAAI,WAAW;AAoBf,aAASC,MAAK,OAAO;AACnB,aAAQ,SAASLine truncated
"names": ["size", "toLower", "truncate", "options", "Set", "set", "uniq", "n", "t", "r", "e", "u", "i", "o", "dt", "p", "x", "Z", "Ct", "Y", "J", "$t", "Yt", "Qt", "f", "c", "a", "l", "s", "h", "_", "v", "g", "y", "d", "b", "w", "Xt", "nr", "tr", "rr", "er", "ur", "ir", "or", "fr", "Wr", "cr", "ar", "lr", "sr", "hr", "pr", "_r", "vr", "gr", "yr", "dr", "br", "wr", "mr", "xr", "jr", "Ar", "kr", "Or", "Ir", "Rr", "Mr", "zr", "Er", "Br", "Sr", "Lr", "Cr", "Ur", "Tr", "Fr", "Nr", "Pr", "Gr", "Hr", "Jr", "Yr", "ne", "te", "ee", "ue", "oe", "fe", "_e", "de", "m", "j", "qs", "useContentTypeBuilderMenu", "components", "componentsGroupedByCategory", "contentTypes", "isInDevelopmentMode", "sortedContentTypesList", "modifiedData", "initialData", "useDataManager", "toggleNotification", "useNotification", "formatMessage", "useIntl", "trackUsage", "useTracking", "searchValue", "setSearchValue", "useState", "onOpenModalCreateSchema", "onOpenModalEditCategory", "useFormModalNavigation", "locale", "startsWith", "useFilter", "sensitivity", "formatter", "useCollator", "canOpenModalCreateCTorComponent", "Object", "keys", "some", "ct", "isTemporary", "component", "isEqual", "handleClickOpenModalCreateCollectionType", "nextState", "modalType", "kind", "actionType", "forTarget", "toggleNotificationCannotCreateSchema", "handleClickOpenModalCreateSingleType", "handleClickOpenModalCreateComponent", "type", "message", "id", "getTrad", "defaultMessage", "componentsData", "entries", "map", "category", "name", "title", "isEditable", "onClickEdit", "e", "data", "stopPropagation", "links", "uid", "to", "pluginId", "schema", "displayName", "sort", "a", "b", "compare", "displayedContentTypes", "filter", "obj", "visible", "customLink", "onClick", "contentType", "singleType", "section", "hasChild", "l", "Array", "isArray", "filteredLinksCount", "link", "filteredLinks", "length", "Boolean", "linksCount", "menu", "search", "value", "onChange", "clear", "SubNavLinkCustom", "styled", "SubNavLink", "ContentTypeBuilderNav", "menu", "search", "useContentTypeBuilderMenu", "formatMessage", "useIntl", "pluginName", "id", "getTrad", "defaultMessage", "_jsxs", "SubNav", "aria-label", "_jsx", "SubNavHeader", "searchable", "value", "onClear", "clear", "onChange", "e", "target", "label", "searchLabel", "SubNavSections", "map", "section", "Fragment", "SubNavSection", "title", "collapsable", "badgeLabel", "linksCount", "toString", "links", "link", "SubNavLinkSection", "upperFirst", "subLink", "tag", "NavLink", "to", "active", "isSubSectionChild", "name", "width", "customLink", "Box", "paddingLeft", "TextButton", "onClick", "startIcon", "Plus", "height", "marginTop", "cursor", "isAllowedContentTypesForRelations", "contentType", "kind", "restrictRelationsTo", "Array", "isArray", "length", "findAttribute", "attributes", "attributeToFind", "find", "name", "extractValuesFromYupError", "errorType", "errorParams", "getYupInnerErrors", "error", "inner", "reduce", "acc", "currentError", "path", "split", "join", "id", "message", "defaultMessage", "values", "type", "params", "options", "label", "children", "value", "AllowedTypesSelect", "intlLabel", "name", "onChange", "formatMessage", "useIntl", "displayedValue", "length", "id", "defaultMessage", "sort", "map", "v", "upperFirst", "join", "_jsxs", "Field", "Root", "_jsx", "Label", "MultiSelectNested", "customizeContent", "values", "target", "type", "OptionBoxWrapper", "styled", "Box", "theme", "colors", "neutral200", "primary100", "primary200", "newAttributes", "NewBadge", "_jsx", "Flex", "grow", "justifyContent", "_jsxs", "gap", "hasRadius", "background", "padding", "Sparkle", "width", "height", "fill", "Typography", "textColor", "variant", "AttributeOption", "type", "formatMessage", "useIntl", "onClickSelectField", "useFormModalNavigation", "handleClick", "step", "attributeType", "OptionBoxWrapper", "tag", "onClick", "AttributeIcon", "Box", "paddingLeft", "fontWeight", "id", "getTrad", "defaultMessage", "includes", "AttributeList", "attributes", "_jsx", "KeyboardNavigable", "tagName", "Flex", "direction", "alignItems", "gap", "map", "attributeRow", "index", "Grid", "Root", "attribute", "Item", "col", "AttributeOption", "type", "CustomFieldOption", "customFieldUid", "customField", "type", "intlLabel", "intlDescription", "formatMessage", "useIntl", "onClickSelectCustomField", "useFormModalNavigation", "handleClick", "attributeType", "_jsx", "OptionBoxWrapper", "padding", "tag", "hasRadius", "onClick", "_jsxs", "Flex", "AttributeIcon", "Box", "paddingLeft", "Typography", "fontWeight", "textColor", "variant", "EmptyCard", "styled", "Box", "theme", "colors", "neutral150", "EmptyCardGrid", "_jsx", "Flex", "wrap", "gap", "Array", "map", "_", "idx", "height", "width", "hasRadius", "EmptyAttributes", "formatMessage", "useIntl", "_jsxs", "position", "top", "alignItems", "justifyContent", "direction", "EmptyDocuments", "paddingTop", "paddingBottom", "textAlign", "Typography", "variant", "tag", "textColor", "id", "getTrad", "dLine truncated
}
File diff suppressed because it is too large. Load diff
Loaded 100 of 65041 files, more files were not shown because too many files have changed in this diff. Show more