@cloudos/core
Advanced tools
| declare const _default: (props: any) => any; | ||
| export default _default; |
| export declare const useCommandPanel: () => { | ||
| start: () => void; | ||
| exit: () => void; | ||
| }; |
| import Fuse from "fuse.js"; | ||
| export declare const useSearchEngine: () => { | ||
| search: (query: string) => Fuse.FuseResult<{ | ||
| keywords: string[]; | ||
| description: string; | ||
| }>[]; | ||
| }; |
| export declare const pickProps: (obj: Object, keys: string[]) => { | ||
| [k: string]: any; | ||
| }; | ||
| export declare const excludeProps: (obj: Object, keys: string[]) => { | ||
| [k: string]: any; | ||
| }; | ||
| export declare type Override<T1, T2> = Omit<T1, keyof T2> & T2; | ||
| export declare const isClassComponent: (component: any) => boolean; | ||
| export declare const isFunctionComponent: (component: any) => boolean; | ||
| export declare const isReactComponent: (component: any) => boolean; |
| declare const _default: { | ||
| type: string; | ||
| transformer: (node: any, key: any, children: any[]) => any; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| type: string; | ||
| transformer: (node: any, key?: any, children?: any[] | undefined) => ChildNode | null; | ||
| }; | ||
| export default _default; |
| import ContentEditable from "react-contenteditable"; | ||
| export { ContentEditable }; |
| import { CSSProperties, HTMLAttributes } from '@cloudos/flow-ui'; | ||
| import { ReactNode, FC } from 'react'; | ||
| export declare type FlexboxProps = CSSProperties & HTMLAttributes<null> & { | ||
| style?: string | object; | ||
| flow?: "column" | "row" | "column-reverse" | "row-reverse"; | ||
| span?: string | number; | ||
| children?: ReactNode[]; | ||
| key?: any; | ||
| onTakeEffect?: Function; | ||
| innerRef?: any; | ||
| [k: string]: any; | ||
| }; | ||
| export declare const Flexbox: FC<{}>; |
| export * from './windowIcons'; |
| export declare const WindowRestore: import("react-icons/lib").IconType; | ||
| export declare const WindowClose: import("react-icons/lib").IconType; | ||
| export declare const WindowMaximize: import("react-icons/lib").IconType; | ||
| export declare const WindowMinimize: import("react-icons/lib").IconType; |
| export { Rnd } from 'react-rnd'; | ||
| export type { Props as RndProps } from 'react-rnd'; |
| import { WindowHeaderProps } from './windowHeader'; | ||
| export declare type WindowProps = { | ||
| width?: number | string; | ||
| height?: number | string; | ||
| } & WindowHeaderProps; | ||
| declare const _default: { | ||
| type: string; | ||
| transformer: (node: any, key: any, children: any[]) => any; | ||
| }; | ||
| export default _default; |
| export declare type WindowControlProps = { | ||
| onMinimize?: Function; | ||
| onRestore?: Function; | ||
| onMaximize?: Function; | ||
| onClose?: Function; | ||
| }; | ||
| declare const _default: (x?: WindowControlProps) => { | ||
| name: string; | ||
| span: string; | ||
| flow: string; | ||
| alignItems: string; | ||
| justifyContent: string; | ||
| children: { | ||
| type: string; | ||
| onClick: Function; | ||
| }[]; | ||
| }; | ||
| export default _default; |
| import { WindowControlProps } from './windowControl'; | ||
| export declare type WindowHeaderProps = {} & WindowControlProps; | ||
| declare const _default: (x?: WindowHeaderProps) => { | ||
| name: string; | ||
| flow: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| span: string; | ||
| flexShrink: number; | ||
| className: string; | ||
| children: ({ | ||
| name: string; | ||
| span: string; | ||
| flow: string; | ||
| alignItems: string; | ||
| justifyContent: string; | ||
| children: { | ||
| type: string; | ||
| onClick: Function; | ||
| }[]; | ||
| } | { | ||
| name: string; | ||
| minWidth: string; | ||
| span?: undefined; | ||
| } | { | ||
| name: string; | ||
| span: string; | ||
| minWidth?: undefined; | ||
| })[]; | ||
| }; | ||
| export default _default; |
| /// <reference types="react" /> | ||
| export declare const createUI: (node: any, context?: { | ||
| [p: string]: any; | ||
| key?: any; | ||
| } | undefined) => any, defineReusable: (node: any) => (params?: object | undefined, children?: any[] | undefined) => any, registerComponent: any, render: (comp: HTMLElement | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, dom: HTMLElement) => void, registerComponentDict: any, registerPostprocessor: Function, registerPreprocessor: Function; |
| export declare const registerDomComponent: (typeName: string, createEl: string | Function) => void; | ||
| export declare const registerReactComponent: (rcName: string, rc: string | import("./plugins/react").ReactComponent) => void; | ||
| export declare const init: () => void; | ||
| export * from './engine'; |
| import { MakeComponent } from '@cloudos/flow-ui'; | ||
| export interface DomComponent extends MakeComponent<{}, "dom"> { | ||
| tag: string; | ||
| } | ||
| export declare const registerDomComponent: (typeName: string, createEl: string | Function) => void; | ||
| declare const _default: { | ||
| registerDomComponent: (typeName: string, createEl: string | Function) => void; | ||
| use: () => { | ||
| registerDomComponent: (typeName: string, createEl: string | Function) => void; | ||
| }; | ||
| }; | ||
| export default _default; |
| import { Component as ReactClassComponent, FunctionComponent as ReactFunctionComponent } from 'react'; | ||
| import { MakeComponent } from '@cloudos/flow-ui'; | ||
| export declare type ReactComponent = (typeof ReactClassComponent) | ReactFunctionComponent; | ||
| export interface RcComponent extends MakeComponent<{}, "rc"> { | ||
| rc: ReactComponent | string; | ||
| } | ||
| export declare const registerReactComponent: (rcName: string, rc: ReactComponent | string) => void; | ||
| declare const _default: { | ||
| registerReactComponent: (rcName: string, rc: string | ReactComponent) => void; | ||
| use: () => { | ||
| registerReactComponent: (rcName: string, rc: string | ReactComponent) => void; | ||
| }; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| use: () => void; | ||
| }; | ||
| export default _default; |
| export * from './framework'; |
| export {}; |
| import Coder from "./pages/Coder"; | ||
| export { Coder }; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| span: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| flexShrink: number; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| description: string; | ||
| span: string; | ||
| flow: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| children: never[]; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| span: string; | ||
| flexShrink: number; | ||
| className: string; | ||
| children: (((props?: object | undefined, children?: any[] | undefined) => any) | { | ||
| name: string; | ||
| minWidth: string; | ||
| span?: undefined; | ||
| } | { | ||
| name: string; | ||
| span: string; | ||
| minWidth?: undefined; | ||
| })[]; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| width: string; | ||
| height: string; | ||
| children: (BarProp | { | ||
| name: string; | ||
| flow: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| span: string; | ||
| flexShrink: number; | ||
| className: string; | ||
| children: (((props?: object | undefined, children?: any[] | undefined) => any) | { | ||
| name: string; | ||
| minWidth: string; | ||
| span?: undefined; | ||
| } | { | ||
| name: string; | ||
| span: string; | ||
| minWidth?: undefined; | ||
| })[]; | ||
| } | { | ||
| flow: string; | ||
| span: string; | ||
| children: ({ | ||
| name: string; | ||
| flow: string; | ||
| span: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| } | { | ||
| description: string; | ||
| flow: string; | ||
| span: string; | ||
| children: ({ | ||
| name: string; | ||
| flow: string; | ||
| span: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| flexShrink: number; | ||
| } | { | ||
| name: string; | ||
| description: string; | ||
| span: string; | ||
| flow: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| children: never[]; | ||
| } | { | ||
| name: string; | ||
| flow: string; | ||
| span: string; | ||
| flexShrink: number; | ||
| boxShadow: string; | ||
| children: { | ||
| description: string; | ||
| flow: string; | ||
| }[]; | ||
| })[]; | ||
| })[]; | ||
| })[]; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| span: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| flexShrink: number; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| span: string; | ||
| flexShrink: number; | ||
| boxShadow: string; | ||
| children: { | ||
| description: string; | ||
| flow: string; | ||
| }[]; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| span: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| backgroundColor: string; | ||
| boxShadow: string; | ||
| span: string; | ||
| flexShrink: number; | ||
| }; | ||
| export default _default; |
| declare const _default: { | ||
| name: string; | ||
| flow: string; | ||
| backgroundColor: string; | ||
| span: string; | ||
| boxShadow: string; | ||
| flexShrink: number; | ||
| children: { | ||
| name: string; | ||
| flow: string; | ||
| children: never[]; | ||
| }[]; | ||
| }; | ||
| export default _default; |
| declare const _default: (props?: object | undefined, children?: any[] | undefined) => any; | ||
| export default _default; |
| declare const _default: (params?: object | undefined, children?: any[] | undefined) => any; | ||
| export default _default; |
| import box from './box'; | ||
| import pane from './pane'; | ||
| import rnd from './rnd'; | ||
| import sortablePane from './sortablePane'; | ||
| export { box, pane, rnd, sortablePane }; |
| declare const _default: (params?: object | undefined, children?: any[] | undefined) => any; | ||
| export default _default; |
| declare const _default: (params?: object | undefined, children?: any[] | undefined) => any; | ||
| export default _default; |
| declare const _default: (params?: object | undefined, children?: any[] | undefined) => any; | ||
| export default _default; |
| declare const _default: () => { | ||
| start: () => void; | ||
| }; | ||
| export default _default; |
| export declare const defineTemplate: (node: any) => (props?: object | undefined, children?: any[] | undefined) => any; | ||
| declare type TemplateMaker = ((props?: any, children?: any[]) => any) | object; | ||
| export declare const defineTransformer: (maker: TemplateMaker) => (node: any, key: any, children: any[]) => any; | ||
| export {}; |
+1
-1
| { | ||
| "name": "@cloudos/core", | ||
| "version": "1.0.22", | ||
| "version": "1.0.23", | ||
| "description": "cloudos-core", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
42912
33.77%79
97.5%1318
34.22%