1
0
Fork 0
owl-admin-starter/public/admin-assets/assets/Breadcrumb-COapvxbD.js

2 lines
860 B
JavaScript

import{t as d,v,x as u,L as o,l as c,a3 as p,z as _,D as m,E as B}from"./index-CEmnTf-r.js";var F=function(a){d(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.render=function(){var t=this.props,f=t.items,b=t.source,l=t.data,i=t.env,h=v(t,["items","source","data","env"]),s=f||u(b,l,"| raw");return s&&(s=s.map(function(r){return r.label&&(r.label=o(r.label,l)),r.href&&(r.href=u(r.href,l,"| raw")),r.dropdown&&(r.dropdown=r.dropdown.map(function(n){return n.label&&(n.label=o(n.label,l)),n.href&&(n.href=u(n.href,l,"| raw")),n})),r})),c.createElement(p,_({items:s,tooltipContainer:i==null?void 0:i.getModalContainer},h))},e}(c.Component),y=function(a){d(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e=m([B({type:"breadcrumb"})],e),e}(F);export{F as BreadcrumbField,y as BreadcrumbFieldRenderer};