import { fv as p, db as c, W as S, X as u, bX as m, en as b, V as s, fw as w, a5 as l, cf as C, cg as g, S as V, de as f, df as h, fx as P, dd as v, aG as F, ad as o, I as d, ae as t, af as a, a4 as y, et as x, am as i, c0 as E, ag as M, eu as I, ev as j, H as r } from "./56c67d3b.js";
import { useContext as n } from "react";
import "react-dom";
const L = JSON.stringify(p.cascader, null, " "), N = {
  value: c("value", p.cascaderDefult),
  label: S,
  placeholder: u,
  disabled: m,
  onEvent: b,
  allowClear: s,
  options: w,
  style: l(C, "style"),
  labelStyle: l(g.filter((e) => ["accent", "validate"].includes(e.name) === !1), "labelStyle"),
  showSearch: s.DEFAULT_TRUE,
  viewRef: V,
  margin: f,
  padding: h,
  inputFieldStyle: l(P, "inputFieldStyle"),
  childrenInputFieldStyle: l(v),
  animationStyle: l(F, "animationStyle")
}, R = (e) => /* @__PURE__ */ o(d, {
  children: [/* @__PURE__ */ o(t, {
    name: a.basic,
    children: [e.options.propertyView({
      label: y("cascader.options")
    }), e.value.propertyView({
      label: y("prop.defaultValue")
    }), x(e)]
  }), ["logic", "both"].includes(n(i).editorModeStatus) && /* @__PURE__ */ o(t, {
    name: a.interaction,
    children: [e.onEvent.getPropertyView(), E(e), M(e)]
  }), ["layout", "both"].includes(n(i).editorModeStatus) && e.label.getPropertyView(), ["logic", "both"].includes(n(i).editorModeStatus) && /* @__PURE__ */ o(t, {
    name: a.advanced,
    children: [I(e), j(e)]
  }), ["layout", "both"].includes(n(i).editorModeStatus) && /* @__PURE__ */ o(d, {
    children: [/* @__PURE__ */ r(t, {
      name: a.style,
      children: e.style.getPropertyView()
    }), /* @__PURE__ */ r(t, {
      name: a.labelStyle,
      children: e.labelStyle.getPropertyView()
    }), /* @__PURE__ */ r(t, {
      name: a.inputFieldStyle,
      children: e.inputFieldStyle.getPropertyView()
    }), /* @__PURE__ */ r(t, {
      name: a.childrenInputFieldStyle,
      children: e.childrenInputFieldStyle.getPropertyView()
    }), /* @__PURE__ */ r(t, {
      name: a.animationStyle,
      hasTooltip: !0,
      children: e.animationStyle.getPropertyView()
    })]
  })]
});
export {
  N as CascaderChildren,
  R as CascaderPropertyView,
  L as defaultDataSource
};
