@rxdrag/website-studio 0.0.2
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/README.md +1 -0
- package/dist/WebsiteStudio.d.ts +4 -0
- package/dist/components/CanvasPanel/BgColorButton.d.ts +4 -0
- package/dist/components/CanvasPanel/CanvasDrawer.d.ts +11 -0
- package/dist/components/CanvasPanel/CanvasNavbar.d.ts +2 -0
- package/dist/components/CanvasPanel/CanvasToolbar.d.ts +5 -0
- package/dist/components/CanvasPanel/CanvasToolbarButton.d.ts +5 -0
- package/dist/components/CanvasPanel/CanvasTools.d.ts +1 -0
- package/dist/components/CanvasPanel/ResizableWrapper.d.ts +4 -0
- package/dist/components/CanvasPanel/ResizeHandler.d.ts +2 -0
- package/dist/components/CanvasPanel/Viewport.d.ts +6 -0
- package/dist/components/CanvasPanel/index.d.ts +6 -0
- package/dist/components/DocCanvas/DocCanvas.d.ts +10 -0
- package/dist/components/DocCanvas/DocFrame.d.ts +12 -0
- package/dist/components/DocCanvas/DocTreeView.d.ts +6 -0
- package/dist/components/DocCanvas/FrameRoutePage.d.ts +1 -0
- package/dist/components/DocCanvas/colors.d.ts +292 -0
- package/dist/components/DocCanvas/index.d.ts +5 -0
- package/dist/components/DocCanvas/useFrameInitialHTML.d.ts +5 -0
- package/dist/components/DocCanvas/useSetIFrameClasses.d.ts +1 -0
- package/dist/components/DocPreview/SchemaPreview.d.ts +8 -0
- package/dist/components/DocPreview/index.d.ts +5 -0
- package/dist/components/EditorScope/index.d.ts +11 -0
- package/dist/components/LeftDrawer/ComponentSchemaPanel/PropsConfig.d.ts +11 -0
- package/dist/components/LeftDrawer/ComponentSchemaPanel/index.d.ts +6 -0
- package/dist/components/LeftDrawer/ComponentTestPanel/PropsTest.d.ts +5 -0
- package/dist/components/LeftDrawer/ComponentTestPanel/index.d.ts +6 -0
- package/dist/components/LeftDrawer/InsertPanel/ComponentsRootNode.d.ts +7 -0
- package/dist/components/LeftDrawer/InsertPanel/SectionsNode.d.ts +8 -0
- package/dist/components/LeftDrawer/InsertPanel/index.d.ts +3 -0
- package/dist/components/LeftDrawer/LayersPanel/index.d.ts +3 -0
- package/dist/components/LeftDrawer/LeftPanel.d.ts +6 -0
- package/dist/components/LeftDrawer/SEMPanel/index.d.ts +3 -0
- package/dist/components/LeftDrawer/SEOPanel/index.d.ts +3 -0
- package/dist/components/LeftDrawer/SNSPanel/index.d.ts +3 -0
- package/dist/components/LeftDrawer/index.d.ts +7 -0
- package/dist/components/Leftbar/LeftbarButtion.d.ts +9 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/CssPanel.d.ts +2 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/ExtendsPanel.d.ts +1 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/ExtendsTable.d.ts +11 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/PostPanel.d.ts +5 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/ProductPanel.d.ts +5 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/RatioSelect.d.ts +2 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/TailwindPanel.d.ts +2 -0
- package/dist/components/Leftbar/ThemeSettingsDrawer/index.d.ts +1 -0
- package/dist/components/Leftbar/index.d.ts +17 -0
- package/dist/components/NodeNavs/NodeTag.d.ts +8 -0
- package/dist/components/NodeNavs/index.d.ts +6 -0
- package/dist/components/NodeNavs/useNodesOnPath.d.ts +2 -0
- package/dist/components/OutlineTree/OutlineNode.d.ts +5 -0
- package/dist/components/OutlineTree/index.d.ts +2 -0
- package/dist/components/PropsPanel/PromptInput.d.ts +4 -0
- package/dist/components/PropsPanel/index.d.ts +3 -0
- package/dist/components/SettingsForm/SettingsForm.d.ts +2 -0
- package/dist/components/SettingsForm/index.d.ts +2 -0
- package/dist/components/SettingsForm/locales.d.ts +188 -0
- package/dist/components/Sheet.d.ts +3 -0
- package/dist/components/StudioCore/ThemeSetup.d.ts +1 -0
- package/dist/components/StudioCore/Welcome.d.ts +1 -0
- package/dist/components/StudioCore/index.d.ts +6 -0
- package/dist/components/StudioCore/useMetaFilters.d.ts +2 -0
- package/dist/components/StudioRoot/StudioRoot.d.ts +5 -0
- package/dist/components/StudioRoot/contexts.d.ts +19 -0
- package/dist/components/StudioRoot/index.d.ts +2 -0
- package/dist/components/Toolbar/MenuContent/PagesNode.d.ts +6 -0
- package/dist/components/Toolbar/MenuContent/PredefinedPageNode.d.ts +11 -0
- package/dist/components/Toolbar/MenuContent/PredefinedPages.d.ts +6 -0
- package/dist/components/Toolbar/MenuContent/index.d.ts +6 -0
- package/dist/components/Toolbar/index.d.ts +2 -0
- package/dist/components/actions/CollectComponentButton.d.ts +1 -0
- package/dist/components/actions/CollectTemplateIconButton.d.ts +3 -0
- package/dist/components/actions/ComponentSaveButton.d.ts +1 -0
- package/dist/components/actions/FrameSaveButton.d.ts +1 -0
- package/dist/components/actions/PageSaveButton.d.ts +1 -0
- package/dist/components/actions/SaveAlertDialog.d.ts +6 -0
- package/dist/components/actions/SlotSettingButton.d.ts +1 -0
- package/dist/components/actions/TemplateSaveButton.d.ts +1 -0
- package/dist/components/common/ComponentCategoryList/ComponentCategoryModal.d.ts +4 -0
- package/dist/components/common/ComponentCategoryList/ComponentCategoryNode.d.ts +9 -0
- package/dist/components/common/ComponentCategoryList/ComponentList.d.ts +13 -0
- package/dist/components/common/ComponentCategoryList/ComponentModal.d.ts +9 -0
- package/dist/components/common/ComponentCategoryList/ComponentNode.d.ts +8 -0
- package/dist/components/common/ComponentCategoryList/index.d.ts +5 -0
- package/dist/components/common/ComponentCategoryListScope/index.d.ts +5 -0
- package/dist/components/common/MaterialNodeView.d.ts +4 -0
- package/dist/components/common/PageList/PageModal.d.ts +7 -0
- package/dist/components/common/PageList/PageNode.d.ts +7 -0
- package/dist/components/common/PageList/index.d.ts +6 -0
- package/dist/components/common/PageScope/index.d.ts +5 -0
- package/dist/components/common/TemplateCategoryList/TemplateCategoryModal.d.ts +6 -0
- package/dist/components/common/TemplateCategoryList/TemplateCategoryNode.d.ts +10 -0
- package/dist/components/common/TemplateCategoryList/TemplateList.d.ts +14 -0
- package/dist/components/common/TemplateCategoryList/TemplateModal.d.ts +10 -0
- package/dist/components/common/TemplateCategoryList/TemplateNode.d.ts +9 -0
- package/dist/components/common/TemplateCategoryList/index.d.ts +6 -0
- package/dist/components/common/TemplateCategoryListScope/index.d.ts +6 -0
- package/dist/components/common/WebComponents/index.d.ts +1 -0
- package/dist/components/common/WebComponents/useOrRegisterRecouceNode.d.ts +3 -0
- package/dist/components/common/index.d.ts +8 -0
- package/dist/components/common/utils.d.ts +5 -0
- package/dist/components/views/CodeViewport/consts.d.ts +1 -0
- package/dist/components/views/CodeViewport/index.d.ts +2 -0
- package/dist/components/views/CodeViewport/useTransCodeToJson.d.ts +4 -0
- package/dist/components/views/CodeViewport/useTransJsonToCode.d.ts +4 -0
- package/dist/components/views/DesignViewport.d.ts +7 -0
- package/dist/components/views/PreviewViewport.d.ts +4 -0
- package/dist/customize/consts.d.ts +2 -0
- package/dist/customize/designer/index.d.ts +7 -0
- package/dist/customize/funcs.d.ts +6 -0
- package/dist/customize/hooks/index.d.ts +2 -0
- package/dist/customize/hooks/useCustomizedMaterials.d.ts +2 -0
- package/dist/customize/hooks/useFrontComponent.d.ts +1 -0
- package/dist/customize/index.d.ts +1 -0
- package/dist/customize/preview.d.ts +7 -0
- package/dist/customize/setter/CustomizedComponentPropsSetter/InputControl.d.ts +7 -0
- package/dist/customize/setter/CustomizedComponentPropsSetter/index.d.ts +6 -0
- package/dist/customize/setter/index.d.ts +1 -0
- package/dist/decorators/SlotDecorator.d.ts +8 -0
- package/dist/hooks/useCheckSlotName.d.ts +1 -0
- package/dist/hooks/useFrameSchema.d.ts +16 -0
- package/dist/hooks/useIsSlotable.d.ts +1 -0
- package/dist/hooks/useMergeComponentSchema.d.ts +3 -0
- package/dist/hooks/useSchema.d.ts +19 -0
- package/dist/hooks/useSplitComponentSchema.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +15544 -0
- package/dist/index.mjs.map +1 -0
- package/dist/plugins/ContentEditor/controls/AbstractMiniButton.d.ts +10 -0
- package/dist/plugins/ContentEditor/controls/MarkButton.d.ts +15 -0
- package/dist/plugins/ContentEditor/getClildrenNodes.d.ts +3 -0
- package/dist/plugins/ContentEditor/index.d.ts +30 -0
- package/dist/plugins/index.d.ts +1 -0
- package/dist/preview/ComponentView.d.ts +19 -0
- package/dist/preview/PreviewRender.d.ts +10 -0
- package/dist/preview/contexts.d.ts +3 -0
- package/dist/preview/hooks/defualtProductRichText.d.ts +82 -0
- package/dist/preview/hooks/index.d.ts +2 -0
- package/dist/preview/hooks/useMotionProps.d.ts +3 -0
- package/dist/preview/hooks/usePreviewComponent.d.ts +45 -0
- package/dist/preview/hooks/usePreviewComponents.d.ts +1 -0
- package/dist/preview/hooks/useValue.d.ts +10 -0
- package/dist/preview/index.d.ts +5 -0
- package/dist/preview/transform.d.ts +4 -0
- package/dist/recoil/atoms.d.ts +21 -0
- package/dist/recoil/selectors.d.ts +1 -0
- package/dist/resources/data/fields.d.ts +8 -0
- package/dist/resources/data/index.d.ts +2 -0
- package/dist/resources/data/roots.d.ts +4 -0
- package/dist/resources/index.d.ts +2 -0
- package/dist/resources/resourceTreeNodes.d.ts +2 -0
- package/dist/resources/types.d.ts +7 -0
- package/dist/setters/index.d.ts +2 -0
- package/dist/style.css +21 -0
- package/dist/types.d.ts +31 -0
- package/package.json +76 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@rxdrag/rxcms-dashboard
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare function CanvasDrawer(props: {
|
|
3
|
+
title?: React.ReactNode;
|
|
4
|
+
docked?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
width?: number | string;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
isOpen?: boolean;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
onDockChange?: (docked: boolean) => void;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function CanvasTools(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type CanvasPanelProps = {
|
|
3
|
+
drawer?: React.ReactNode;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare const CanvasPanel: import("react").MemoExoticComponent<(props: CanvasPanelProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MetaFilter, RxPropsFilter } from "@rxdrag/react-core-pro";
|
|
3
|
+
import { IDecorator } from "@rxdrag/core-pro";
|
|
4
|
+
export declare const DocCanvas: import("react").MemoExoticComponent<(props: {
|
|
5
|
+
tailwindConfig?: string;
|
|
6
|
+
tailwindCss?: string;
|
|
7
|
+
rxPropsFilter?: RxPropsFilter;
|
|
8
|
+
metaFilters?: MetaFilter[];
|
|
9
|
+
decorators?: IDecorator[];
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MetaFilter } from "@rxdrag/react-core-pro";
|
|
3
|
+
import { IDecorator } from "@rxdrag/core-pro";
|
|
4
|
+
export declare const DocFrame: import("react").MemoExoticComponent<(props: {
|
|
5
|
+
tailwindConfig?: string;
|
|
6
|
+
tailwindCss?: string;
|
|
7
|
+
decorators?: IDecorator[];
|
|
8
|
+
isHome: boolean;
|
|
9
|
+
bgColor: string;
|
|
10
|
+
children?: React.ReactElement;
|
|
11
|
+
metaFilters?: MetaFilter[];
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MetaFilter, RxPropsFilter } from "@rxdrag/react-core-pro";
|
|
3
|
+
export declare const DocTreeView: import("react").MemoExoticComponent<(props: {
|
|
4
|
+
rxPropsFilter?: RxPropsFilter;
|
|
5
|
+
metaFilters?: MetaFilter[];
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element | null>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function FrameRoutePage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
transparent: string;
|
|
3
|
+
current: string;
|
|
4
|
+
black: string;
|
|
5
|
+
white: string;
|
|
6
|
+
slate: {
|
|
7
|
+
50: string;
|
|
8
|
+
100: string;
|
|
9
|
+
200: string;
|
|
10
|
+
300: string;
|
|
11
|
+
400: string;
|
|
12
|
+
500: string;
|
|
13
|
+
600: string;
|
|
14
|
+
700: string;
|
|
15
|
+
800: string;
|
|
16
|
+
900: string;
|
|
17
|
+
950: string;
|
|
18
|
+
};
|
|
19
|
+
gray: {
|
|
20
|
+
50: string;
|
|
21
|
+
100: string;
|
|
22
|
+
200: string;
|
|
23
|
+
300: string;
|
|
24
|
+
400: string;
|
|
25
|
+
500: string;
|
|
26
|
+
600: string;
|
|
27
|
+
700: string;
|
|
28
|
+
800: string;
|
|
29
|
+
900: string;
|
|
30
|
+
950: string;
|
|
31
|
+
};
|
|
32
|
+
zinc: {
|
|
33
|
+
50: string;
|
|
34
|
+
100: string;
|
|
35
|
+
200: string;
|
|
36
|
+
300: string;
|
|
37
|
+
400: string;
|
|
38
|
+
500: string;
|
|
39
|
+
600: string;
|
|
40
|
+
700: string;
|
|
41
|
+
800: string;
|
|
42
|
+
900: string;
|
|
43
|
+
950: string;
|
|
44
|
+
};
|
|
45
|
+
neutral: {
|
|
46
|
+
50: string;
|
|
47
|
+
100: string;
|
|
48
|
+
200: string;
|
|
49
|
+
300: string;
|
|
50
|
+
400: string;
|
|
51
|
+
500: string;
|
|
52
|
+
600: string;
|
|
53
|
+
700: string;
|
|
54
|
+
800: string;
|
|
55
|
+
900: string;
|
|
56
|
+
950: string;
|
|
57
|
+
};
|
|
58
|
+
stone: {
|
|
59
|
+
50: string;
|
|
60
|
+
100: string;
|
|
61
|
+
200: string;
|
|
62
|
+
300: string;
|
|
63
|
+
400: string;
|
|
64
|
+
500: string;
|
|
65
|
+
600: string;
|
|
66
|
+
700: string;
|
|
67
|
+
800: string;
|
|
68
|
+
900: string;
|
|
69
|
+
950: string;
|
|
70
|
+
};
|
|
71
|
+
red: {
|
|
72
|
+
50: string;
|
|
73
|
+
100: string;
|
|
74
|
+
200: string;
|
|
75
|
+
300: string;
|
|
76
|
+
400: string;
|
|
77
|
+
500: string;
|
|
78
|
+
600: string;
|
|
79
|
+
700: string;
|
|
80
|
+
800: string;
|
|
81
|
+
900: string;
|
|
82
|
+
950: string;
|
|
83
|
+
};
|
|
84
|
+
orange: {
|
|
85
|
+
50: string;
|
|
86
|
+
100: string;
|
|
87
|
+
200: string;
|
|
88
|
+
300: string;
|
|
89
|
+
400: string;
|
|
90
|
+
500: string;
|
|
91
|
+
600: string;
|
|
92
|
+
700: string;
|
|
93
|
+
800: string;
|
|
94
|
+
900: string;
|
|
95
|
+
950: string;
|
|
96
|
+
};
|
|
97
|
+
amber: {
|
|
98
|
+
50: string;
|
|
99
|
+
100: string;
|
|
100
|
+
200: string;
|
|
101
|
+
300: string;
|
|
102
|
+
400: string;
|
|
103
|
+
500: string;
|
|
104
|
+
600: string;
|
|
105
|
+
700: string;
|
|
106
|
+
800: string;
|
|
107
|
+
900: string;
|
|
108
|
+
950: string;
|
|
109
|
+
};
|
|
110
|
+
yellow: {
|
|
111
|
+
50: string;
|
|
112
|
+
100: string;
|
|
113
|
+
200: string;
|
|
114
|
+
300: string;
|
|
115
|
+
400: string;
|
|
116
|
+
500: string;
|
|
117
|
+
600: string;
|
|
118
|
+
700: string;
|
|
119
|
+
800: string;
|
|
120
|
+
900: string;
|
|
121
|
+
950: string;
|
|
122
|
+
};
|
|
123
|
+
lime: {
|
|
124
|
+
50: string;
|
|
125
|
+
100: string;
|
|
126
|
+
200: string;
|
|
127
|
+
300: string;
|
|
128
|
+
400: string;
|
|
129
|
+
500: string;
|
|
130
|
+
600: string;
|
|
131
|
+
700: string;
|
|
132
|
+
800: string;
|
|
133
|
+
900: string;
|
|
134
|
+
950: string;
|
|
135
|
+
};
|
|
136
|
+
green: {
|
|
137
|
+
50: string;
|
|
138
|
+
100: string;
|
|
139
|
+
200: string;
|
|
140
|
+
300: string;
|
|
141
|
+
400: string;
|
|
142
|
+
500: string;
|
|
143
|
+
600: string;
|
|
144
|
+
700: string;
|
|
145
|
+
800: string;
|
|
146
|
+
900: string;
|
|
147
|
+
950: string;
|
|
148
|
+
};
|
|
149
|
+
emerald: {
|
|
150
|
+
50: string;
|
|
151
|
+
100: string;
|
|
152
|
+
200: string;
|
|
153
|
+
300: string;
|
|
154
|
+
400: string;
|
|
155
|
+
500: string;
|
|
156
|
+
600: string;
|
|
157
|
+
700: string;
|
|
158
|
+
800: string;
|
|
159
|
+
900: string;
|
|
160
|
+
950: string;
|
|
161
|
+
};
|
|
162
|
+
teal: {
|
|
163
|
+
50: string;
|
|
164
|
+
100: string;
|
|
165
|
+
200: string;
|
|
166
|
+
300: string;
|
|
167
|
+
400: string;
|
|
168
|
+
500: string;
|
|
169
|
+
600: string;
|
|
170
|
+
700: string;
|
|
171
|
+
800: string;
|
|
172
|
+
900: string;
|
|
173
|
+
950: string;
|
|
174
|
+
};
|
|
175
|
+
cyan: {
|
|
176
|
+
50: string;
|
|
177
|
+
100: string;
|
|
178
|
+
200: string;
|
|
179
|
+
300: string;
|
|
180
|
+
400: string;
|
|
181
|
+
500: string;
|
|
182
|
+
600: string;
|
|
183
|
+
700: string;
|
|
184
|
+
800: string;
|
|
185
|
+
900: string;
|
|
186
|
+
950: string;
|
|
187
|
+
};
|
|
188
|
+
sky: {
|
|
189
|
+
50: string;
|
|
190
|
+
100: string;
|
|
191
|
+
200: string;
|
|
192
|
+
300: string;
|
|
193
|
+
400: string;
|
|
194
|
+
500: string;
|
|
195
|
+
600: string;
|
|
196
|
+
700: string;
|
|
197
|
+
800: string;
|
|
198
|
+
900: string;
|
|
199
|
+
950: string;
|
|
200
|
+
};
|
|
201
|
+
blue: {
|
|
202
|
+
50: string;
|
|
203
|
+
100: string;
|
|
204
|
+
200: string;
|
|
205
|
+
300: string;
|
|
206
|
+
400: string;
|
|
207
|
+
500: string;
|
|
208
|
+
600: string;
|
|
209
|
+
700: string;
|
|
210
|
+
800: string;
|
|
211
|
+
900: string;
|
|
212
|
+
950: string;
|
|
213
|
+
};
|
|
214
|
+
indigo: {
|
|
215
|
+
50: string;
|
|
216
|
+
100: string;
|
|
217
|
+
200: string;
|
|
218
|
+
300: string;
|
|
219
|
+
400: string;
|
|
220
|
+
500: string;
|
|
221
|
+
600: string;
|
|
222
|
+
700: string;
|
|
223
|
+
800: string;
|
|
224
|
+
900: string;
|
|
225
|
+
950: string;
|
|
226
|
+
};
|
|
227
|
+
violet: {
|
|
228
|
+
50: string;
|
|
229
|
+
100: string;
|
|
230
|
+
200: string;
|
|
231
|
+
300: string;
|
|
232
|
+
400: string;
|
|
233
|
+
500: string;
|
|
234
|
+
600: string;
|
|
235
|
+
700: string;
|
|
236
|
+
800: string;
|
|
237
|
+
900: string;
|
|
238
|
+
950: string;
|
|
239
|
+
};
|
|
240
|
+
purple: {
|
|
241
|
+
50: string;
|
|
242
|
+
100: string;
|
|
243
|
+
200: string;
|
|
244
|
+
300: string;
|
|
245
|
+
400: string;
|
|
246
|
+
500: string;
|
|
247
|
+
600: string;
|
|
248
|
+
700: string;
|
|
249
|
+
800: string;
|
|
250
|
+
900: string;
|
|
251
|
+
950: string;
|
|
252
|
+
};
|
|
253
|
+
fuchsia: {
|
|
254
|
+
50: string;
|
|
255
|
+
100: string;
|
|
256
|
+
200: string;
|
|
257
|
+
300: string;
|
|
258
|
+
400: string;
|
|
259
|
+
500: string;
|
|
260
|
+
600: string;
|
|
261
|
+
700: string;
|
|
262
|
+
800: string;
|
|
263
|
+
900: string;
|
|
264
|
+
950: string;
|
|
265
|
+
};
|
|
266
|
+
pink: {
|
|
267
|
+
50: string;
|
|
268
|
+
100: string;
|
|
269
|
+
200: string;
|
|
270
|
+
300: string;
|
|
271
|
+
400: string;
|
|
272
|
+
500: string;
|
|
273
|
+
600: string;
|
|
274
|
+
700: string;
|
|
275
|
+
800: string;
|
|
276
|
+
900: string;
|
|
277
|
+
950: string;
|
|
278
|
+
};
|
|
279
|
+
rose: {
|
|
280
|
+
50: string;
|
|
281
|
+
100: string;
|
|
282
|
+
200: string;
|
|
283
|
+
300: string;
|
|
284
|
+
400: string;
|
|
285
|
+
500: string;
|
|
286
|
+
600: string;
|
|
287
|
+
700: string;
|
|
288
|
+
800: string;
|
|
289
|
+
900: string;
|
|
290
|
+
950: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useSetIFrameClasses(iframeDoc: Document | null, isHome: boolean, bgColor: string): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MetaFilter } from "@rxdrag/react-core-pro";
|
|
2
|
+
import { IReactComponents } from "@rxdrag/react-shared";
|
|
3
|
+
import { INodeSchema } from "@rxdrag/schema-pro";
|
|
4
|
+
export declare function SchemaPreview(props: {
|
|
5
|
+
metaFilters?: MetaFilter[];
|
|
6
|
+
schema?: INodeSchema | null;
|
|
7
|
+
previews?: IReactComponents;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ICanvasConfig } from "@rxdrag/react-core-pro";
|
|
3
|
+
import { IResource } from "@rxdrag/core-pro";
|
|
4
|
+
import { ILocales } from "@rxdrag/locales";
|
|
5
|
+
export type EditorScropProps = {
|
|
6
|
+
resources?: IResource[];
|
|
7
|
+
locales?: ILocales;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
canvasConfig?: ICanvasConfig;
|
|
10
|
+
};
|
|
11
|
+
export declare function EditorScope(props: EditorScropProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FrontComponent } from "@rxdrag/rxcms-models";
|
|
2
|
+
export declare const inputClassNames: {
|
|
3
|
+
label: string;
|
|
4
|
+
base: string;
|
|
5
|
+
wrapper: string;
|
|
6
|
+
mainWrapper: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function PropsConfig(props: {
|
|
9
|
+
editingComponent: FrontComponent | undefined;
|
|
10
|
+
onChangeComponent: (component: FrontComponent) => void;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FrontComponent } from "@rxdrag/rxcms-models";
|
|
2
|
+
export declare function ComponentSchemaPanel(props: {
|
|
3
|
+
editingComponent: FrontComponent | undefined;
|
|
4
|
+
onChangeComponent: (component: FrontComponent) => void;
|
|
5
|
+
hidden?: boolean;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FrontComponent } from "@rxdrag/rxcms-models";
|
|
2
|
+
export declare function ComponentTestPanel(props: {
|
|
3
|
+
editingComponent: FrontComponent | undefined;
|
|
4
|
+
onChangeComponent: (component: FrontComponent) => void;
|
|
5
|
+
hidden?: boolean;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SelectedContent } from '../../../types';
|
|
2
|
+
export declare function ComponentsRootNode(props: {
|
|
3
|
+
themeId?: string | null;
|
|
4
|
+
readonly?: boolean;
|
|
5
|
+
selectedContent?: SelectedContent;
|
|
6
|
+
onSelectContent?: (content: SelectedContent) => void;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SelectedContent } from '../../../types';
|
|
2
|
+
export declare function SectionsNode(props: {
|
|
3
|
+
themeId?: string;
|
|
4
|
+
websiteId: string;
|
|
5
|
+
readonly?: boolean;
|
|
6
|
+
selectedContent?: SelectedContent;
|
|
7
|
+
onSelectContent?: (content: SelectedContent) => void;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from "@nextui-org/react";
|
|
3
|
+
export type LeftbarButtionProps = {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
} & ButtonProps;
|
|
9
|
+
export declare const LeftbarButtion: import("react").MemoExoticComponent<(props: LeftbarButtionProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defualtCss = "@layer components {\n .btn {\n @apply px-4 py-2 rounded-lg font-semibold uppercase cursor-pointer transition-all duration-200;\n }\n .btn:focus {\n @apply outline-none;\n }\n .btn:disabled {\n @apply opacity-70 cursor-not-allowed;\n }\n .btn-sm {\n @apply text-sm px-2 py-1;\n }\n .btn-lg {\n @apply text-lg px-6 py-3;\n }\n .btn-primary {\n @apply bg-primary-500 text-white hover:bg-primary-600 focus:bg-primary-600;\n }\n .btn-secondary {\n @apply bg-secondary-500 text-white hover:bg-secondary-600 focus:bg-secondary-600;\n }\n .btn-accent {\n @apply bg-accent-500 text-white hover:bg-accent-600 focus:bg-accent-600;\n }\n .btn-neutral {\n @apply bg-neutral-500 text-white hover:bg-neutral-600 focus:bg-neutral-600;\n }\n .btn-outline {\n @apply bg-transparent border border-solid hover:text-white focus:text-white;\n }\n .btn-outline:hover, .btn-outline:focus {\n @apply bg-current;\n }\n}\n ";
|
|
2
|
+
export declare function CssPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ExtendsPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ExtendField } from '@rxdrag/rxcms-models';
|
|
2
|
+
export declare const inputClassNames: {
|
|
3
|
+
label: string;
|
|
4
|
+
base: string;
|
|
5
|
+
wrapper: string;
|
|
6
|
+
mainWrapper: string;
|
|
7
|
+
};
|
|
8
|
+
export default function ExtendsTable(props: {
|
|
9
|
+
fields?: ExtendField[];
|
|
10
|
+
onChange?: (fields: ExtendField[]) => void;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const defaultTailwindConfig = "{\n theme: {\n extend: {\n colors: {\n // \u4E3B\u8272\n primary: {\n 50: '#f0f9ff',\n 100: '#e0f2fe',\n 200: '#bae6fd',\n 300: '#7dd3fc',\n 400: '#38bdf8',\n 500: '#0ea5e9',\n 600: '#0284c7',\n 700: '#0369a1',\n 800: '#075985',\n 900: '#0c4a6e',\n },\n // \u8F85\u52A9\u8272\n secondary: {\n 50: '#fdf4ff',\n 100: '#fae8ff',\n 200: '#f5d0fe',\n 300: '#f0abfc',\n 400: '#e879f9',\n 500: '#d946ef',\n 600: '#c026d3',\n 700: '#a21caf',\n 800: '#86198f',\n 900: '#701a75',\n },\n // \u5F3A\u8C03\u8272\n accent: {\n 50: '#fff7ed',\n 100: '#ffedd5',\n 200: '#fed7aa',\n 300: '#fdba74',\n 400: '#fb923c',\n 500: '#f97316',\n 600: '#ea580c',\n 700: '#c2410c',\n 800: '#9a3412',\n 900: '#7c2d12',\n },\n // \u4E2D\u6027\u8272\n neutral: colors.gray,\n // \u8BED\u4E49\u8272\n success: colors.green,\n warning: colors.yellow,\n error: colors.red,\n info: colors.blue,\n },\n backgroundColor: theme => ({\n ...theme('colors'),\n 'base': theme('colors.gray.100'),\n 'base-dark': theme('colors.gray.900'),\n }),\n textColor: theme => ({\n ...theme('colors'),\n 'base': theme('colors.gray.900'),\n 'base-light': theme('colors.gray.600'),\n 'base-dark': theme('colors.gray.100'),\n }),\n borderColor: theme => ({\n ...theme('colors'),\n DEFAULT: theme('colors.gray.200'),\n }),\n },\n },\n variants: {\n extend: {\n backgroundColor: ['active', 'disabled'],\n textColor: ['active', 'disabled'],\n opacity: ['disabled'],\n },\n },\n plugins: [\n function ({ addVariant }) {\n addVariant('scrolling', '.scrolling &');\n addVariant('actived', '.actived&');\n addVariant('disabled', '.disabled&');\n addVariant('home', '.home &');\n }\n ],\n}\n";
|
|
2
|
+
export declare function TailwindPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ThemeSettingsDrawer(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DrawerConentType, SelectedContent } from "../../types";
|
|
3
|
+
export type LeftbarProps = {
|
|
4
|
+
selectedContent?: SelectedContent;
|
|
5
|
+
selectedDrawerType?: DrawerConentType;
|
|
6
|
+
onSelectDrawerType?: (type: DrawerConentType) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const titles: {
|
|
9
|
+
insert: string;
|
|
10
|
+
seo: string;
|
|
11
|
+
sem: string;
|
|
12
|
+
sns: string;
|
|
13
|
+
componentSchema: string;
|
|
14
|
+
componentTest: string;
|
|
15
|
+
layers: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const Leftbar: import("react").MemoExoticComponent<(props: LeftbarProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ITreeNode } from "@rxdrag/core-pro";
|
|
3
|
+
export declare const NodeTag: import("react").MemoExoticComponent<(props: {
|
|
4
|
+
node: ITreeNode;
|
|
5
|
+
zIndex: number;
|
|
6
|
+
first: boolean;
|
|
7
|
+
last: boolean;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|