@bytedance/mona-shared
Version:
mona shared utils
84 lines (83 loc) • 2.03 kB
TypeScript
export declare const RENDER_NODE: {
COMPLIER_KEY: string;
COMPLIER_TYPE: string;
COMPLIER_NODES: string;
COMPLIER_CHILDREN: string;
COMPLIER_TEXT: string;
COMPLIER_PROPS: string;
};
export declare const webComponentType: {
span: string;
div: string;
section: string;
article: string;
aside: string;
footer: string;
address: string;
main: string;
nav: string;
code: string;
img: string;
iframe: string;
};
export declare const ComponentType: {
text: string;
block: string;
'rich-text': string;
progress: string;
icon: string;
view: string;
'scroll-view': string;
swiper: string;
'swiper-item': string;
'movable-area': string;
'movable-view': string;
button: string;
checkbox: string;
'checkbox-group': string;
form: string;
input: string;
label: string;
picker: string;
'picker-view': string;
'picker-view-column': string;
radio: string;
'radio-group': string;
slider: string;
switch: string;
textarea: string;
navigator: string;
image: string;
video: string;
'live-player': string;
camera: string;
canvas: string;
map: string;
'web-view': string;
ad: string;
'open-data': string;
ptext: string;
'member-button': string;
'coupon-card': string;
'product-follow-button': string;
'sku-button': string;
'shop-follow-card': string;
span: string;
div: string;
section: string;
article: string;
aside: string;
footer: string;
address: string;
main: string;
nav: string;
code: string;
img: string;
iframe: string;
};
export declare const MiniComponentAliasMap: Record<string, string>;
export declare const CUSTOM_REF = "__ref";
export declare const CUSTOM_COMPONENT_PROTOCOL = "native://";
export declare const GLOBAL_LIFECYCLE_STORE = "_mona_app_lifecycle";
export declare const DEFAULT_PORT = "9999";
export declare const DEFAULT_HOST = "localhost";