import { n as UnityEngine, r as System } from "./unity-CqyiwXyf.js"; import { a as Textable, n as BaseElements, o as SVGEelement, s as ReactUnity } from "./base-BdOJBAjh.js"; import { _ as Toggle, a as Button, b as View, c as Image, f as Slider, g as TextField, i as Bindable, m as Svg, n as BaseField, o as IMGUI, t as Anchor, u as Range, y as ValueComponent } from "./components-Dyz9O4hQ.js"; import * as rc from "react"; //#region src/models/editor/components.d.ts interface EnumProps extends BaseField { type: System.Type | string; } interface ObjectProps extends BaseField { type?: System.Type | string; allowSceneObjects?: boolean; } type DialogType = 'default' | 'modal' | 'utility' | 'modal-utility' | 'aux' | 'popup' | 'tab'; type DialogCmp = ReactUnity.Editor.UIToolkit.DialogComponent; interface DialogProps extends View { show?: boolean; title?: string; type?: DialogType; onOpen?: (ev: true, sender: DialogCmp) => void; onClose?: (ev: false, sender: DialogCmp) => void; onVisibilityChange?: (ev: boolean, sender: DialogCmp) => void; onFocusChange?: (ev: boolean, sender: DialogCmp) => void; onSelectionChange?: (ev: any, sender: DialogCmp) => void; } type Children = { children?: T; }; type BaseElement = View & rc.RefAttributes & Children; type BaseFieldComponent = Cmp.BaseFieldComponent; type BaseFieldElement> = BaseField & rc.RefAttributes & Children; type BaseFieldElementSimple = BaseFieldElement>; interface EditorElements extends BaseElements> { view: BaseElement & { tag?: string; }; box: BaseElement; a: Anchor & rc.RefAttributes & Children; anchor: Anchor & rc.RefAttributes & Children; text: View & rc.RefAttributes & Children; richtext: View & rc.RefAttributes & Children; label: View & rc.RefAttributes & Children; button: Button & rc.RefAttributes & Children; scroll: BaseElement; svg: Svg & rc.RefAttributes & Children & SVGEelement; img: Image & rc.RefAttributes & Children; image: Image & rc.RefAttributes & Children; toggle: Toggle & rc.RefAttributes & Children; input: TextField & rc.RefAttributes & Children; helpbox: BaseElement; foldout: BaseElement; popup: View & rc.RefAttributes & Children; slider: Slider & rc.RefAttributes & Children; sliderint: Slider & rc.RefAttributes & Children; range: Range & rc.RefAttributes & Children; repeat: BaseElement; scroller: BaseElement; list: Bindable; imgui: IMGUI & rc.RefAttributes & Children; template: Bindable; dialog: DialogProps & rc.RefAttributes & Children; color: BaseFieldElementSimple; bounds: BaseFieldElementSimple; boundsint: BaseFieldElementSimple; curve: BaseFieldElementSimple; double: BaseFieldElementSimple; enum: EnumProps & rc.RefAttributes & Children; flags: EnumProps & rc.RefAttributes & Children; float: BaseFieldElementSimple; gradient: BaseFieldElementSimple; inspector: Bindable; integer: BaseFieldElementSimple; layer: BaseFieldElementSimple; layermask: BaseFieldElementSimple; long: BaseFieldElementSimple; mask: BaseFieldElementSimple; object: ObjectProps & rc.RefAttributes & Children; progress: ValueComponent; property: Bindable; rect: BaseFieldElementSimple; rectint: BaseFieldElementSimple; tag: BaseFieldElementSimple; vector2: BaseFieldElementSimple; vector2int: BaseFieldElementSimple; vector3: BaseFieldElementSimple; vector3int: BaseFieldElementSimple; vector4: BaseFieldElementSimple; length: BaseFieldElementSimple; toolbar: BaseElement; 'tb-breadcrumbs': BaseElement; 'tb-button': BaseElement; 'tb-menu': BaseElement; 'tb-popupsearch': BaseElement; 'tb-search': BaseElement; 'tb-spacer': BaseElement; 'tb-toggle': BaseElement; } declare global { interface ReactUnityCustomElements {} interface ReactUnityCustomAttributes {} } declare namespace JSX { type ElementType = React.JSX.ElementType; interface Element extends React.JSX.Element {} interface ElementClass extends React.JSX.ElementClass {} interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {} interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {} type LibraryManagedAttributes = React.JSX.LibraryManagedAttributes; interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes, ReactUnityCustomAttributes {} interface IntrinsicClassAttributes extends React.JSX.IntrinsicClassAttributes {} interface IntrinsicElements extends EditorElements, ReactUnityCustomElements {} } //#endregion export { ObjectProps as a, EnumProps as i, JSX as n, DialogProps as r, EditorElements as t }; //# sourceMappingURL=jsx-C4D-jFq9.d.ts.map