let t=({uid:t})=>({"data-id":t}),d=t=>({"data-gp-text":"",...t?.uniqueId&&{"data-unique-text":t.uniqueId},...t?.productID&&{"data-product-id":t.productID},...t?.isCannotEditing&&{"data-not-editing":t.isCannotEditing}});export{t as getAttr,d as getTextAttr};
