@sincerecloud/sc-ui
Version:
vue3 ui ant-design-vue sincerecloud sc-ui typescript
44 lines (43 loc) • 2.54 kB
TypeScript
import { camelize } from '../util';
import initDefaultProps from './initDefaultProps';
declare const splitAttrs: (attrs: any) => {
onEvents: {};
events: {};
extraAttrs: {};
};
declare const parseStyleText: (cssText: string | undefined, camel: any) => {};
declare const hasProp: (instance: any, prop: any) => boolean;
declare const slotHasProp: (slot: any, prop: any) => boolean;
declare const getSlots: (ele: any) => any;
declare const flattenChildren: (children?: never[], filterEmpty?: boolean) => any[];
declare const getSlot: (self: any, name?: string, options?: {}) => any[];
declare const getAllChildren: (ele: any) => any;
declare const getSlotOptions: () => never;
declare const findDOMNode: (instance: any) => any;
declare const getOptionProps: (instance: any) => {};
declare const getComponent: (instance: any, prop?: string, options?: any, execute?: boolean) => any;
declare const getComponentFromProp: (instance: any, prop: any, options?: any, execute?: boolean) => any;
declare const getAllProps: (ele: any) => {};
declare const getPropsData: (ins: any) => {};
declare const getValueByProp: (ele: any, prop: any) => any;
declare const getAttrs: (ele: any) => any;
declare const getKey: (ele: any) => any;
export declare function getEvents(ele?: {}, on?: boolean): {} | {};
export declare function getEvent(child: any, event: any): any;
export declare function getDataEvents(child: any): {};
export declare function getListeners(context: any): any;
export declare function getClass(ele: any): {};
export declare function getStyle(ele: any, camel: any): any;
export declare function getComponentName(opts: any): any;
export declare function isFragment(c: any): boolean;
export declare function isEmptyContent(c: any): boolean;
export declare function isEmptyElement(c: any): any;
export declare function isEmptySlot(c: any): any;
export declare function isStringElement(c: any): any;
export declare function filterEmpty(children?: never[]): any[];
export declare function mergeProps(): {};
declare function isValidElement(element: any): any;
declare function getPropsSlot(slots: any, props: any, prop?: string): any;
export declare const getTextFromElement: (ele: any) => any;
export { splitAttrs, hasProp, getOptionProps, getComponent, getComponentFromProp, getSlotOptions, slotHasProp, getPropsData, getKey, getAttrs, getValueByProp, parseStyleText, initDefaultProps, isValidElement, camelize, getSlots, getSlot, getAllProps, getAllChildren, findDOMNode, flattenChildren, getPropsSlot, };
export default hasProp;