@rxdrag/website-studio 0.0.76 → 0.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astro-component/render/ModuleManager.d.ts +5 -2
- package/dist/astro-component/render/createDesigner.d.ts +4 -0
- package/dist/astro-component/render/factory.d.ts +1 -0
- package/dist/astro-component/render/index.d.ts +0 -2
- package/dist/astro-component/render/useModuleManager.d.ts +1 -1
- package/dist/{cssMode-3f92f4fd.js → cssMode-2fab6fd8.js} +4 -4
- package/dist/{cssMode-3f92f4fd.js.map → cssMode-2fab6fd8.js.map} +1 -1
- package/dist/{freemarker2-69b6ffda.js → freemarker2-985c1aab.js} +4 -4
- package/dist/{freemarker2-69b6ffda.js.map → freemarker2-985c1aab.js.map} +1 -1
- package/dist/{handlebars-8734dff3.js → handlebars-41f9e3d5.js} +4 -4
- package/dist/{handlebars-8734dff3.js.map → handlebars-41f9e3d5.js.map} +1 -1
- package/dist/{html-7079f47c.js → html-4e07dfcb.js} +4 -4
- package/dist/{html-7079f47c.js.map → html-4e07dfcb.js.map} +1 -1
- package/dist/{htmlMode-730fac31.js → htmlMode-f2256fc7.js} +4 -4
- package/dist/{htmlMode-730fac31.js.map → htmlMode-f2256fc7.js.map} +1 -1
- package/dist/{index-57fb0e65.js → index-c56cb64e.js} +209 -107
- package/dist/{index-57fb0e65.js.map → index-c56cb64e.js.map} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{javascript-f13d0738.js → javascript-b8a057c6.js} +5 -5
- package/dist/{javascript-f13d0738.js.map → javascript-b8a057c6.js.map} +1 -1
- package/dist/{jsonMode-ed6e2469.js → jsonMode-a93a3066.js} +4 -4
- package/dist/{jsonMode-ed6e2469.js.map → jsonMode-a93a3066.js.map} +1 -1
- package/dist/{liquid-dae34526.js → liquid-545fa7e1.js} +4 -4
- package/dist/{liquid-dae34526.js.map → liquid-545fa7e1.js.map} +1 -1
- package/dist/{mdx-b73e34f7.js → mdx-23212856.js} +4 -4
- package/dist/{mdx-b73e34f7.js.map → mdx-23212856.js.map} +1 -1
- package/dist/{python-e9a25850.js → python-571a1d38.js} +4 -4
- package/dist/{python-e9a25850.js.map → python-571a1d38.js.map} +1 -1
- package/dist/{razor-e614d2cc.js → razor-5d3d8972.js} +4 -4
- package/dist/{razor-e614d2cc.js.map → razor-5d3d8972.js.map} +1 -1
- package/dist/{tsMode-216c78a7.js → tsMode-715919b3.js} +4 -4
- package/dist/{tsMode-216c78a7.js.map → tsMode-715919b3.js.map} +1 -1
- package/dist/{typescript-898ace2f.js → typescript-70b501c4.js} +4 -4
- package/dist/{typescript-898ace2f.js.map → typescript-70b501c4.js.map} +1 -1
- package/dist/{xml-6fbbdc9d.js → xml-e3501494.js} +4 -4
- package/dist/{xml-6fbbdc9d.js.map → xml-e3501494.js.map} +1 -1
- package/dist/{yaml-4f60abdc.js → yaml-9cffb366.js} +4 -4
- package/dist/{yaml-4f60abdc.js.map → yaml-9cffb366.js.map} +1 -1
- package/package.json +16 -16
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FrontComponent, ThemeBranch } from "@rxdrag/rxcms-models";
|
|
3
|
+
import { IEntify } from "@rxdrag/website-lib-core";
|
|
4
|
+
import clsx from "clsx";
|
|
3
5
|
export declare class ModuleManager {
|
|
4
6
|
private static instance;
|
|
5
7
|
private components?;
|
|
6
8
|
private parentTheme?;
|
|
7
9
|
private websiteLib;
|
|
8
10
|
private websiteLibCore;
|
|
11
|
+
private lib;
|
|
9
12
|
private constructor();
|
|
10
|
-
static getInstance(): ModuleManager;
|
|
13
|
+
static getInstance(rx: IEntify): ModuleManager;
|
|
11
14
|
setComponents(components: FrontComponent[]): void;
|
|
12
15
|
setParentTheme(parentTheme?: ThemeBranch): void;
|
|
13
|
-
getModule(moduleName: string): Record<string, unknown> | import("react").ComponentType<Record<string, unknown>> | null;
|
|
16
|
+
getModule(moduleName: string): Record<string, unknown> | typeof clsx | typeof globalThis.gsap | import("react").ComponentType<Record<string, unknown>> | null;
|
|
14
17
|
covertComToReact(com: FrontComponent): import("react").ComponentType<Record<string, unknown>>;
|
|
15
18
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { AstroComponentRenderProps } from "./index";
|
|
3
|
+
export declare const AstroComponentDesigner: (componentName: string) => React.MemoExoticComponent<(props: AstroComponentRenderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
+
export declare const createComponentDesigner: (componentName: string) => React.MemoExoticComponent<(props: AstroComponentRenderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./createDesigner";
|
|
@@ -9,5 +9,3 @@ export type AstroComponentRenderProps = {
|
|
|
9
9
|
[key: string]: unknown;
|
|
10
10
|
};
|
|
11
11
|
export declare function AstroComponentRender(props: AstroComponentRenderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare const AstroComponentDesigner: (componentName: string) => React.MemoExoticComponent<(props: AstroComponentRenderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
13
|
-
export declare const createComponentDesigner: (componentName: string) => React.MemoExoticComponent<(props: AstroComponentRenderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ModuleManager } from "./ModuleManager";
|
|
2
|
-
export declare function useModuleManager(): ModuleManager;
|
|
2
|
+
export declare function useModuleManager(): ModuleManager | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as monaco_editor_core_star } from "./index-
|
|
1
|
+
import { m as monaco_editor_core_star } from "./index-c56cb64e.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@rxdrag/rxcms-models";
|
|
4
4
|
import "@rxdrag/rxcms-models-ui";
|
|
@@ -9,11 +9,12 @@ import "clsx";
|
|
|
9
9
|
import "@rxdrag/rxcraft";
|
|
10
10
|
import "@rxdrag/website-materials";
|
|
11
11
|
import "@rxdrag/website-lib-core";
|
|
12
|
+
import "gsap";
|
|
13
|
+
import "@rxdrag/entify-hooks";
|
|
12
14
|
import "@rxdrag/rxcms-common";
|
|
13
15
|
import "zustand";
|
|
14
16
|
import "@heroui/react";
|
|
15
17
|
import "@iconify/react";
|
|
16
|
-
import "@rxdrag/entify-hooks";
|
|
17
18
|
import "@rxdrag/website-addon";
|
|
18
19
|
import "@rxdrag/fieldy-heroui";
|
|
19
20
|
import "@rxdrag/react-fieldy-pro";
|
|
@@ -28,7 +29,6 @@ import "dayjs";
|
|
|
28
29
|
import "@rxdrag/shadcn";
|
|
29
30
|
import "@rxdrag/shared";
|
|
30
31
|
import "@rxdrag/schema-pro";
|
|
31
|
-
import "gsap";
|
|
32
32
|
import "@rxdrag/entify-lib";
|
|
33
33
|
import "jszip";
|
|
34
34
|
import "@rxdrag/code-generator";
|
|
@@ -2073,4 +2073,4 @@ export {
|
|
|
2073
2073
|
toRange,
|
|
2074
2074
|
toTextEdit
|
|
2075
2075
|
};
|
|
2076
|
-
//# sourceMappingURL=cssMode-
|
|
2076
|
+
//# sourceMappingURL=cssMode-2fab6fd8.js.map
|