import{r as e,h as s,H as t,g as a}from"./p-6b2342e0.js";import{s as o}from"./p-519a7d55.js";import{c as r,M as i,V as n,I as l}from"./p-6e1ab235.js";import{V as c,I as f}from"./p-4415ad28.js";import{C as d}from"./p-2d0d575f.js";import{d as h}from"./p-a528714c.js";var m=function(e,s,t,a){var o,r=arguments.length,i=r<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,s,t,a);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(i=(r<3?o(i):r>3?o(s,t,i):o(s,t))||i);return r>3&&i&&Object.defineProperty(s,t,i),i};class p extends n{handleMessageChange(){this.notifyMessageUpdate()}handleComponentDidLoad(){this.notifyMessageUpdate()}notifyMessageUpdate(){d.notify(h,{host:this.host,message:this.message,isValid:!this.message})}}m([r()],p.prototype,"host",void 0),m([r()],p.prototype,"message",void 0),m([i("watchMessage")],p.prototype,"handleMessageChange",null),m([i("componentDidLoad")],p.prototype,"handleComponentDidLoad",null);var g=function(e,s,t,a){var o,r=arguments.length,i=r<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,s,t,a);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(i=(r<3?o(i):r>3?o(s,t,i):o(s,t))||i);return r>3&&i&&Object.defineProperty(s,t,i),i};const u=class{constructor(s){e(this,s),this.globalSlimmers={},this.messageController=new p,this.vegaComponentUsageRuntimeMetricsSlimmer=new c,this.message=""}watchMessage(){}render(){return o(s(t,null,s("slot",null)),this.host)}get host(){return a(this)}static get watchers(){return{message:["watchMessage"]}}};g([f()],u.prototype,"globalSlimmers",void 0),g([l()],u.prototype,"messageController",void 0),g([l()],u.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),u.style=":host{display:block}";export{u as vega_field_error}