@chamn/engine 0.0.39 → 0.0.41
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/dist/Engine.module.scss.d.ts +0 -5
- package/dist/component/CSSEditor/index.d.ts +0 -16
- package/dist/component/CSSEditor/style.module.scss.d.ts +0 -6
- package/dist/component/CSSPropertiesEditor/cssProperties.d.ts +0 -898
- package/dist/component/CSSPropertiesEditor/index.d.ts +0 -21
- package/dist/component/CSSPropertiesEditor/signleProperty.d.ts +0 -25
- package/dist/component/CSSPropertiesEditor/style.module.scss.d.ts +0 -17
- package/dist/component/CSSPropertiesVariableBindEditor/SingleProperty.d.ts +0 -24
- package/dist/component/CSSPropertiesVariableBindEditor/cssProperties.d.ts +0 -898
- package/dist/component/CSSPropertiesVariableBindEditor/index.d.ts +0 -19
- package/dist/component/CSSPropertiesVariableBindEditor/style.module.scss.d.ts +0 -16
- package/dist/component/CSSSizeInput/index.d.ts +0 -39
- package/dist/component/CSSSizeInput/style.module.scss.d.ts +0 -10
- package/dist/component/CSSUIPanel/BackgroundInput/index.d.ts +0 -10
- package/dist/component/CSSUIPanel/BorderInput/index.d.ts +0 -10
- package/dist/component/CSSUIPanel/DimensionInput/index.d.ts +0 -11
- package/dist/component/CSSUIPanel/FontInput/index.d.ts +0 -10
- package/dist/component/CSSUIPanel/MarginAndPaddingInput/index.d.ts +0 -11
- package/dist/component/CSSUIPanel/ShadowInput/index.d.ts +0 -10
- package/dist/component/CSSUIPanel/index.d.ts +0 -9
- package/dist/component/CSSUIPanel/style.module.scss.d.ts +0 -11
- package/dist/component/CSSUIPanel/type.d.ts +0 -3
- package/dist/component/ClassNameEditor/index.d.ts +0 -10
- package/dist/component/CustomSchemaForm/components/Form/Field/index.d.ts +0 -12
- package/dist/component/CustomSchemaForm/components/Form/Field/style.module.scss.d.ts +0 -8
- package/dist/component/CustomSchemaForm/components/Form/context.d.ts +0 -12
- package/dist/component/CustomSchemaForm/components/Form/index.d.ts +0 -19
- package/dist/component/CustomSchemaForm/components/SetterSwitcher/index.d.ts +0 -14
- package/dist/component/CustomSchemaForm/components/SetterSwitcher/style.module.scss.d.ts +0 -7
- package/dist/component/CustomSchemaForm/components/Setters/AntDColorSetter/index.d.ts +0 -2
- package/dist/component/CustomSchemaForm/components/Setters/ArraySetter/ArrayItem.d.ts +0 -11
- package/dist/component/CustomSchemaForm/components/Setters/ArraySetter/SortItemOrderModal.d.ts +0 -10
- package/dist/component/CustomSchemaForm/components/Setters/ArraySetter/index.d.ts +0 -14
- package/dist/component/CustomSchemaForm/components/Setters/ArraySetter/style.module.scss.d.ts +0 -7
- package/dist/component/CustomSchemaForm/components/Setters/BooleanSetter/index.d.ts +0 -7
- package/dist/component/CustomSchemaForm/components/Setters/CSSSizeSetter/index.d.ts +0 -3
- package/dist/component/CustomSchemaForm/components/Setters/CSSValueSetter/index.d.ts +0 -6
- package/dist/component/CustomSchemaForm/components/Setters/CSSValueSetter/style.module.scss.d.ts +0 -6
- package/dist/component/CustomSchemaForm/components/Setters/ColorSetter/index.d.ts +0 -2
- package/dist/component/CustomSchemaForm/components/Setters/ExpressionSetter/index.d.ts +0 -10
- package/dist/component/CustomSchemaForm/components/Setters/FunctionSetter/index.d.ts +0 -2
- package/dist/component/CustomSchemaForm/components/Setters/JSONSetter/index.d.ts +0 -2
- package/dist/component/CustomSchemaForm/components/Setters/NumberSetter/index.d.ts +0 -3
- package/dist/component/CustomSchemaForm/components/Setters/RadioGroupSetter/index.d.ts +0 -2
- package/dist/component/CustomSchemaForm/components/Setters/SelectSetter/index.d.ts +0 -3
- package/dist/component/CustomSchemaForm/components/Setters/ShapeSetter/index.d.ts +0 -8
- package/dist/component/CustomSchemaForm/components/Setters/SliderSetter/index.d.ts +0 -3
- package/dist/component/CustomSchemaForm/components/Setters/StringSetter/index.d.ts +0 -3
- package/dist/component/CustomSchemaForm/components/Setters/TextAreaSetter/index.d.ts +0 -3
- package/dist/component/CustomSchemaForm/components/Setters/index.d.ts +0 -4
- package/dist/component/CustomSchemaForm/components/Setters/type.d.ts +0 -20
- package/dist/component/CustomSchemaForm/context.d.ts +0 -15
- package/dist/component/CustomSchemaForm/index.d.ts +0 -22
- package/dist/component/CustomSchemaForm/style.module.scss.d.ts +0 -11
- package/dist/component/CustomSchemaForm/utils.d.ts +0 -2
- package/dist/component/InputNumberPlus/index.d.ts +0 -9
- package/dist/component/InputNumberPlus/style.module.scss.d.ts +0 -6
- package/dist/component/MonacoEditor/index.d.ts +0 -14
- package/dist/component/Workbench/index.d.ts +0 -72
- package/dist/component/Workbench/style.module.scss.d.ts +0 -26
- package/dist/config/colorPickerColorList.d.ts +0 -4
- package/dist/core/assetPackagesListManage.d.ts +0 -8
- package/dist/core/pluginManager.d.ts +0 -63
- package/dist/i18n/en_US/index.d.ts +0 -5
- package/dist/i18n/index.d.ts +0 -6
- package/dist/i18n/zh_CN/index.d.ts +0 -5
- package/dist/index.d.ts +0 -57
- package/dist/material/innerMaterial.d.ts +0 -2
- package/dist/plugins/AdvancePanel/index.d.ts +0 -10
- package/dist/plugins/AdvancePanel/style.module.scss.d.ts +0 -7
- package/dist/plugins/ComponentLibrary/components/DragItem/index.d.ts +0 -12
- package/dist/plugins/ComponentLibrary/components/DragItem/style.module.scss.d.ts +0 -9
- package/dist/plugins/ComponentLibrary/components/ListView/index.d.ts +0 -9
- package/dist/plugins/ComponentLibrary/components/ListView/style.module.scss.d.ts +0 -12
- package/dist/plugins/ComponentLibrary/index.d.ts +0 -3
- package/dist/plugins/ComponentLibrary/localize/en_US/index.d.ts +0 -1
- package/dist/plugins/ComponentLibrary/localize/index.d.ts +0 -2
- package/dist/plugins/ComponentLibrary/localize/zh_CN/index.d.ts +0 -1
- package/dist/plugins/ComponentLibrary/style.module.scss.d.ts +0 -11
- package/dist/plugins/ComponentLibrary/util.d.ts +0 -1
- package/dist/plugins/ComponentStatePanel/index.d.ts +0 -10
- package/dist/plugins/Designer/components/Canvas/advanceCustomHook.d.ts +0 -45
- package/dist/plugins/Designer/components/Canvas/index.d.ts +0 -63
- package/dist/plugins/Designer/components/Canvas/style.module.scss.d.ts +0 -5
- package/dist/plugins/Designer/components/DefaultSelectToolBar/index.d.ts +0 -16
- package/dist/plugins/Designer/components/DefaultSelectToolBar/style.module.scss.d.ts +0 -11
- package/dist/plugins/Designer/components/GhostView/index.d.ts +0 -5
- package/dist/plugins/Designer/config.d.ts +0 -1
- package/dist/plugins/Designer/index.d.ts +0 -2
- package/dist/plugins/Designer/localize/en_US/index.d.ts +0 -1
- package/dist/plugins/Designer/localize/index.d.ts +0 -2
- package/dist/plugins/Designer/localize/zh_CN/index.d.ts +0 -1
- package/dist/plugins/Designer/type.d.ts +0 -26
- package/dist/plugins/Designer/util.d.ts +0 -2
- package/dist/plugins/DisplaySourceSchema/index.d.ts +0 -9
- package/dist/plugins/GlobalStatePanel/index.d.ts +0 -3
- package/dist/plugins/GlobalStatePanel/localize/en_US/index.d.ts +0 -1
- package/dist/plugins/GlobalStatePanel/localize/index.d.ts +0 -2
- package/dist/plugins/GlobalStatePanel/localize/zh_CN/index.d.ts +0 -1
- package/dist/plugins/GlobalStatePanel/style.module.scss.d.ts +0 -5
- package/dist/plugins/History/index.d.ts +0 -2
- package/dist/plugins/History/type.d.ts +0 -12
- package/dist/plugins/OutlineTree/components/TreeView/context.d.ts +0 -30
- package/dist/plugins/OutlineTree/components/TreeView/dataStruct.d.ts +0 -21
- package/dist/plugins/OutlineTree/components/TreeView/index.d.ts +0 -33
- package/dist/plugins/OutlineTree/components/TreeView/style.module.scss.d.ts +0 -16
- package/dist/plugins/OutlineTree/components/TreeView/treeNode.d.ts +0 -11
- package/dist/plugins/OutlineTree/index.d.ts +0 -3
- package/dist/plugins/OutlineTree/localize/en_US/index.d.ts +0 -1
- package/dist/plugins/OutlineTree/localize/index.d.ts +0 -2
- package/dist/plugins/OutlineTree/localize/zh_CN/index.d.ts +0 -1
- package/dist/plugins/OutlineTree/util.d.ts +0 -14
- package/dist/plugins/PropertyPanel/index.d.ts +0 -9
- package/dist/plugins/PropertyPanel/style.module.scss.d.ts +0 -10
- package/dist/plugins/RightPanel/index.d.ts +0 -2
- package/dist/plugins/RightPanel/style.module.scss.d.ts +0 -10
- package/dist/plugins/RightPanel/view.d.ts +0 -39
- package/dist/plugins/VisualPanelPlus/index.d.ts +0 -4
- package/dist/plugins/VisualPanelPlus/style.module.scss.d.ts +0 -10
- package/dist/plugins/index.d.ts +0 -9
- package/dist/utils/css.d.ts +0 -40
- package/dist/utils/defaultEngineConfig.d.ts +0 -13
- package/dist/utils/index.d.ts +0 -12
- package/dist/utils/logger.d.ts +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Sensor } from '@chamn/layout';
|
|
2
|
-
import { CNode, CRootNode } from '@chamn/model';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { WithTranslation } from 'react-i18next';
|
|
5
|
-
import { CPluginCtx } from '../../../../core/pluginManager';
|
|
6
|
-
import { ContextState } from './context';
|
|
7
|
-
import { TreeNodeData } from './dataStruct';
|
|
8
|
-
interface TreeViewProps extends WithTranslation {
|
|
9
|
-
pluginCtx: CPluginCtx;
|
|
10
|
-
multiSelect?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class TreeView extends React.Component<TreeViewProps, ContextState & {
|
|
13
|
-
dropPosInfo: {
|
|
14
|
-
x: number;
|
|
15
|
-
y: number;
|
|
16
|
-
} | null;
|
|
17
|
-
}> {
|
|
18
|
-
domRef: React.RefObject<HTMLDivElement>;
|
|
19
|
-
disposeCbList: (() => void)[];
|
|
20
|
-
sensor?: Sensor;
|
|
21
|
-
constructor(props: TreeViewProps);
|
|
22
|
-
getDesignerHandler: () => Promise<import('../../../../plugins/Designer/type').DesignerExport>;
|
|
23
|
-
updateTreeDataFromNode: () => void;
|
|
24
|
-
getParentKeyPaths: (targetKey: string) => string[];
|
|
25
|
-
scrollNodeToView: (key: string) => void;
|
|
26
|
-
componentDidMount(): Promise<void>;
|
|
27
|
-
toSelectTreeNode: (node: CNode | CRootNode | null) => void;
|
|
28
|
-
containNode: (parentNode: TreeNodeData, targetNode: TreeNodeData) => null;
|
|
29
|
-
getTreeNodeByKey: (key: string) => TreeNodeData | null;
|
|
30
|
-
registerDragEvent: () => Promise<void>;
|
|
31
|
-
render(): JSX.Element;
|
|
32
|
-
}
|
|
33
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import globalClassNames from '../../../../style.d';
|
|
2
|
-
declare const classNames: typeof globalClassNames & {
|
|
3
|
-
readonly contentBox: 'contentBox';
|
|
4
|
-
readonly nodeBox: 'nodeBox';
|
|
5
|
-
readonly toolbarBox: 'toolbarBox';
|
|
6
|
-
readonly iconItem: 'iconItem';
|
|
7
|
-
readonly nodeContent: 'nodeContent';
|
|
8
|
-
readonly selected: 'selected';
|
|
9
|
-
readonly nodeArrow: 'nodeArrow';
|
|
10
|
-
readonly expanded: 'expanded';
|
|
11
|
-
readonly nodeRenderView: 'nodeRenderView';
|
|
12
|
-
readonly nodeChildren: 'nodeChildren';
|
|
13
|
-
readonly dropAnchorLine: 'dropAnchorLine';
|
|
14
|
-
readonly arrowSpan: 'arrowSpan';
|
|
15
|
-
};
|
|
16
|
-
export = classNames;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TreeNodeData } from './dataStruct';
|
|
3
|
-
import { CPluginCtx } from '../../../../core/pluginManager';
|
|
4
|
-
export declare const DRAG_ITEM_KEY = "data-drag-key";
|
|
5
|
-
export type TreeNodeProps = {
|
|
6
|
-
item: TreeNodeData;
|
|
7
|
-
level?: number;
|
|
8
|
-
paths?: (string | number)[];
|
|
9
|
-
pluginCtx: CPluginCtx;
|
|
10
|
-
};
|
|
11
|
-
export declare const TreeNode: (props: TreeNodeProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const en_US: Record<string, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const zh_CN: Record<string, any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CNode, CNodeDataType, CPage, CPageDataType, DropPosType, MTitle } from '@chamn/model';
|
|
2
|
-
import { TreeNodeData } from './components/TreeView/dataStruct';
|
|
3
|
-
export declare const getTargetMNodeKeyVal: (dom: HTMLElement | null, key: string) => null | string;
|
|
4
|
-
export declare const transformNodeSchemaToTreeData: (nodeSchema: CNodeDataType | CNodeDataType[], parent: TreeNodeData, pageModel: CPage) => TreeNodeData | TreeNodeData[];
|
|
5
|
-
export declare const transformPageSchemaToTreeData: (pageSchema: CPageDataType, pageModel: CPage) => TreeNodeData[];
|
|
6
|
-
export declare const traverseTree: (tree: TreeNodeData | TreeNodeData[], handler: (node: TreeNodeData) => boolean) => void;
|
|
7
|
-
export declare function calculateDropPosInfo(params: {
|
|
8
|
-
point: {
|
|
9
|
-
x: number;
|
|
10
|
-
y: number;
|
|
11
|
-
};
|
|
12
|
-
dom: HTMLElement;
|
|
13
|
-
}): DropPosType;
|
|
14
|
-
export declare const getNodePropsLabelMap: (node: CNode) => Record<string, MTitle>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CNode, CRootNode } from '@chamn/model';
|
|
3
|
-
import { CPluginCtx } from '../../core/pluginManager';
|
|
4
|
-
import { CRightPanelItem } from '../RightPanel/view';
|
|
5
|
-
export declare const PropertyPanel: (props: {
|
|
6
|
-
node: CNode | CRootNode | null;
|
|
7
|
-
pluginCtx: CPluginCtx;
|
|
8
|
-
}) => JSX.Element;
|
|
9
|
-
export declare const PropertyPanelConfig: CRightPanelItem;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import globalClassNames from '../../style.d';
|
|
2
|
-
declare const classNames: typeof globalClassNames & {
|
|
3
|
-
readonly CFromRenderBox: 'CFromRenderBox';
|
|
4
|
-
readonly 'ant-collapse': 'ant-collapse';
|
|
5
|
-
readonly 'ant-collapse-content': 'ant-collapse-content';
|
|
6
|
-
readonly 'ant-collapse-content-box': 'ant-collapse-content-box';
|
|
7
|
-
readonly 'ant-collapse-item': 'ant-collapse-item';
|
|
8
|
-
readonly 'ant-collapse-header': 'ant-collapse-header';
|
|
9
|
-
};
|
|
10
|
-
export = classNames;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import globalClassNames from '../../style.d';
|
|
2
|
-
declare const classNames: typeof globalClassNames & {
|
|
3
|
-
readonly rightPanelContainer: 'rightPanelContainer';
|
|
4
|
-
readonly 'ant-tabs': 'ant-tabs';
|
|
5
|
-
readonly 'ant-tabs-tab': 'ant-tabs-tab';
|
|
6
|
-
readonly 'ant-tabs-content': 'ant-tabs-content';
|
|
7
|
-
readonly 'ant-tabs-content-top': 'ant-tabs-content-top';
|
|
8
|
-
readonly 'ant-tabs-tabpane': 'ant-tabs-tabpane';
|
|
9
|
-
};
|
|
10
|
-
export = classNames;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { CNode, CRootNode } from '@chamn/model';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CPluginCtx } from '../../core/pluginManager';
|
|
4
|
-
export type RightPanelOptions = {
|
|
5
|
-
node: CNode | CRootNode | null;
|
|
6
|
-
pluginCtx: CPluginCtx;
|
|
7
|
-
activeTab: string;
|
|
8
|
-
};
|
|
9
|
-
export type CRightPanelItem = {
|
|
10
|
-
key: string;
|
|
11
|
-
name: string | ((props: RightPanelOptions) => React.ReactNode);
|
|
12
|
-
view: (props: RightPanelOptions) => React.ReactNode;
|
|
13
|
-
show?: (options: RightPanelOptions) => boolean;
|
|
14
|
-
};
|
|
15
|
-
interface RightPanelProps {
|
|
16
|
-
pluginCtx: CPluginCtx;
|
|
17
|
-
}
|
|
18
|
-
interface RightPanelState {
|
|
19
|
-
node: CNode | CRootNode | null;
|
|
20
|
-
activeKey: string;
|
|
21
|
-
panels: CRightPanelItem[];
|
|
22
|
-
displayPanels: CRightPanelItem[];
|
|
23
|
-
}
|
|
24
|
-
export declare class RightPanel extends React.Component<RightPanelProps, RightPanelState> {
|
|
25
|
-
constructor(props: RightPanelProps);
|
|
26
|
-
addPanel: (panel: CRightPanelItem) => void;
|
|
27
|
-
removePanel: (panelName: string) => void;
|
|
28
|
-
replacePanel: (panelName: string, newPanel: CRightPanelItem) => void;
|
|
29
|
-
choosePanel: (panelName: string) => void;
|
|
30
|
-
/** 更新被展示的 panel, 根据 panel 的 show 方法 */
|
|
31
|
-
updatePanels: () => {
|
|
32
|
-
panels: CRightPanelItem[];
|
|
33
|
-
displayPanels: CRightPanelItem[];
|
|
34
|
-
};
|
|
35
|
-
onNodeChange: ({ node }: any) => void;
|
|
36
|
-
componentDidMount(): void;
|
|
37
|
-
render(): JSX.Element;
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import globalClassNames from '../../style.d';
|
|
2
|
-
declare const classNames: typeof globalClassNames & {
|
|
3
|
-
readonly visualPanelBox: 'visualPanelBox';
|
|
4
|
-
readonly header: 'header';
|
|
5
|
-
readonly 'ant-collapse': 'ant-collapse';
|
|
6
|
-
readonly 'ant-collapse-item': 'ant-collapse-item';
|
|
7
|
-
readonly 'ant-collapse-header': 'ant-collapse-header';
|
|
8
|
-
readonly 'ant-collapse-expand-icon': 'ant-collapse-expand-icon';
|
|
9
|
-
};
|
|
10
|
-
export = classNames;
|
package/dist/plugins/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CPlugin } from '../core/pluginManager';
|
|
2
|
-
import { ComponentLibPlugin } from './ComponentLibrary';
|
|
3
|
-
import { DesignerPlugin } from './Designer';
|
|
4
|
-
import { RightPanelPlugin } from './RightPanel';
|
|
5
|
-
import { GlobalStatePanelPlugin } from './GlobalStatePanel';
|
|
6
|
-
import { DisplaySourceSchema } from './DisplaySourceSchema';
|
|
7
|
-
import { HistoryPlugin } from './History';
|
|
8
|
-
export declare const DEFAULT_PLUGIN_LIST: CPlugin[];
|
|
9
|
-
export { DesignerPlugin, ComponentLibPlugin, RightPanelPlugin, GlobalStatePanelPlugin, HistoryPlugin, DisplaySourceSchema, };
|
package/dist/utils/css.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { CSSVal } from '../component/CSSEditor';
|
|
2
|
-
import { CNodeModelDataType, CSSType, JSExpressionPropType } from '@chamn/model';
|
|
3
|
-
export type StyleArr = {
|
|
4
|
-
property: string;
|
|
5
|
-
value: any;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const styleArr2Obj: (val: StyleArr) => Record<string, any>;
|
|
8
|
-
export declare const styleObjToArr: (obj?: Record<string, any>) => StyleArr;
|
|
9
|
-
export declare const styleList2Text: (val: StyleArr) => string;
|
|
10
|
-
export declare const formatStyleProperty: (styleList?: CNodeModelDataType['style']) => {
|
|
11
|
-
normalProperty: {
|
|
12
|
-
property: string;
|
|
13
|
-
value: string;
|
|
14
|
-
}[];
|
|
15
|
-
expressionProperty: {
|
|
16
|
-
property: string;
|
|
17
|
-
value: JSExpressionPropType;
|
|
18
|
-
}[];
|
|
19
|
-
allProperty: {
|
|
20
|
-
property: string;
|
|
21
|
-
value: any;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
export declare const formatCSSTextProperty: (cssText: string) => {
|
|
25
|
-
id: string;
|
|
26
|
-
property: string;
|
|
27
|
-
value: string;
|
|
28
|
-
}[];
|
|
29
|
-
export declare const formatCssToNodeVal: (className: string, val: CSSVal) => CSSType;
|
|
30
|
-
export declare const formatNodeValToEditor: (val?: CSSType) => CSSVal;
|
|
31
|
-
export declare const getColorFromStr: (str: string) => string[];
|
|
32
|
-
export type BoxShadowObjType = {
|
|
33
|
-
offsetX: string | undefined;
|
|
34
|
-
offsetY: string | undefined;
|
|
35
|
-
blur: string | undefined;
|
|
36
|
-
spread: string | undefined;
|
|
37
|
-
color: string | undefined;
|
|
38
|
-
type?: 'inset' | '';
|
|
39
|
-
};
|
|
40
|
-
export declare const parseBoxShadowString: (str: string) => BoxShadowObjType[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LayoutPropsType } from '@chamn/layout';
|
|
2
|
-
/** 默认使用 react 18 模式渲染 */
|
|
3
|
-
export declare const beforeInitRender: LayoutPropsType['beforeInitRender'];
|
|
4
|
-
/** 默认使用 react 18 模式渲染 */
|
|
5
|
-
export declare const getDefaultRender: (components: Record<string, any>) => (options: {
|
|
6
|
-
iframe: import("@chamn/layout").IFrameContainer;
|
|
7
|
-
pageModel?: import("@chamn/model").CPage | undefined;
|
|
8
|
-
page?: import("@chamn/model").CPageDataType | undefined;
|
|
9
|
-
assets: import("@chamn/model").AssetPackage[];
|
|
10
|
-
renderJSUrl?: string | undefined;
|
|
11
|
-
beforeInitRender?: (() => void) | undefined;
|
|
12
|
-
ready: (designRender: import("@chamn/render").DesignRender) => void;
|
|
13
|
-
}) => void;
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @param time 毫秒
|
|
4
|
-
* @returns
|
|
5
|
-
*/
|
|
6
|
-
export declare const waitReactUpdate: ({ time, cb, }?: {
|
|
7
|
-
time?: number | undefined;
|
|
8
|
-
cb?: ((...args: any[]) => void) | undefined;
|
|
9
|
-
}) => Promise<unknown>;
|
|
10
|
-
export * from './css';
|
|
11
|
-
export * from './defaultEngineConfig';
|
|
12
|
-
export * from './logger';
|
package/dist/utils/logger.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LOGGER: import("consola").Consola;
|