import { M as a, H as l, I as o, L as s, X as u, ak as n, gk as p } from "./56c67d3b.js";
import "react";
import "react-dom";
const r = {
  value: u,
  defaultValue: n
}, c = new a(r, (e) => e).setPropertyViewFn(() => /* @__PURE__ */ l(o, {})).build(), i = p(c, (e) => e.value ?? "", (e) => ({
  defaultValue: "23",
  value: e
}));
test("test change data type", () => {
  let e = new i({
    value: "ss"
  });
  e = s(e);
  const t = e.getView();
  expect(t.value).toEqual("ss"), expect(t.defaultValue).toEqual(23), expect(e.toJsonValue()).toEqual("ss");
});
