intlayer-editor 7.5.10 → 7.5.11
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/client/dist/assets/{CodeBlockShiki-DpCGruCb.js → CodeBlockShiki-EiAndB3z.js} +3 -3
- package/client/dist/assets/{bundle-web-B0b7KTfP.js → bundle-web-6lGPc2DD.js} +1 -1
- package/client/dist/assets/{index-DxwJ6VyR.css → index-BQYneYFo.css} +0 -4
- package/client/dist/assets/{index-ChXpK4Au.js → index-r91_MxC4.js} +135 -13
- package/client/dist/index.html +2 -2
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-BQglRdBF.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-derivative-Cswrtqyq.js","assets/html-BOjX3v2Q.js","assets/bundle-web-
|
|
2
|
-
import { r as reactExports, j as jsxRuntimeExports, C as CodeDefault, _ as __vitePreload } from "./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-BQglRdBF.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-derivative-Cswrtqyq.js","assets/html-BOjX3v2Q.js","assets/bundle-web-6lGPc2DD.js","assets/index-r91_MxC4.js","assets/index-BQYneYFo.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { r as reactExports, j as jsxRuntimeExports, C as CodeDefault, _ as __vitePreload } from "./index-r91_MxC4.js";
|
|
3
3
|
const languageCache = /* @__PURE__ */ new Map();
|
|
4
4
|
const themeCache = /* @__PURE__ */ new Map();
|
|
5
5
|
const loadLanguage = async (lang) => {
|
|
@@ -60,7 +60,7 @@ const loadTheme = async (themeName) => {
|
|
|
60
60
|
const highlightCode = async (code, lang, isDarkMode) => {
|
|
61
61
|
const themeName = isDarkMode ? "github-dark" : "github-light";
|
|
62
62
|
const [{ codeToHtml }, languageModule, themeModule] = await Promise.all([
|
|
63
|
-
__vitePreload(() => import("./bundle-web-
|
|
63
|
+
__vitePreload(() => import("./bundle-web-6lGPc2DD.js"), true ? __vite__mapDeps([7,8,9]) : void 0),
|
|
64
64
|
loadLanguage(lang),
|
|
65
65
|
loadTheme(themeName)
|
|
66
66
|
]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-ChYFFmg7.js","assets/html-BOjX3v2Q.js","assets/javascript-DLs729Nk.js","assets/css-BtVcDqlU.js","assets/angular-ts-CpuGw9DZ.js","assets/scss-Dq-LbI_c.js","assets/astro-B0lt4qz0.js","assets/json-D07AUpjp.js","assets/typescript-Cju7JbYj.js","assets/postcss-kj1IbjVd.js","assets/tsx-B9RA6cgQ.js","assets/blade-DtOFwYfC.js","assets/html-derivative-Cswrtqyq.js","assets/xml-BMzZeaqs.js","assets/java-BfXh-0uJ.js","assets/sql-DzUuSofg.js","assets/coffee-DJkIX6_2.js","assets/cpp-zh2ePAE_.js","assets/regexp-BxWeO75u.js","assets/glsl-CGsiYPcu.js","assets/c-C4VtT7JA.js","assets/graphql-oNSp8dGZ.js","assets/jsx-BPmvoin2.js","assets/haml-BJ44RGT2.js","assets/handlebars-DTnHNTeU.js","assets/yaml-B_vW5iTY.js","assets/http-B1QlEqj7.js","assets/bash-Bz2gZrDc.js","assets/hurl-Br_hZn4E.js","assets/csv-Ba84L8e5.js","assets/jinja-BAZ4h1JD.js","assets/jison-Bwp1bXaL.js","assets/julia-D0f5tMoo.js","assets/python-CrdIx4PZ.js","assets/r-oprfD2-9.js","assets/marko-rwefYVra.js","assets/less-BAzLMJNR.js","assets/mdc-ucHOH9Vl.js","assets/markdown-F_EULe_G.js","assets/php-CI-6KGJr.js","assets/pug-C-LeC0-n.js","assets/svelte-CYSO_rLN.js","assets/ts-tags-DCkNjov3.js","assets/vue-BQglRdBF.js","assets/vue-html-BS551n9F.js","assets/vue-vine-B43RKH9N.js","assets/stylus-DXFa_2Jl.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import { _ as __vitePreload } from "./index-
|
|
2
|
+
import { _ as __vitePreload } from "./index-r91_MxC4.js";
|
|
3
3
|
let ShikiError$2 = class ShikiError extends Error {
|
|
4
4
|
constructor(message) {
|
|
5
5
|
super(message);
|
|
@@ -12571,6 +12571,11 @@ const getAppLogger = (configuration2, globalDetails) => (content2, details) => l
|
|
|
12571
12571
|
...details?.config ?? {}
|
|
12572
12572
|
}
|
|
12573
12573
|
});
|
|
12574
|
+
const colorize = (s2, color2, reset) => color2 ? `${color2}${s2}${reset ? typeof reset === "boolean" ? ANSIColors.RESET : reset : ANSIColors.RESET}` : s2;
|
|
12575
|
+
const colorizeKey = (keyPath, color2 = ANSIColors.BEIGE, reset = ANSIColors.RESET) => [keyPath].flat().map((key2) => colorize(key2, color2, reset)).join(`, `);
|
|
12576
|
+
colorize("✗", ANSIColors.RED);
|
|
12577
|
+
colorize("✓", ANSIColors.GREEN);
|
|
12578
|
+
colorize("⏲", ANSIColors.BLUE);
|
|
12574
12579
|
var __defProp$2 = Object.defineProperty;
|
|
12575
12580
|
var __export$1 = (all, symbols) => {
|
|
12576
12581
|
let target = {};
|
|
@@ -13830,7 +13835,7 @@ const createSafeFallback = (path = "") => {
|
|
|
13830
13835
|
const getIntlayer = (key2, locale, plugins) => {
|
|
13831
13836
|
const dictionary = getDictionaries()[key2];
|
|
13832
13837
|
if (!dictionary) {
|
|
13833
|
-
getAppLogger(configuration)(`Dictionary
|
|
13838
|
+
getAppLogger(configuration)(`Dictionary ${colorizeKey(key2)} was not found. Using fallback proxy.`, {
|
|
13834
13839
|
level: "warn",
|
|
13835
13840
|
isVerbose: true
|
|
13836
13841
|
});
|
|
@@ -21029,13 +21034,14 @@ const containerVariants$1 = cva("flex flex-col text-text backdrop-blur", {
|
|
|
21029
21034
|
primary: "border-primary",
|
|
21030
21035
|
secondary: "border-secondary",
|
|
21031
21036
|
neutral: "border-neutral",
|
|
21037
|
+
card: "border-card",
|
|
21032
21038
|
text: "border-text",
|
|
21033
21039
|
error: "border-error",
|
|
21034
21040
|
warning: "border-warning",
|
|
21035
21041
|
success: "border-success"
|
|
21036
21042
|
},
|
|
21037
21043
|
background: {
|
|
21038
|
-
none: "
|
|
21044
|
+
none: "",
|
|
21039
21045
|
hoverable: "bg-opacity-5! backdrop-blur-0 hover:bg-opacity-10! hover:backdrop-blur focus:bg-opacity-10! focus:backdrop-blur aria-selected:bg-opacity-15! aria-selected:backdrop-blur",
|
|
21040
21046
|
with: ""
|
|
21041
21047
|
},
|
|
@@ -21056,7 +21062,11 @@ const containerVariants$1 = cva("flex flex-col text-text backdrop-blur", {
|
|
|
21056
21062
|
padding: "none",
|
|
21057
21063
|
separator: "without",
|
|
21058
21064
|
gap: "none"
|
|
21059
|
-
}
|
|
21065
|
+
},
|
|
21066
|
+
compoundVariants: [{
|
|
21067
|
+
background: "none",
|
|
21068
|
+
class: "bg-transparent"
|
|
21069
|
+
}]
|
|
21060
21070
|
});
|
|
21061
21071
|
let ContainerRoundedSize = /* @__PURE__ */ (function(ContainerRoundedSize$1) {
|
|
21062
21072
|
ContainerRoundedSize$1["NONE"] = "none";
|
|
@@ -28712,6 +28722,13 @@ const getProjectAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
|
28712
28722
|
method: "PATCH",
|
|
28713
28723
|
body: { clientId }
|
|
28714
28724
|
});
|
|
28725
|
+
const triggerBuild = async (otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/build`, authAPIOptions, otherOptions, { method: "POST" });
|
|
28726
|
+
const triggerWebhook = async (webhookIndex, otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/webhook`, authAPIOptions, otherOptions, {
|
|
28727
|
+
method: "POST",
|
|
28728
|
+
body: { webhookIndex }
|
|
28729
|
+
});
|
|
28730
|
+
const getCIConfig = async (otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/ci`, authAPIOptions, otherOptions, { method: "GET" });
|
|
28731
|
+
const pushCIConfig = async (otherOptions = {}) => await fetcher(`${PROJECT_API_ROUTE}/ci`, authAPIOptions, otherOptions, { method: "POST" });
|
|
28715
28732
|
return {
|
|
28716
28733
|
getProjects,
|
|
28717
28734
|
addProject,
|
|
@@ -28723,7 +28740,11 @@ const getProjectAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
|
28723
28740
|
unselectProject,
|
|
28724
28741
|
addNewAccessKey,
|
|
28725
28742
|
deleteAccessKey,
|
|
28726
|
-
refreshAccessKey
|
|
28743
|
+
refreshAccessKey,
|
|
28744
|
+
triggerBuild,
|
|
28745
|
+
triggerWebhook,
|
|
28746
|
+
getCIConfig,
|
|
28747
|
+
pushCIConfig
|
|
28727
28748
|
};
|
|
28728
28749
|
};
|
|
28729
28750
|
const getStripeAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
@@ -28801,6 +28822,90 @@ const getUserAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
|
28801
28822
|
getVerifyEmailStatusURL
|
|
28802
28823
|
};
|
|
28803
28824
|
};
|
|
28825
|
+
const getBitbucketAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
28826
|
+
const backendURL = intlayerConfig?.editor?.backendURL ?? configuration?.editor?.backendURL;
|
|
28827
|
+
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
28828
|
+
const BITBUCKET_API_ROUTE = `${backendURL}/api/bitbucket`;
|
|
28829
|
+
const getAuthUrl = async (redirectUri, otherOptions = {}) => await fetcher(`${BITBUCKET_API_ROUTE}/auth-url`, authAPIOptions, otherOptions, { params: { redirectUri } });
|
|
28830
|
+
const authenticate = async (code, otherOptions = {}) => await fetcher(`${BITBUCKET_API_ROUTE}/auth`, authAPIOptions, otherOptions, {
|
|
28831
|
+
method: "POST",
|
|
28832
|
+
body: { code }
|
|
28833
|
+
});
|
|
28834
|
+
const getRepositories = async (token, otherOptions = {}) => await fetcher(`${BITBUCKET_API_ROUTE}/repos`, authAPIOptions, otherOptions, { params: token ? { token } : void 0 });
|
|
28835
|
+
const checkIntlayerConfig = async (token, workspace, repoSlug, branch = "main", otherOptions = {}) => await fetcher(`${BITBUCKET_API_ROUTE}/check-config`, authAPIOptions, otherOptions, {
|
|
28836
|
+
method: "POST",
|
|
28837
|
+
body: {
|
|
28838
|
+
token: token ?? void 0,
|
|
28839
|
+
workspace,
|
|
28840
|
+
repoSlug,
|
|
28841
|
+
branch
|
|
28842
|
+
}
|
|
28843
|
+
});
|
|
28844
|
+
const getConfigFile = async (token, workspace, repoSlug, branch = "main", path = "intlayer.config.ts", otherOptions = {}) => await fetcher(`${BITBUCKET_API_ROUTE}/get-config-file`, authAPIOptions, otherOptions, {
|
|
28845
|
+
method: "POST",
|
|
28846
|
+
body: {
|
|
28847
|
+
token: token ?? void 0,
|
|
28848
|
+
workspace,
|
|
28849
|
+
repoSlug,
|
|
28850
|
+
branch,
|
|
28851
|
+
path
|
|
28852
|
+
}
|
|
28853
|
+
});
|
|
28854
|
+
return {
|
|
28855
|
+
getAuthUrl,
|
|
28856
|
+
authenticate,
|
|
28857
|
+
getRepositories,
|
|
28858
|
+
checkIntlayerConfig,
|
|
28859
|
+
getConfigFile
|
|
28860
|
+
};
|
|
28861
|
+
};
|
|
28862
|
+
const getGitlabAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
28863
|
+
const backendURL = intlayerConfig?.editor?.backendURL ?? configuration?.editor?.backendURL;
|
|
28864
|
+
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
28865
|
+
const GITLAB_API_ROUTE = `${backendURL}/api/gitlab`;
|
|
28866
|
+
const getAuthUrl = async (redirectUri, instanceUrl, otherOptions = {}) => await fetcher(`${GITLAB_API_ROUTE}/auth-url`, authAPIOptions, otherOptions, { params: {
|
|
28867
|
+
redirectUri,
|
|
28868
|
+
...instanceUrl && { instanceUrl }
|
|
28869
|
+
} });
|
|
28870
|
+
const authenticate = async (code, redirectUri, instanceUrl, otherOptions = {}) => await fetcher(`${GITLAB_API_ROUTE}/auth`, authAPIOptions, otherOptions, {
|
|
28871
|
+
method: "POST",
|
|
28872
|
+
body: {
|
|
28873
|
+
code,
|
|
28874
|
+
redirectUri,
|
|
28875
|
+
instanceUrl
|
|
28876
|
+
}
|
|
28877
|
+
});
|
|
28878
|
+
const getProjects = async (token, instanceUrl, otherOptions = {}) => await fetcher(`${GITLAB_API_ROUTE}/projects`, authAPIOptions, otherOptions, { params: {
|
|
28879
|
+
...token && { token },
|
|
28880
|
+
...instanceUrl && { instanceUrl }
|
|
28881
|
+
} });
|
|
28882
|
+
const checkIntlayerConfig = async (token, projectId, branch = "main", instanceUrl, otherOptions = {}) => await fetcher(`${GITLAB_API_ROUTE}/check-config`, authAPIOptions, otherOptions, {
|
|
28883
|
+
method: "POST",
|
|
28884
|
+
body: {
|
|
28885
|
+
token: token ?? void 0,
|
|
28886
|
+
projectId,
|
|
28887
|
+
branch,
|
|
28888
|
+
...instanceUrl && { instanceUrl }
|
|
28889
|
+
}
|
|
28890
|
+
});
|
|
28891
|
+
const getConfigFile = async (token, projectId, branch = "main", path = "intlayer.config.ts", instanceUrl, otherOptions = {}) => await fetcher(`${GITLAB_API_ROUTE}/get-config-file`, authAPIOptions, otherOptions, {
|
|
28892
|
+
method: "POST",
|
|
28893
|
+
body: {
|
|
28894
|
+
token: token ?? void 0,
|
|
28895
|
+
projectId,
|
|
28896
|
+
branch,
|
|
28897
|
+
path,
|
|
28898
|
+
...instanceUrl && { instanceUrl }
|
|
28899
|
+
}
|
|
28900
|
+
});
|
|
28901
|
+
return {
|
|
28902
|
+
getAuthUrl,
|
|
28903
|
+
authenticate,
|
|
28904
|
+
getProjects,
|
|
28905
|
+
checkIntlayerConfig,
|
|
28906
|
+
getConfigFile
|
|
28907
|
+
};
|
|
28908
|
+
};
|
|
28804
28909
|
const getNewsletterAPI = (authAPIOptions = {}, intlayerConfig) => {
|
|
28805
28910
|
const backendURL = intlayerConfig?.editor?.backendURL ?? configuration?.editor?.backendURL;
|
|
28806
28911
|
if (!backendURL) throw new Error("Backend URL is not defined in the Intlayer configuration.");
|
|
@@ -28843,6 +28948,8 @@ const getIntlayerAPI = (authAPIOptions = {}, intlayerConfig) => ({
|
|
|
28843
28948
|
editor: getEditorAPI(authAPIOptions, intlayerConfig),
|
|
28844
28949
|
newsletter: getNewsletterAPI(authAPIOptions, intlayerConfig),
|
|
28845
28950
|
github: getGithubAPI(authAPIOptions, intlayerConfig),
|
|
28951
|
+
gitlab: getGitlabAPI(authAPIOptions, intlayerConfig),
|
|
28952
|
+
bitbucket: getBitbucketAPI(authAPIOptions, intlayerConfig),
|
|
28846
28953
|
audit: getAuditAPI(authAPIOptions, intlayerConfig)
|
|
28847
28954
|
});
|
|
28848
28955
|
const useOAuth2 = (intlayerConfiguration) => {
|
|
@@ -33752,7 +33859,7 @@ const CodeDefault = ({ children }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div
|
|
|
33752
33859
|
}, `line-${index2}-${line.slice(0, 10)}`)) })
|
|
33753
33860
|
})
|
|
33754
33861
|
});
|
|
33755
|
-
const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-
|
|
33862
|
+
const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-EiAndB3z.js"), true ? [] : void 0).then((mod) => ({ default: mod.CodeBlockShiki })));
|
|
33756
33863
|
const CodeBlock = ({ className, onChange, isEditable, children, lang, isDarkMode, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
33757
33864
|
className: cn$2("flex w-full min-w-0 max-w-full overflow-x-auto", className),
|
|
33758
33865
|
...props,
|
|
@@ -45485,7 +45592,7 @@ let ModalSize = /* @__PURE__ */ (function(ModalSize$1) {
|
|
|
45485
45592
|
ModalSize$1["UNSET"] = "unset";
|
|
45486
45593
|
return ModalSize$1;
|
|
45487
45594
|
})({});
|
|
45488
|
-
const modalVariants = cva("flex cursor-default flex-col
|
|
45595
|
+
const modalVariants = cva("flex cursor-default flex-col overflow-hidden shadow-sm", {
|
|
45489
45596
|
variants: { size: {
|
|
45490
45597
|
sm: "h-auto max-h-[30vh] w-[95vw] max-w-xl",
|
|
45491
45598
|
md: "h-auto max-h-[50vh] w-[95vw] max-w-xl",
|
|
@@ -45495,8 +45602,16 @@ const modalVariants = cva("flex cursor-default flex-col p-3 shadow-sm", {
|
|
|
45495
45602
|
} },
|
|
45496
45603
|
defaultVariants: { size: "unset" }
|
|
45497
45604
|
});
|
|
45605
|
+
const contentPaddingVariants = {
|
|
45606
|
+
none: "p-0",
|
|
45607
|
+
sm: "px-2 py-4",
|
|
45608
|
+
md: "px-4 py-6",
|
|
45609
|
+
lg: "px-6 py-8",
|
|
45610
|
+
xl: "px-8 py-10",
|
|
45611
|
+
"2xl": "px-10 py-12"
|
|
45612
|
+
};
|
|
45498
45613
|
const MotionModal = motion.create(Container);
|
|
45499
|
-
const Modal = ({ children, isOpen, container, disableScroll = true, onClose, hasCloseButton = false, title, size: size2 = ModalSize.MD, className, ...props }) => {
|
|
45614
|
+
const Modal = ({ children, isOpen, container, disableScroll = true, onClose, hasCloseButton = false, title, size: size2 = ModalSize.MD, className, isScrollable = false, padding = "none", ...props }) => {
|
|
45500
45615
|
const containerElement = useGetElementOrWindow(container);
|
|
45501
45616
|
useScrollBlockage({
|
|
45502
45617
|
key: "modal",
|
|
@@ -45513,8 +45628,9 @@ const Modal = ({ children, isOpen, container, disableScroll = true, onClose, has
|
|
|
45513
45628
|
}, [isOpen, onClose]);
|
|
45514
45629
|
if (!containerElement) return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
|
|
45515
45630
|
const hasTitle = typeof title === "string";
|
|
45631
|
+
const contentPaddingClass = contentPaddingVariants[padding || "none"];
|
|
45516
45632
|
return reactDomExports.createPortal(/* @__PURE__ */ jsxRuntimeExports.jsx(motion.div, {
|
|
45517
|
-
className: "invisible fixed top-0 left-0 z-50 flex size-full cursor-pointer items-center justify-center overflow-
|
|
45633
|
+
className: "invisible fixed top-0 left-0 z-50 flex size-full cursor-pointer items-center justify-center overflow-hidden bg-background/40 backdrop-blur",
|
|
45518
45634
|
animate: isOpen ? "visible" : "invisible",
|
|
45519
45635
|
variants: {
|
|
45520
45636
|
visible: {
|
|
@@ -45551,11 +45667,12 @@ const Modal = ({ children, isOpen, container, disableScroll = true, onClose, has
|
|
|
45551
45667
|
role: "dialog",
|
|
45552
45668
|
"aria-modal": true,
|
|
45553
45669
|
roundedSize: "4xl",
|
|
45670
|
+
padding: "none",
|
|
45554
45671
|
...props,
|
|
45555
45672
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
45556
|
-
className: cn$2("
|
|
45673
|
+
className: cn$2("relative flex-none px-4 pt-4", hasCloseButton && hasTitle ? `flex items-start` : hasCloseButton ? `flex justify-end` : hasTitle ? `items-center` : `hidden`),
|
|
45557
45674
|
children: [hasTitle && /* @__PURE__ */ jsxRuntimeExports.jsx(H3, {
|
|
45558
|
-
className: "
|
|
45675
|
+
className: "mb-2 ml-1 flex items-center justify-center font-bold text-lg",
|
|
45559
45676
|
children: title
|
|
45560
45677
|
}), hasCloseButton && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, {
|
|
45561
45678
|
variant: ButtonVariant.HOVERABLE,
|
|
@@ -45570,8 +45687,11 @@ const Modal = ({ children, isOpen, container, disableScroll = true, onClose, has
|
|
|
45570
45687
|
size: ButtonSize.ICON_MD
|
|
45571
45688
|
})]
|
|
45572
45689
|
}), /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
45573
|
-
className: "flex w-full flex-1 flex-col",
|
|
45574
|
-
children
|
|
45690
|
+
className: cn$2("flex min-h-0 w-full flex-1 flex-col", isScrollable === true && "overflow-auto", isScrollable === "y" && "overflow-y-auto overflow-x-hidden", isScrollable === "x" && "overflow-x-auto overflow-y-hidden", !isScrollable && "overflow-visible"),
|
|
45691
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
45692
|
+
className: cn$2("h-full w-full", contentPaddingClass),
|
|
45693
|
+
children
|
|
45694
|
+
})
|
|
45575
45695
|
})]
|
|
45576
45696
|
})
|
|
45577
45697
|
}), containerElement);
|
|
@@ -48293,10 +48413,11 @@ const FormItem = ({ id: idProp, ...props }) => {
|
|
|
48293
48413
|
const generatedId = reactExports.useId();
|
|
48294
48414
|
const stableId = idProp ?? generatedId;
|
|
48295
48415
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(FormItemContext, {
|
|
48296
|
-
value:
|
|
48416
|
+
value: { id: stableId },
|
|
48297
48417
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
48298
48418
|
className: "flex flex-col gap-2 p-2",
|
|
48299
48419
|
id: stableId,
|
|
48420
|
+
suppressHydrationWarning: true,
|
|
48300
48421
|
...props
|
|
48301
48422
|
})
|
|
48302
48423
|
});
|
|
@@ -53206,6 +53327,7 @@ const FormLabelLayout = ({ children, isRequired, info, htmlFor, className }) =>
|
|
|
53206
53327
|
children: [children && /* @__PURE__ */ jsxRuntimeExports.jsxs(FormLabel, {
|
|
53207
53328
|
htmlFor,
|
|
53208
53329
|
id: `${htmlFor}-label`,
|
|
53330
|
+
suppressHydrationWarning: true,
|
|
53209
53331
|
className: clsx("font-bold", className),
|
|
53210
53332
|
children: [children, /* @__PURE__ */ jsxRuntimeExports.jsx(RequiredStar, { isRequired })]
|
|
53211
53333
|
}), info && /* @__PURE__ */ jsxRuntimeExports.jsx(InformationTag, { content: info })]
|
package/client/dist/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Intlayer Editor</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-r91_MxC4.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BQYneYFo.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intlayer-editor",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Integrate the Intlayer visual editor into your Intlayer projects, enabling CMS-like content management with multilingual support.",
|
|
6
6
|
"keywords": [
|
|
@@ -91,17 +91,17 @@
|
|
|
91
91
|
"@fastify/formbody": "^8.0.0",
|
|
92
92
|
"@fastify/helmet": "^12.0.0",
|
|
93
93
|
"@fastify/static": "^8.0.0",
|
|
94
|
-
"@intlayer/chokidar": "7.5.
|
|
95
|
-
"@intlayer/config": "7.5.
|
|
96
|
-
"@intlayer/unmerged-dictionaries-entry": "7.5.
|
|
94
|
+
"@intlayer/chokidar": "7.5.11",
|
|
95
|
+
"@intlayer/config": "7.5.11",
|
|
96
|
+
"@intlayer/unmerged-dictionaries-entry": "7.5.11",
|
|
97
97
|
"fastify": "5.6.2",
|
|
98
|
-
"fastify-intlayer": "7.5.
|
|
98
|
+
"fastify-intlayer": "7.5.11",
|
|
99
99
|
"mime": "4.1.0"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@intlayer/design-system": "7.5.
|
|
103
|
-
"@intlayer/editor-react": "7.5.
|
|
104
|
-
"@intlayer/types": "7.5.
|
|
102
|
+
"@intlayer/design-system": "7.5.11",
|
|
103
|
+
"@intlayer/editor-react": "7.5.11",
|
|
104
|
+
"@intlayer/types": "7.5.11",
|
|
105
105
|
"@tailwindcss/vite": "4.1.18",
|
|
106
106
|
"@tanstack/react-query": "5.90.12",
|
|
107
107
|
"@types/node": "25.0.3",
|
|
@@ -115,18 +115,18 @@
|
|
|
115
115
|
"framer-motion": "12.23.26",
|
|
116
116
|
"fuse.js": "7.1.0",
|
|
117
117
|
"globals": "16.5.0",
|
|
118
|
-
"intlayer": "7.5.
|
|
118
|
+
"intlayer": "7.5.11",
|
|
119
119
|
"lucide-react": "0.562.0",
|
|
120
120
|
"react": "19.2.3",
|
|
121
121
|
"react-dom": "19.2.3",
|
|
122
|
-
"react-intlayer": "7.5.
|
|
122
|
+
"react-intlayer": "7.5.11",
|
|
123
123
|
"react-router-dom": "7.9.6",
|
|
124
124
|
"tailwind-merge": "3.4.0",
|
|
125
125
|
"tailwindcss": "4.1.18",
|
|
126
126
|
"tsdown": "0.18.2",
|
|
127
127
|
"typescript": "5.9.3",
|
|
128
128
|
"vite": "7.3.0",
|
|
129
|
-
"vite-intlayer": "7.5.
|
|
129
|
+
"vite-intlayer": "7.5.11",
|
|
130
130
|
"vitest": "4.0.16"
|
|
131
131
|
},
|
|
132
132
|
"engines": {
|