"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),a=require("lodash-unified");require("../../ap-form/index.js");const f=require("../../editable-table/utils.js"),u=require("../../ap-form/item/index.vue.js");function n(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!o.isVNode(e)}function s(e,t,l,c){if(e.customRenderFormItem){const i=e.customRenderFormItem(e,t.field,!0,l);return o.createVNode(u.default,a.omit(t,["field"]),n(i)?i:{default:()=>[i]})}const d=f.getEditableComponent(e.valueType);if(d)return o.createVNode(d,t,null);const r=c?.[e.valueType]?.renderFormItem?.(t.field);return r?o.createVNode(u.default,t,n(r)?r:{default:()=>[r]}):null}exports.getFinalEditableNode=s;
