import { resolveSchema as f } from "../../../../sdk/dist/shared/utils/schema-resolver.js";
function p(r, o = "", e = {}) {
  if (r.type === "object")
    for (const i in r.properties) {
      const t = f(r.properties[i]);
      t["ui:styleId"] && (e[`${o}${i}`] = t["ui:styleId"]), p(t, `${o}${i}.`, e);
    }
  else r.type === "array" && p(r.items, `${o}[].`, e);
  return e;
}
export {
  p as getStyleProperties
};
//# sourceMappingURL=style-props.js.map
