slice-machine-ui 2.17.1-alpha.jp-cr-ui-nested-ct-remove-section.4 → 2.17.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/404.html +1 -1
- package/out/_next/static/{lJJzAlHGcSw1BUMcXzln8 → _h_nY2jiDmWWtQa_opVhL}/_buildManifest.js +1 -1
- package/out/_next/static/chunks/630-fdfe76702927de6a.js +1 -0
- package/out/_next/static/chunks/pages/{_app-687d150f9507f3fe.js → _app-dcc8de52d6cf6d60.js} +1 -1
- package/out/changelog.html +1 -1
- package/out/changes.html +1 -1
- package/out/custom-types/[customTypeId].html +1 -1
- package/out/custom-types.html +1 -1
- package/out/index.html +1 -1
- package/out/labs.html +1 -1
- package/out/page-types/[pageTypeId].html +1 -1
- package/out/settings.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation]/simulator.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation].html +1 -1
- package/out/slices.html +1 -1
- package/package.json +3 -3
- package/src/features/builder/fields/contentRelationship/ContentRelationshipFieldPicker.tsx +89 -91
- package/out/_next/static/chunks/630-54ff1155a2ea42de.js +0 -1
- /package/out/_next/static/{lJJzAlHGcSw1BUMcXzln8 → _h_nY2jiDmWWtQa_opVhL}/_ssgManifest.js +0 -0
package/out/changelog.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/183-4ea255b867ff171b.js" defer=""></script><script src="/_next/static/chunks/870-a72b74312773efea.js" defer=""></script><script src="/_next/static/chunks/pages/changelog-063c5e11dfc8fd55.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changelog","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/changes.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d98ebc475f8423a3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d98ebc475f8423a3.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d98ebc475f8423a3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d98ebc475f8423a3.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/8eec4907-b712959d9f984b68.js" defer=""></script><script src="/_next/static/chunks/918-fa4f2563cb5fd014.js" defer=""></script><script src="/_next/static/chunks/34-e684c5fd75cc9dd0.js" defer=""></script><script src="/_next/static/chunks/658-8231c0b729e0124a.js" defer=""></script><script src="/_next/static/chunks/pages/changes-564336edb0ed18b0.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changes","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/56f2a6684a524374.css" as="style"/><link rel="stylesheet" href="/_next/static/css/56f2a6684a524374.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/56f2a6684a524374.css" as="style"/><link rel="stylesheet" href="/_next/static/css/56f2a6684a524374.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/f36c6662-1f3a854183168b10.js" defer=""></script><script src="/_next/static/chunks/4c744e84-480e426e4b1cfef3.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-09fb3b997ad1eb70.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/183-4ea255b867ff171b.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/349-7118116b93278f73.js" defer=""></script><script src="/_next/static/chunks/385-b949173dfa03dd3e.js" defer=""></script><script src="/_next/static/chunks/34-e684c5fd75cc9dd0.js" defer=""></script><script src="/_next/static/chunks/647-7b9b5aa9468f9e4b.js" defer=""></script><script src="/_next/static/chunks/630-fdfe76702927de6a.js" defer=""></script><script src="/_next/static/chunks/268-6a9214b97195af9c.js" defer=""></script><script src="/_next/static/chunks/882-151468121d542ed6.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types/%5BcustomTypeId%5D-a408f5a660e096a6.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/custom-types/[customTypeId]","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/custom-types.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/4e475d945cf8a890.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4e475d945cf8a890.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/4e475d945cf8a890.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4e475d945cf8a890.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/647-7b9b5aa9468f9e4b.js" defer=""></script><script src="/_next/static/chunks/248-03446cd9e9f13730.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types-5acd56959b60346f.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/custom-types","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/4e475d945cf8a890.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4e475d945cf8a890.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/4e475d945cf8a890.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4e475d945cf8a890.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/647-7b9b5aa9468f9e4b.js" defer=""></script><script src="/_next/static/chunks/248-03446cd9e9f13730.js" defer=""></script><script src="/_next/static/chunks/pages/index-0d8cb369de720a35.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/labs.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/pages/labs-9630bfb1005be02b.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/labs","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/56f2a6684a524374.css" as="style"/><link rel="stylesheet" href="/_next/static/css/56f2a6684a524374.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/56f2a6684a524374.css" as="style"/><link rel="stylesheet" href="/_next/static/css/56f2a6684a524374.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/f36c6662-1f3a854183168b10.js" defer=""></script><script src="/_next/static/chunks/4c744e84-480e426e4b1cfef3.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-09fb3b997ad1eb70.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/183-4ea255b867ff171b.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/349-7118116b93278f73.js" defer=""></script><script src="/_next/static/chunks/385-b949173dfa03dd3e.js" defer=""></script><script src="/_next/static/chunks/34-e684c5fd75cc9dd0.js" defer=""></script><script src="/_next/static/chunks/647-7b9b5aa9468f9e4b.js" defer=""></script><script src="/_next/static/chunks/630-fdfe76702927de6a.js" defer=""></script><script src="/_next/static/chunks/268-6a9214b97195af9c.js" defer=""></script><script src="/_next/static/chunks/882-151468121d542ed6.js" defer=""></script><script src="/_next/static/chunks/pages/page-types/%5BpageTypeId%5D-f5e851ebe35049a8.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/page-types/[pageTypeId]","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/settings.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/e5f781f20e24a5ea.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e5f781f20e24a5ea.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/e5f781f20e24a5ea.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e5f781f20e24a5ea.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/pages/settings-01f4aeb9112a1f87.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/settings","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/72585f70-28b4d7d5384b3703.js" defer=""></script><script src="/_next/static/chunks/157-54b8336d20b41933.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D/simulator-5008e29008aa04f4.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices/[lib]/[sliceName]/[variation]/simulator","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/cdee5b195444f185.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cdee5b195444f185.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/cdee5b195444f185.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cdee5b195444f185.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/f36c6662-1f3a854183168b10.js" defer=""></script><script src="/_next/static/chunks/4c744e84-480e426e4b1cfef3.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-09fb3b997ad1eb70.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/183-4ea255b867ff171b.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/349-7118116b93278f73.js" defer=""></script><script src="/_next/static/chunks/34-e684c5fd75cc9dd0.js" defer=""></script><script src="/_next/static/chunks/630-fdfe76702927de6a.js" defer=""></script><script src="/_next/static/chunks/658-8231c0b729e0124a.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D-bd5e45632c419567.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices/[lib]/[sliceName]/[variation]","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/slices.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/efa5152b7c0f35c0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/efa5152b7c0f35c0.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/cc9b10286400c2b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cc9b10286400c2b9.css" data-n-g=""/><link rel="preload" href="/_next/static/css/efa5152b7c0f35c0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/efa5152b7c0f35c0.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-b3522fdebabf510a.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-c46f4dcf6e3174bd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-dcc8de52d6cf6d60.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/34-e684c5fd75cc9dd0.js" defer=""></script><script src="/_next/static/chunks/658-8231c0b729e0124a.js" defer=""></script><script src="/_next/static/chunks/268-6a9214b97195af9c.js" defer=""></script><script src="/_next/static/chunks/pages/slices-4a60cd5f2c71327e.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_buildManifest.js" defer=""></script><script src="/_next/static/_h_nY2jiDmWWtQa_opVhL/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices","query":{},"buildId":"_h_nY2jiDmWWtQa_opVhL","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slice-machine-ui",
|
|
3
|
-
"version": "2.17.1-
|
|
3
|
+
"version": "2.17.1-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A visual builder for your Slice Models with all the tools you need to generate data models and mock CMS content locally.",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"start-slicemachine": "./bin/start-slicemachine.cjs"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@slicemachine/manager": "0.25.1-
|
|
39
|
-
"start-slicemachine": "0.12.59-
|
|
38
|
+
"@slicemachine/manager": "0.25.1-beta.1",
|
|
39
|
+
"start-slicemachine": "0.12.59-beta.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@emotion/react": "11.11.1",
|
|
@@ -566,9 +566,7 @@ function TreeViewCustomType(props: TreeViewCustomTypeProps) {
|
|
|
566
566
|
|
|
567
567
|
// Content relationship field with custom types
|
|
568
568
|
|
|
569
|
-
if (
|
|
570
|
-
isContentRelationshipFieldWithSingleCustomtype(field, allCustomTypes)
|
|
571
|
-
) {
|
|
569
|
+
if (isContentRelationshipFieldWithSingleCustomtype(field)) {
|
|
572
570
|
const onContentRelationshipFieldChange = (
|
|
573
571
|
newCrFields: PickerContentRelationshipFieldValue,
|
|
574
572
|
) => {
|
|
@@ -660,91 +658,100 @@ function TreeViewContentRelationshipField(
|
|
|
660
658
|
allCustomTypes,
|
|
661
659
|
} = props;
|
|
662
660
|
|
|
661
|
+
if (!field.config?.customtypes) return null;
|
|
662
|
+
|
|
663
663
|
const resolvedCustomTypes = resolveContentRelationshipCustomTypes(
|
|
664
|
-
field.config
|
|
664
|
+
field.config.customtypes,
|
|
665
665
|
allCustomTypes,
|
|
666
666
|
);
|
|
667
667
|
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
const onNestedCustomTypeChange = (
|
|
671
|
-
newNestedCustomTypeFields: PickerNestedCustomTypeValue,
|
|
672
|
-
) => {
|
|
673
|
-
onCrFieldChange({
|
|
674
|
-
...crFieldsCheckMap,
|
|
675
|
-
[customType.id]: newNestedCustomTypeFields,
|
|
676
|
-
});
|
|
677
|
-
};
|
|
678
|
-
|
|
679
|
-
const nestedCtFieldsCheckMap = crFieldsCheckMap[customType.id] ?? {};
|
|
668
|
+
if (resolvedCustomTypes.length === 0) return null;
|
|
680
669
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
670
|
+
return (
|
|
671
|
+
<TreeViewSection
|
|
672
|
+
title={fieldId}
|
|
673
|
+
subtitle={getPickedFieldsLabel(
|
|
674
|
+
countPickedFields(crFieldsCheckMap).pickedFields,
|
|
675
|
+
)}
|
|
676
|
+
>
|
|
677
|
+
{resolvedCustomTypes.map((customType) => {
|
|
678
|
+
if (typeof customType === "string") return null;
|
|
684
679
|
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
newGroupFields: PickerLeafGroupFieldValue,
|
|
680
|
+
const onNestedCustomTypeChange = (
|
|
681
|
+
newNestedCustomTypeFields: PickerNestedCustomTypeValue,
|
|
688
682
|
) => {
|
|
689
|
-
|
|
690
|
-
...
|
|
691
|
-
[
|
|
683
|
+
onCrFieldChange({
|
|
684
|
+
...crFieldsCheckMap,
|
|
685
|
+
[customType.id]: newNestedCustomTypeFields,
|
|
692
686
|
});
|
|
693
687
|
};
|
|
694
688
|
|
|
695
|
-
const
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
689
|
+
const nestedCtFieldsCheckMap = crFieldsCheckMap[customType.id] ?? {};
|
|
690
|
+
|
|
691
|
+
const renderedFields = getCustomTypeStaticFields(customType).map(
|
|
692
|
+
([fieldId, field]) => {
|
|
693
|
+
// Group field
|
|
694
|
+
|
|
695
|
+
if (field.type === "Group") {
|
|
696
|
+
const onGroupFieldsChange = (
|
|
697
|
+
newGroupFields: PickerLeafGroupFieldValue,
|
|
698
|
+
) => {
|
|
699
|
+
onNestedCustomTypeChange({
|
|
700
|
+
...nestedCtFieldsCheckMap,
|
|
701
|
+
[fieldId]: { type: "group", value: newGroupFields },
|
|
702
|
+
});
|
|
703
|
+
};
|
|
704
|
+
|
|
705
|
+
const groupFieldCheckMap = nestedCtFieldsCheckMap[fieldId] ?? {};
|
|
706
|
+
|
|
707
|
+
return (
|
|
708
|
+
<TreeViewLeafGroupField
|
|
709
|
+
key={fieldId}
|
|
710
|
+
group={field}
|
|
711
|
+
groupId={fieldId}
|
|
712
|
+
onChange={onGroupFieldsChange}
|
|
713
|
+
fieldCheckMap={
|
|
714
|
+
groupFieldCheckMap.type === "group"
|
|
715
|
+
? groupFieldCheckMap.value
|
|
716
|
+
: {}
|
|
717
|
+
}
|
|
718
|
+
/>
|
|
719
|
+
);
|
|
707
720
|
}
|
|
708
|
-
/>
|
|
709
|
-
);
|
|
710
|
-
}
|
|
711
721
|
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
const onCheckedChange = (newChecked: boolean) => {
|
|
715
|
-
onNestedCustomTypeChange({
|
|
716
|
-
...nestedCtFieldsCheckMap,
|
|
717
|
-
[fieldId]: { type: "checkbox", value: newChecked },
|
|
718
|
-
});
|
|
719
|
-
};
|
|
722
|
+
// Regular field
|
|
720
723
|
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
724
|
+
const onCheckedChange = (newChecked: boolean) => {
|
|
725
|
+
onNestedCustomTypeChange({
|
|
726
|
+
...nestedCtFieldsCheckMap,
|
|
727
|
+
[fieldId]: { type: "checkbox", value: newChecked },
|
|
728
|
+
});
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
return (
|
|
732
|
+
<TreeViewCheckbox
|
|
733
|
+
key={fieldId}
|
|
734
|
+
title={fieldId}
|
|
735
|
+
checked={nestedCtFieldsCheckMap[fieldId]?.value === true}
|
|
736
|
+
onCheckedChange={onCheckedChange}
|
|
737
|
+
/>
|
|
738
|
+
);
|
|
739
|
+
},
|
|
740
|
+
);
|
|
731
741
|
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
)}
|
|
745
|
-
badge={getTypeFormatLabel(customType.format)}
|
|
746
|
-
>
|
|
747
|
-
{renderedFields.length > 0 ? renderedFields : <NoFieldsAvailable />}
|
|
742
|
+
return (
|
|
743
|
+
<TreeViewSection
|
|
744
|
+
key={customType.id}
|
|
745
|
+
title={customType.id}
|
|
746
|
+
subtitle={getPickedFieldsLabel(
|
|
747
|
+
countPickedFields(nestedCtFieldsCheckMap).pickedFields,
|
|
748
|
+
)}
|
|
749
|
+
badge={getTypeFormatLabel(customType.format)}
|
|
750
|
+
>
|
|
751
|
+
{renderedFields.length > 0 ? renderedFields : <NoFieldsAvailable />}
|
|
752
|
+
</TreeViewSection>
|
|
753
|
+
);
|
|
754
|
+
})}
|
|
748
755
|
</TreeViewSection>
|
|
749
756
|
);
|
|
750
757
|
}
|
|
@@ -768,6 +775,8 @@ function TreeViewLeafGroupField(props: TreeViewLeafGroupFieldProps) {
|
|
|
768
775
|
onChange: onGroupFieldChange,
|
|
769
776
|
} = props;
|
|
770
777
|
|
|
778
|
+
if (!group.config?.fields) return null;
|
|
779
|
+
|
|
771
780
|
const renderedFields = getGroupFields(group).map(({ fieldId }) => {
|
|
772
781
|
const onCheckedChange = (newChecked: boolean) => {
|
|
773
782
|
onGroupFieldChange({
|
|
@@ -822,7 +831,7 @@ function TreeViewFirstLevelGroupField(
|
|
|
822
831
|
const renderedFields = getGroupFields(group).map(({ fieldId, field }) => {
|
|
823
832
|
// Content relationship field with custom types
|
|
824
833
|
|
|
825
|
-
if (isContentRelationshipFieldWithSingleCustomtype(field
|
|
834
|
+
if (isContentRelationshipFieldWithSingleCustomtype(field)) {
|
|
826
835
|
const onContentRelationshipFieldChange = (
|
|
827
836
|
newCrFields: PickerContentRelationshipFieldValue,
|
|
828
837
|
) => {
|
|
@@ -926,10 +935,9 @@ function useCustomTypes(linkCustomtypes: LinkCustomtypes | undefined): {
|
|
|
926
935
|
}
|
|
927
936
|
|
|
928
937
|
function resolveContentRelationshipCustomTypes(
|
|
929
|
-
linkCustomtypes: LinkCustomtypes
|
|
938
|
+
linkCustomtypes: LinkCustomtypes,
|
|
930
939
|
allCustomTypes: CustomType[],
|
|
931
940
|
): CustomType[] {
|
|
932
|
-
if (!linkCustomtypes) return [];
|
|
933
941
|
return linkCustomtypes.flatMap((linkCustomtype) => {
|
|
934
942
|
return allCustomTypes.find((ct) => ct.id === getId(linkCustomtype)) ?? [];
|
|
935
943
|
});
|
|
@@ -1419,21 +1427,11 @@ function isContentRelationshipField(field: DynamicWidget): field is Link {
|
|
|
1419
1427
|
*/
|
|
1420
1428
|
function isContentRelationshipFieldWithSingleCustomtype(
|
|
1421
1429
|
field: NestableWidget | Group,
|
|
1422
|
-
allCustomTypes: CustomType[],
|
|
1423
1430
|
): field is Link {
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
field.config.customtypes.length
|
|
1428
|
-
) {
|
|
1429
|
-
return false;
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
return (
|
|
1433
|
-
resolveContentRelationshipCustomTypes(
|
|
1434
|
-
field.config.customtypes,
|
|
1435
|
-
allCustomTypes,
|
|
1436
|
-
).length === 1
|
|
1431
|
+
return !!(
|
|
1432
|
+
isContentRelationshipField(field) &&
|
|
1433
|
+
field.config?.customtypes &&
|
|
1434
|
+
field.config.customtypes.length === 1
|
|
1437
1435
|
);
|
|
1438
1436
|
}
|
|
1439
1437
|
|