@vonage/vivid-test-utils 5.8.0 → 5.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ "use strict";class n{constructor(r,s){this.ctx=r,this.locator=s}unwrap(){return this.locator}assert(r,s,e,i){return this.ctx.driver.expectEq({type:"eval",el:this.locator,fn:s,arg:i},e,`Failed to assert condition: "${r}"`)}}class a{constructor(r){this.ctx=r,this.all=this.ctx.driver.wrapSelector(()=>new Ie(this.ctx,this,this.ctx.driver.querySelectorAll(this.ctx.rootLocator,`[data-vvd-component="${this.componentInfo.name}"]`)))}}class Ie{constructor(r,s,e){this.ctx=r,this.component=s,this.locator=e,this.type="collection",this.nth=this.ctx.driver.wrapSelector(i=>this.component.wrap(this.ctx.driver.nth(this.locator,i)))}}class ge{constructor(r,s){this.ctx=r,this.locator=s,this.toHaveCount=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({el:this.locator.locator,type:"count"},e,`toHaveCount(${e})`))}}const Ae=t=>t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/'/g,"\\'"),A=(t,r)=>r.map(([s,e])=>`[data-vvd-component="${t}"][${s}="${Ae(e)}"]`).join(",");function h(t){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,A(this.componentInfo.name,[["data-testid",t],["data-test-id",t],["data-cy",t]])))}function x(t){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,A(this.componentInfo.name,[["label",t],["aria-label",t],["data-vvd-aria-label",t]])))}function He(t){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,A(this.componentInfo.name,[["heading",t]])))}function k(t){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,A(this.componentInfo.name,[["headline",t]])))}function B(t){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,A(this.componentInfo.name,[["text",t]])))}const f=t=>{if(!t.length)return;const r=t[0],s=t.slice(1),e=r();return e instanceof Promise?e.then(()=>f(s)):f(s)};function I(t){return t.checked}function g(t){return t.indeterminate?"indeterminate":t.checked?"checked":"unchecked"}function m(t){return t.errorValidationMessage}function _(t){return t.headline}function E(t){return t.open}function u(t){return t.value}function z(t){return t.valueAsNumber}function Pe(t){return t.values}function $e(t){return t.selectedOptions.map(r=>r.label)}function G(t){return t.expanded}function L(t){return t.active}function H(t){return t.current}function O(t){return t.selected}function C(t){return t.disabled}function Se(t){return[t.start,t.end]}function Ce(t){return[t.startAsNumber,t.endAsNumber]}function qe(t){return t.name}function Te(t){return t.total}function ke(t){return t.selectedIndex+1||null}function w(t){const r=t.shadowRoot.querySelector("slot[name=icon]");if(r){const e=r.assignedElements()[0];if((e==null?void 0:e.dataset.vvdComponent)==="icon")return e.name}const s=t.shadowRoot.querySelector('slot[name="icon"] [data-vvd-component="icon"], span.icon [data-vvd-component="icon"]');return s?s.name:null}function b(t){return this.ctx.driver.userClick(t())}function V(t,r){return this.ctx.driver.userFill(t(),r)}function Be(t){return f([()=>this.ctx.driver.userFill(this.control(),t),()=>this.ctx.driver.userBlur(this.control())])}function W(t){return this.ctx.driver.userClear(t())}function Ve(){return f([()=>this.ctx.driver.eval(this.locator,()=>new Promise(t=>setTimeout(t,200))),()=>this.ctx.driver.userClear(this.control()),()=>this.ctx.driver.userBlur(this.control())])}function J(t){return f([()=>this.assert("Component is unchecked before it can be checked",g,"unchecked"),()=>this.ctx.driver.userClick(t()),()=>this.assert("Component is checked after checking it",g,"checked")])}function K(t){return f([()=>this.assert("Component is checked before it can be unchecked",g,"checked"),()=>this.ctx.driver.userClick(t()),()=>this.assert("Component is unchecked after unchecking it",g,"unchecked")])}function p(t){return this.ctx.driver.userFocus(t())}function d(t){return this.ctx.driver.userBlur(t())}function l(t){return this.ctx.driver.userHover(t())}function D(t){return Q.call(this,A("option",[["value",t]]))}function R(t){return Q.call(this,A("option",[["text",t]]))}function Q(t){return this.ctx.driver.eval(this.locator,r=>r.open,void 0,r=>f([()=>{if(!r)return this.ctx.driver.userClick(this.locator)},()=>this.ctx.driver.expectEq({type:"eval",el:this.ctx.driver.querySelector(this.locator,t),fn:s=>!!s.selected},!1,"Option is unselected before it can be selected"),()=>this.ctx.driver.expectEq({type:"eval",el:this.ctx.driver.querySelector(this.locator,t),fn:s=>!!s.disabled},!1,"Option is not disabled before it can be selected"),()=>this.ctx.driver.eval(this.ctx.driver.querySelector(this.locator,t),s=>s.click()),()=>this.ctx.driver.expectEq({type:"eval",el:this.ctx.driver.querySelector(this.locator,t),fn:s=>!!s.selected},!0,"Option is selected after selecting it")]))}function q(t){return t().click()}const P=t=>{const[r,s,e]=t.split("-");return`${s}/${e}/${r}`};function We(t){return f([()=>this.control().fill(P(t)),()=>this.control().blur()])}function $(){return f([()=>this.pickerButton().click(),()=>this.clearButton().click()])}const X=t=>{const[r,s,e]=t.split(":"),i=+r%12||12,c=+r<12?"AM":"PM";return`${i}:${s}:${e} ${c}`};function De(t){return f([()=>this.control().fill(X(t)),()=>this.control().blur()])}const Re=([t,r])=>`${P(t)} – ${P(r)}`;function Ge(t){return f([()=>this.control().fill(Re(t)),()=>this.control().blur()])}const Le=t=>{const[r,s]=t.split("T");return`${P(r)} ${X(s)}`};function Oe(t){return f([()=>this.control().fill(Le(t)),()=>this.control().blur()])}function T(t,r,s){return this.ctx.driver.userDragSlider(this.locator,t(),r(),s)}function Fe(t){return this.ctx.driver.userClick(this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.locator),`.vwc-pagination-button[label="${t+1}"]`))}function F(t){return f([()=>this.assert(`Component is ${t?"collapsed":"expanded"} before it can be ${t?"expanded":"collapsed"}`,r=>!!r.expanded,!t),()=>this.ctx.driver.userClick(this.button()),()=>this.assert(`Component is ${t?"expanded":"collapsed"} after ${t?"expanding":"collapsing"} it`,r=>!!r.expanded,t)])}function U(t){return f([()=>this.assert(`Component is ${t?"closed":"open"} before it can be ${t?"expanded":"collapsed"}`,r=>!!r.open,!t),()=>this.ctx.driver.userClick(this.summary()),()=>this.assert(`Component is ${t?"open":"closed"} after ${t?"expanding":"collapsing"} it`,r=>!!r.open,t)])}function M(t){return f([()=>this.ctx.driver.userClick(this.base()),()=>this.assert(`Component is ${t?"selected":"unselected"} after ${t?"selecting":"unselecting"} it`,r=>!!r.selected,t)])}function Ue(t){return this.ctx.driver.querySelector(this.unwrap(),t)}function v(t){return this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),t)}function Me(t,r){return this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),t)),r)}function y(t){return new at(this.ctx,this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),t))}function S(t){return new ue(this.ctx,this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),t))}const Y={name:"accordion"};class je extends n{constructor(){super(...arguments),this.type="accordion",this.componentInfo=Y,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class _e extends a{constructor(){super(...arguments),this.componentInfo=Y,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new je(this.ctx,r)}}class ze{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Z={name:"accordion-item"};class Je extends n{constructor(){super(...arguments),this.type="accordionItem",this.componentInfo=Z,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.expand=this.ctx.driver.wrapAction(F.bind(this,!0)),this.collapse=this.ctx.driver.wrapAction(F.bind(this,!1)),this.button=v.bind(this,".heading-button")}}class Ke extends a{constructor(){super(...arguments),this.componentInfo=Z,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byHeading=this.ctx.driver.wrapSelector(He.bind(this))}wrap(r){return new Je(this.ctx,r)}}class Qe{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toBeExpanded=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:G},!0,"toBeExpanded()")),this.toBeCollapsed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:G},!1,"toBeCollapsed()"))}}const N={name:"action-group"};class Xe extends n{constructor(){super(...arguments),this.type="actionGroup",this.componentInfo=N,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Ye extends a{constructor(){super(...arguments),this.componentInfo=N,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Xe(this.ctx,r)}}class Ze{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const tt={name:"alert"};class Ne extends n{constructor(){super(...arguments),this.type="alert",this.componentInfo=tt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class tr extends a{constructor(){super(...arguments),this.componentInfo=tt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byHeadline=this.ctx.driver.wrapSelector(k.bind(this))}wrap(r){return new Ne(this.ctx,r)}}class er{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!0,"toBeOpen()")),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!1,"toBeClosed()"))}}const et={name:"audio-player"};class rr extends n{constructor(){super(...arguments),this.type="audioPlayer",this.componentInfo=et,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class ir extends a{constructor(){super(...arguments),this.componentInfo=et,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new rr(this.ctx,r)}}class sr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const rt={name:"avatar"};class cr extends n{constructor(){super(...arguments),this.type="avatar",this.componentInfo=rt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class or extends a{constructor(){super(...arguments),this.componentInfo=rt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new cr(this.ctx,r)}}class nr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const it={name:"badge"};class ar extends n{constructor(){super(...arguments),this.type="badge",this.componentInfo=it,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class hr extends a{constructor(){super(...arguments),this.componentInfo=it,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new ar(this.ctx,r)}}class pr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const st={name:"banner"};class dr extends n{constructor(){super(...arguments),this.type="banner",this.componentInfo=st,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.dismiss=this.ctx.driver.wrapAction(q.bind(this,()=>this.dismissButton())),this.dismissButton=y.bind(this,".dismiss-button")}}class lr extends a{constructor(){super(...arguments),this.componentInfo=st,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byText=this.ctx.driver.wrapSelector(B.bind(this))}wrap(r){return new dr(this.ctx,r)}}class xr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const ct={name:"breadcrumb"};class vr extends n{constructor(){super(...arguments),this.type="breadcrumb",this.componentInfo=ct,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class ur extends a{constructor(){super(...arguments),this.componentInfo=ct,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new vr(this.ctx,r)}}class wr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const ot={name:"breadcrumb-item"};class br extends n{constructor(){super(...arguments),this.type="breadcrumbItem",this.componentInfo=ot,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class mr extends a{constructor(){super(...arguments),this.componentInfo=ot,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new br(this.ctx,r)}}class fr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const nt={name:"button"};class at extends n{constructor(){super(...arguments),this.type="button",this.componentInfo=nt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(b.bind(this,()=>this.control())),this.control=v.bind(this,"button.control")}}class Er extends a{constructor(){super(...arguments),this.componentInfo=nt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new at(this.ctx,r)}}class yr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const ht={name:"calendar"};class Ir extends n{constructor(){super(...arguments),this.type="calendar",this.componentInfo=ht,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class gr extends a{constructor(){super(...arguments),this.componentInfo=ht,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Ir(this.ctx,r)}}class Ar{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const pt={name:"calendar-event"};class Hr extends n{constructor(){super(...arguments),this.type="calendarEvent",this.componentInfo=pt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Pr extends a{constructor(){super(...arguments),this.componentInfo=pt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Hr(this.ctx,r)}}class $r{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const dt={name:"card"};class Sr extends n{constructor(){super(...arguments),this.type="card",this.componentInfo=dt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Cr extends a{constructor(){super(...arguments),this.componentInfo=dt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Sr(this.ctx,r)}}class qr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveHeadline=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:_},e,"toHaveHeadline(${value})"))}}const lt={name:"checkbox"};class Tr extends n{constructor(){super(...arguments),this.type="checkbox",this.componentInfo=lt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(J.bind(this,()=>this.control())),this.uncheck=this.ctx.driver.wrapAction(K.bind(this,()=>this.control())),this.control=v.bind(this,"div.control")}}class kr extends a{constructor(){super(...arguments),this.componentInfo=lt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Tr(this.ctx,r)}}class Br{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:g},"checked","toBeChecked()")),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:g},"unchecked","toBeUnchecked()")),this.toBeIndeterminate=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:g},"indeterminate","toBeIndeterminate()"))}}const xt={name:"color-picker"};class Vr extends n{constructor(){super(...arguments),this.type="colorPicker",this.componentInfo=xt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Wr extends a{constructor(){super(...arguments),this.componentInfo=xt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Vr(this.ctx,r)}}class Dr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const vt={name:"combobox"};class Rr extends n{constructor(){super(...arguments),this.type="combobox",this.componentInfo=vt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.fill=this.ctx.driver.wrapAction(Be.bind(this)),this.clear=this.ctx.driver.wrapAction(Ve.bind(this)),this.selectOptionByText=this.ctx.driver.wrapAction(R.bind(this)),this.selectOptionByValue=this.ctx.driver.wrapAction(D.bind(this)),this.control=v.bind(this,"input.control")}}class Gr extends a{constructor(){super(...arguments),this.componentInfo=vt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Rr(this.ctx,r)}}class Lr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const ut={name:"contextual-help"};class Or extends n{constructor(){super(...arguments),this.type="contextualHelp",this.componentInfo=ut,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Fr extends a{constructor(){super(...arguments),this.componentInfo=ut,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Or(this.ctx,r)}}class Ur{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const wt={name:"data-grid"};class Mr extends n{constructor(){super(...arguments),this.type="dataGrid",this.componentInfo=wt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class jr extends a{constructor(){super(...arguments),this.componentInfo=wt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Mr(this.ctx,r)}}class _r{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const bt={name:"data-grid-cell"};class zr extends n{constructor(){super(...arguments),this.type="dataGridCell",this.componentInfo=bt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Jr extends a{constructor(){super(...arguments),this.componentInfo=bt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new zr(this.ctx,r)}}class Kr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const mt={name:"data-grid-row"};class Qr extends n{constructor(){super(...arguments),this.type="dataGridRow",this.componentInfo=mt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Xr extends a{constructor(){super(...arguments),this.componentInfo=mt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Qr(this.ctx,r)}}class Yr{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const ft={name:"date-picker"};class Zr extends n{constructor(){super(...arguments),this.type="datePicker",this.componentInfo=ft,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction($.bind(this)),this.selectDate=this.ctx.driver.wrapAction(We.bind(this)),this.control=S.bind(this,"[data-vvd-component=text-field].control"),this.pickerButton=y.bind(this,"#picker-button"),this.clearButton=y.bind(this,"#clear-button")}}class Nr extends a{constructor(){super(...arguments),this.componentInfo=ft,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Zr(this.ctx,r)}}class ti{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const Et={name:"date-range-picker"};class ei extends n{constructor(){super(...arguments),this.type="dateRangePicker",this.componentInfo=Et,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction($.bind(this)),this.selectDateRange=this.ctx.driver.wrapAction(Ge.bind(this)),this.control=S.bind(this,"[data-vvd-component=text-field].control"),this.pickerButton=y.bind(this,"#picker-button"),this.clearButton=y.bind(this,"#clear-button")}}class ri extends a{constructor(){super(...arguments),this.componentInfo=Et,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new ei(this.ctx,r)}}class ii{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toHaveRange=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:Se},e,"toHaveRange(${value})"))}}const yt={name:"date-time-picker"};class si extends n{constructor(){super(...arguments),this.type="dateTimePicker",this.componentInfo=yt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction($.bind(this)),this.selectDateTime=this.ctx.driver.wrapAction(Oe.bind(this)),this.control=S.bind(this,"[data-vvd-component=text-field].control"),this.pickerButton=y.bind(this,"#picker-button"),this.clearButton=y.bind(this,"#clear-button")}}class ci extends a{constructor(){super(...arguments),this.componentInfo=yt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new si(this.ctx,r)}}class oi{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const It={name:"dial-pad"};class ni extends n{constructor(){super(...arguments),this.type="dialPad",this.componentInfo=It,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class ai extends a{constructor(){super(...arguments),this.componentInfo=It,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new ni(this.ctx,r)}}class hi{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const gt={name:"dialog"};class pi extends n{constructor(){super(...arguments),this.type="dialog",this.componentInfo=gt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.dismiss=this.ctx.driver.wrapAction(b.bind(this,()=>this.dismissButton())),this.dismissButton=v.bind(this,".dismiss-button")}}class di extends a{constructor(){super(...arguments),this.componentInfo=gt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byHeadline=this.ctx.driver.wrapSelector(k.bind(this))}wrap(r){return new pi(this.ctx,r)}}class li{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!0,"toBeOpen()")),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!1,"toBeClosed()")),this.toHaveHeadline=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:_},e,"toHaveHeadline(${value})"))}}const At={name:"divider"};class xi extends n{constructor(){super(...arguments),this.type="divider",this.componentInfo=At,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class vi extends a{constructor(){super(...arguments),this.componentInfo=At,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new xi(this.ctx,r)}}class ui{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Ht={name:"empty-state"};class wi extends n{constructor(){super(...arguments),this.type="emptyState",this.componentInfo=Ht,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class bi extends a{constructor(){super(...arguments),this.componentInfo=Ht,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new wi(this.ctx,r)}}class mi{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Pt={name:"fab"};class fi extends n{constructor(){super(...arguments),this.type="fab",this.componentInfo=Pt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(b.bind(this,()=>this.control())),this.control=v.bind(this,"button.control")}}class Ei extends a{constructor(){super(...arguments),this.componentInfo=Pt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new fi(this.ctx,r)}}class yi{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const $t={name:"file-picker"};class Ii extends n{constructor(){super(...arguments),this.type="filePicker",this.componentInfo=$t,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class gi extends a{constructor(){super(...arguments),this.componentInfo=$t,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Ii(this.ctx,r)}}class Ai{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const St={name:"header"};class Hi extends n{constructor(){super(...arguments),this.type="header",this.componentInfo=St,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Pi extends a{constructor(){super(...arguments),this.componentInfo=St,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Hi(this.ctx,r)}}class $i{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Ct={name:"icon"};class Si extends n{constructor(){super(...arguments),this.type="icon",this.componentInfo=Ct,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Ci extends a{constructor(){super(...arguments),this.componentInfo=Ct,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Si(this.ctx,r)}}class qi{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveName=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:qe},e,"toHaveName(${value})"))}}const qt={name:"layout"};class Ti extends n{constructor(){super(...arguments),this.type="layout",this.componentInfo=qt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class ki extends a{constructor(){super(...arguments),this.componentInfo=qt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Ti(this.ctx,r)}}class Bi{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Tt={name:"menu"};class Vi extends n{constructor(){super(...arguments),this.type="menu",this.componentInfo=Tt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Wi extends a{constructor(){super(...arguments),this.componentInfo=Tt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Vi(this.ctx,r)}}class Di{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!0,"toBeOpen()")),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!1,"toBeClosed()"))}}const kt={name:"menu-item"};class Ri extends n{constructor(){super(...arguments),this.type="menuItem",this.componentInfo=kt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(b.bind(this,()=>this.base())),this.base=v.bind(this,".base")}}class Gi extends a{constructor(){super(...arguments),this.componentInfo=kt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byText=this.ctx.driver.wrapSelector(B.bind(this))}wrap(r){return new Ri(this.ctx,r)}}class Li{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!0,"toBeChecked()")),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!1,"toBeUnchecked()")),this.toHaveDisabled=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:C},e,"toHaveDisabled(${value})"))}}const Bt={name:"nav"};class Oi extends n{constructor(){super(...arguments),this.type="nav",this.componentInfo=Bt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Fi extends a{constructor(){super(...arguments),this.componentInfo=Bt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Oi(this.ctx,r)}}class Ui{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const Vt={name:"nav-disclosure"};class Mi extends n{constructor(){super(...arguments),this.type="navDisclosure",this.componentInfo=Vt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.expand=this.ctx.driver.wrapAction(U.bind(this,!0)),this.collapse=this.ctx.driver.wrapAction(U.bind(this,!1)),this.summary=v.bind(this,"summary")}}class ji extends a{constructor(){super(...arguments),this.componentInfo=Vt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Mi(this.ctx,r)}}class _i{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:H},!0,"toBeCurrent()")),this.notToBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:H},!1,"notToBeCurrent()")),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!0,"toBeOpen()")),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!1,"toBeClosed()"))}}const Wt={name:"nav-item"};class zi extends n{constructor(){super(...arguments),this.type="navItem",this.componentInfo=Wt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(b.bind(this,()=>this.control())),this.control=v.bind(this,".control")}}class Ji extends a{constructor(){super(...arguments),this.componentInfo=Wt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new zi(this.ctx,r)}}class Ki{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:H},!0,"toBeCurrent()")),this.notToBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:H},!1,"notToBeCurrent()"))}}const Dt={name:"note"};class Qi extends n{constructor(){super(...arguments),this.type="note",this.componentInfo=Dt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Xi extends a{constructor(){super(...arguments),this.componentInfo=Dt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Qi(this.ctx,r)}}class Yi{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const Rt={name:"number-field"};class Zi extends n{constructor(){super(...arguments),this.type="numberField",this.componentInfo=Rt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.fill=this.ctx.driver.wrapAction(V.bind(this,()=>this.control())),this.clear=this.ctx.driver.wrapAction(W.bind(this,()=>this.control())),this.clickIncrement=this.ctx.driver.wrapAction(q.bind(this,()=>this.incrementButton())),this.clickDecrement=this.ctx.driver.wrapAction(q.bind(this,()=>this.decrementButton())),this.control=v.bind(this,"input.control"),this.incrementButton=y.bind(this,"#add"),this.decrementButton=y.bind(this,"#subtract")}}class Ni extends a{constructor(){super(...arguments),this.componentInfo=Rt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Zi(this.ctx,r)}}class ts{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toHaveValueAsNumber=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:z},e,"toHaveValueAsNumber(${value})"))}}const Gt={name:"option"};class es extends n{constructor(){super(...arguments),this.type="option",this.componentInfo=Gt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(b.bind(this,()=>this.locator))}}class rs extends a{constructor(){super(...arguments),this.componentInfo=Gt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new es(this.ctx,r)}}class is{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const Lt={name:"pagination"};class ss extends n{constructor(){super(...arguments),this.type="pagination",this.componentInfo=Lt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.clickNext=this.ctx.driver.wrapAction(b.bind(this,()=>this.nextButton())),this.clickPrev=this.ctx.driver.wrapAction(b.bind(this,()=>this.prevButton())),this.clickPageIndex=this.ctx.driver.wrapAction(Fe.bind(this)),this.nextButton=v.bind(this,".next-button"),this.prevButton=v.bind(this,".prev-button")}}class cs extends a{constructor(){super(...arguments),this.componentInfo=Lt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new ss(this.ctx,r)}}class os{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveTotal=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:Te},e,"toHaveTotal(${value})")),this.toHaveSelectedPage=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:ke},e,"toHaveSelectedPage(${value})"))}}const Ot={name:"popover"};class ns extends n{constructor(){super(...arguments),this.type="popover",this.componentInfo=Ot,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class as extends a{constructor(){super(...arguments),this.componentInfo=Ot,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new ns(this.ctx,r)}}class hs{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Ft={name:"progress"};class ps extends n{constructor(){super(...arguments),this.type="progress",this.componentInfo=Ft,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class ds extends a{constructor(){super(...arguments),this.componentInfo=Ft,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new ps(this.ctx,r)}}class ls{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Ut={name:"progress-ring"};class xs extends n{constructor(){super(...arguments),this.type="progressRing",this.componentInfo=Ut,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class vs extends a{constructor(){super(...arguments),this.componentInfo=Ut,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new xs(this.ctx,r)}}class us{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Mt={name:"radio"};class ws extends n{constructor(){super(...arguments),this.type="radio",this.componentInfo=Mt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(b.bind(this,()=>this.control())),this.control=v.bind(this,".control")}}class bs extends a{constructor(){super(...arguments),this.componentInfo=Mt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new ws(this.ctx,r)}}class ms{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!0,"toBeChecked()")),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!1,"toBeUnchecked()"))}}const jt={name:"radio-group"};class fs extends n{constructor(){super(...arguments),this.type="radioGroup",this.componentInfo=jt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Es extends a{constructor(){super(...arguments),this.componentInfo=jt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new fs(this.ctx,r)}}class ys{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const _t={name:"range-slider"};class Is extends n{constructor(){super(...arguments),this.type="rangeSlider",this.componentInfo=_t,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.slideStartTo=this.ctx.driver.wrapAction(T.bind(this,()=>this.track(),()=>this.startThumb())),this.slideEndTo=this.ctx.driver.wrapAction(T.bind(this,()=>this.track(),()=>this.endThumb())),this.track=v.bind(this,".control"),this.startThumb=v.bind(this,"#start-thumb"),this.endThumb=v.bind(this,"#end-thumb")}}class gs extends a{constructor(){super(...arguments),this.componentInfo=_t,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Is(this.ctx,r)}}class As{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toHaveRange=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:Ce},e,"toHaveRange(${value})"))}}const zt={name:"rich-text-editor"};class Hs extends n{constructor(){super(...arguments),this.type="richTextEditor",this.componentInfo=zt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Ps extends a{constructor(){super(...arguments),this.componentInfo=zt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Hs(this.ctx,r)}}class $s{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Jt={name:"rich-text-view"};class Ss extends n{constructor(){super(...arguments),this.type="richTextView",this.componentInfo=Jt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Cs extends a{constructor(){super(...arguments),this.componentInfo=Jt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Ss(this.ctx,r)}}class qs{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Kt={name:"searchable-select"};class Ts extends n{constructor(){super(...arguments),this.type="searchableSelect",this.componentInfo=Kt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.selectOptionByValue=this.ctx.driver.wrapAction(D.bind(this)),this.selectOptionByText=this.ctx.driver.wrapAction(R.bind(this))}}class ks extends a{constructor(){super(...arguments),this.componentInfo=Kt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Ts(this.ctx,r)}}class Bs{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toHaveValues=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:Pe},e,"toHaveValues(${value})")),this.toHaveSelectedOptions=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:$e},e,"toHaveSelectedOptions(${value})"))}}const Qt={name:"select"};class Vs extends n{constructor(){super(...arguments),this.type="select",this.componentInfo=Qt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.selectOptionByValue=this.ctx.driver.wrapAction(D.bind(this)),this.selectOptionByText=this.ctx.driver.wrapAction(R.bind(this))}}class Ws extends a{constructor(){super(...arguments),this.componentInfo=Qt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Vs(this.ctx,r)}}class Ds{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const Xt={name:"selectable-box"};class Rs extends n{constructor(){super(...arguments),this.type="selectableBox",this.componentInfo=Xt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(J.bind(this,()=>this.control())),this.uncheck=this.ctx.driver.wrapAction(K.bind(this,()=>this.control())),this.control=Me.bind(this,"[data-vvd-component].control","div.control")}}class Gs extends a{constructor(){super(...arguments),this.componentInfo=Xt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Rs(this.ctx,r)}}class Ls{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!0,"toBeChecked()")),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!1,"toBeUnchecked()"))}}const Yt={name:"side-drawer"};class Os extends n{constructor(){super(...arguments),this.type="sideDrawer",this.componentInfo=Yt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Fs extends a{constructor(){super(...arguments),this.componentInfo=Yt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Os(this.ctx,r)}}class Us{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const Zt={name:"simple-color-picker"};class Ms extends n{constructor(){super(...arguments),this.type="simpleColorPicker",this.componentInfo=Zt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class js extends a{constructor(){super(...arguments),this.componentInfo=Zt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Ms(this.ctx,r)}}class _s{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const Nt={name:"slider"};class zs extends n{constructor(){super(...arguments),this.type="slider",this.componentInfo=Nt,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.slideTo=this.ctx.driver.wrapAction(T.bind(this,()=>this.track(),()=>this.thumb())),this.track=v.bind(this,".control"),this.thumb=v.bind(this,".thumb-container")}}class Js extends a{constructor(){super(...arguments),this.componentInfo=Nt,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new zs(this.ctx,r)}}class Ks{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toHaveValueAsNumber=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:z},e,"toHaveValueAsNumber(${value})"))}}const te={name:"split-button"};class Qs extends n{constructor(){super(...arguments),this.type="splitButton",this.componentInfo=te,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.clickAction=this.ctx.driver.wrapAction(b.bind(this,()=>this.actionButton())),this.clickIndicator=this.ctx.driver.wrapAction(b.bind(this,()=>this.indicatorButton())),this.actionButton=v.bind(this,"button.control"),this.indicatorButton=v.bind(this,"button.indicator")}}class Xs extends a{constructor(){super(...arguments),this.componentInfo=te,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Qs(this.ctx,r)}}class Ys{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const ee={name:"switch"};class Zs extends n{constructor(){super(...arguments),this.type="switch",this.componentInfo=ee,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(b.bind(this,()=>this.switch())),this.uncheck=this.ctx.driver.wrapAction(b.bind(this,()=>this.switch())),this.switch=v.bind(this,".switch")}}class Ns extends a{constructor(){super(...arguments),this.componentInfo=ee,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Zs(this.ctx,r)}}class tc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})")),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!0,"toBeChecked()")),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:I},!1,"toBeUnchecked()"))}}const re={name:"tab"};class ec extends n{constructor(){super(...arguments),this.type="tab",this.componentInfo=re,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.select=this.ctx.driver.wrapAction(b.bind(this,()=>this.base())),this.base=v.bind(this,".base")}}class rc extends a{constructor(){super(...arguments),this.componentInfo=re,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new ec(this.ctx,r)}}class ic{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toBeActive=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:L},!0,"toBeActive()")),this.toBeInactive=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:L},!1,"toBeInactive()"))}}const ie={name:"tab-panel"};class sc extends n{constructor(){super(...arguments),this.type="tabPanel",this.componentInfo=ie,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class cc extends a{constructor(){super(...arguments),this.componentInfo=ie,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new sc(this.ctx,r)}}class oc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const se={name:"table"};class nc extends n{constructor(){super(...arguments),this.type="table",this.componentInfo=se,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class ac extends a{constructor(){super(...arguments),this.componentInfo=se,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new nc(this.ctx,r)}}class hc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const ce={name:"table-body"};class pc extends n{constructor(){super(...arguments),this.type="tableBody",this.componentInfo=ce,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class dc extends a{constructor(){super(...arguments),this.componentInfo=ce,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new pc(this.ctx,r)}}class lc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const oe={name:"table-cell"};class xc extends n{constructor(){super(...arguments),this.type="tableCell",this.componentInfo=oe,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class vc extends a{constructor(){super(...arguments),this.componentInfo=oe,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new xc(this.ctx,r)}}class uc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const ne={name:"table-head"};class wc extends n{constructor(){super(...arguments),this.type="tableHead",this.componentInfo=ne,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class bc extends a{constructor(){super(...arguments),this.componentInfo=ne,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new wc(this.ctx,r)}}class mc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const ae={name:"table-header-cell"};class fc extends n{constructor(){super(...arguments),this.type="tableHeaderCell",this.componentInfo=ae,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Ec extends a{constructor(){super(...arguments),this.componentInfo=ae,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new fc(this.ctx,r)}}class yc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const he={name:"table-row"};class Ic extends n{constructor(){super(...arguments),this.type="tableRow",this.componentInfo=he,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class gc extends a{constructor(){super(...arguments),this.componentInfo=he,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Ic(this.ctx,r)}}class Ac{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const pe={name:"tabs"};class Hc extends n{constructor(){super(...arguments),this.type="tabs",this.componentInfo=pe,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Pc extends a{constructor(){super(...arguments),this.componentInfo=pe,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Hc(this.ctx,r)}}class $c{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const de={name:"tag"};class Sc extends n{constructor(){super(...arguments),this.type="tag",this.componentInfo=de,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(b.bind(this,()=>this.base())),this.remove=this.ctx.driver.wrapAction(b.bind(this,()=>this.dismissButton())),this.select=this.ctx.driver.wrapAction(M.bind(this,!0)),this.unselect=this.ctx.driver.wrapAction(M.bind(this,!1)),this.base=v.bind(this,".base"),this.dismissButton=v.bind(this,".dismiss-button")}}class Cc extends a{constructor(){super(...arguments),this.componentInfo=de,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Sc(this.ctx,r)}}class qc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toBeSelected=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:O},!0,"toBeSelected()")),this.toBeUnselected=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:O},!1,"toBeUnselected()")),this.toBeDisabled=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:C},!0,"toBeDisabled()")),this.notToBeDisabled=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:C},!1,"notToBeDisabled()"))}}const le={name:"tag-group"};class Tc extends n{constructor(){super(...arguments),this.type="tagGroup",this.componentInfo=le,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class kc extends a{constructor(){super(...arguments),this.componentInfo=le,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Tc(this.ctx,r)}}class Bc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=(e,i)=>{throw new Error("Component does not have props.")}}}const xe={name:"text-area"};class Vc extends n{constructor(){super(...arguments),this.type="textArea",this.componentInfo=xe,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.fill=this.ctx.driver.wrapAction(V.bind(this,()=>this.control())),this.clear=this.ctx.driver.wrapAction(W.bind(this,()=>this.control())),this.control=v.bind(this,".control")}}class Wc extends a{constructor(){super(...arguments),this.componentInfo=xe,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Vc(this.ctx,r)}}class Dc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const ve={name:"text-field"};class ue extends n{constructor(){super(...arguments),this.type="textField",this.componentInfo=ve,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.fill=this.ctx.driver.wrapAction(V.bind(this,()=>this.control())),this.clear=this.ctx.driver.wrapAction(W.bind(this,()=>this.control())),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.control())),this.control=Ue.bind(this,'input[slot="_control"]')}}class Rc extends a{constructor(){super(...arguments),this.componentInfo=ve,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new ue(this.ctx,r)}}class Gc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const we={name:"time-picker"};class Lc extends n{constructor(){super(...arguments),this.type="timePicker",this.componentInfo=we,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction($.bind(this)),this.selectTime=this.ctx.driver.wrapAction(De.bind(this)),this.control=S.bind(this,"[data-vvd-component=text-field].control"),this.pickerButton=y.bind(this,"#picker-button"),this.clearButton=y.bind(this,"#clear-button")}}class Oc extends a{constructor(){super(...arguments),this.componentInfo=we,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byLabel=this.ctx.driver.wrapSelector(x.bind(this))}wrap(r){return new Lc(this.ctx,r)}}class Fc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:m},e,"toHaveVisibleError(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:u},e,"toHaveValue(${value})"))}}const be={name:"toggletip"};class Uc extends n{constructor(){super(...arguments),this.type="toggletip",this.componentInfo=be,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Mc extends a{constructor(){super(...arguments),this.componentInfo=be,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byHeadline=this.ctx.driver.wrapSelector(k.bind(this))}wrap(r){return new Uc(this.ctx,r)}}class jc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!0,"toBeOpen()")),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!1,"toBeClosed()"))}}const me={name:"tooltip"};class _c extends n{constructor(){super(...arguments),this.type="tooltip",this.componentInfo=me,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class zc extends a{constructor(){super(...arguments),this.componentInfo=me,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this)),this.byText=this.ctx.driver.wrapSelector(B.bind(this))}wrap(r){return new _c(this.ctx,r)}}class Jc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!0,"toBeOpen()")),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:E},!1,"toBeClosed()"))}}const fe={name:"tree-item"};class Kc extends n{constructor(){super(...arguments),this.type="treeItem",this.componentInfo=fe,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Qc extends a{constructor(){super(...arguments),this.componentInfo=fe,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Kc(this.ctx,r)}}class Xc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:w},e,"toHaveIcon(${value})"))}}const Ee={name:"tree-view"};class Yc extends n{constructor(){super(...arguments),this.type="treeView",this.componentInfo=Ee,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class Zc extends a{constructor(){super(...arguments),this.componentInfo=Ee,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new Yc(this.ctx,r)}}class Nc{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const ye={name:"video-player"};class to extends n{constructor(){super(...arguments),this.type="videoPlayer",this.componentInfo=ye,this.hover=this.ctx.driver.wrapAction(l.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(p.bind(this,()=>this.locator)),this.blur=this.ctx.driver.wrapAction(d.bind(this,()=>this.locator))}}class eo extends a{constructor(){super(...arguments),this.componentInfo=ye,this.byTestId=this.ctx.driver.wrapSelector(h.bind(this))}wrap(r){return new to(this.ctx,r)}}class ro{constructor(r,s){this.ctx=r,this.wrapper=s,this.toHaveProp=this.ctx.driver.wrapExpect((e,i)=>this.ctx.driver.expectEq({type:"eval",el:this.wrapper.unwrap(),fn:(c,o)=>c[o],arg:e},i,`toHaveProp("${e}", ${i})`))}}const j={collection:ge,accordion:ze,accordionItem:Qe,actionGroup:Ze,alert:er,audioPlayer:sr,avatar:nr,badge:pr,banner:xr,breadcrumb:wr,breadcrumbItem:fr,button:yr,calendar:Ar,calendarEvent:$r,card:qr,checkbox:Br,colorPicker:Dr,combobox:Lr,contextualHelp:Ur,dataGrid:_r,dataGridCell:Kr,dataGridRow:Yr,datePicker:ti,dateRangePicker:ii,dateTimePicker:oi,dialPad:hi,dialog:li,divider:ui,emptyState:mi,fab:yi,filePicker:Ai,header:$i,icon:qi,layout:Bi,menu:Di,menuItem:Li,nav:Ui,navDisclosure:_i,navItem:Ki,note:Yi,numberField:ts,option:is,pagination:os,popover:hs,progress:ls,progressRing:us,radio:ms,radioGroup:ys,rangeSlider:As,richTextEditor:$s,richTextView:qs,searchableSelect:Bs,select:Ds,selectableBox:Ls,sideDrawer:Us,simpleColorPicker:_s,slider:Ks,splitButton:Ys,switch:tc,tab:ic,tabPanel:oc,table:hc,tableBody:lc,tableCell:uc,tableHead:mc,tableHeaderCell:yc,tableRow:Ac,tabs:$c,tag:qc,tagGroup:Bc,textArea:Dc,textField:Gc,timePicker:Fc,toggletip:jc,tooltip:Jc,treeItem:Xc,treeView:Nc,videoPlayer:ro};class io{constructor(r){this.ctx=r,this.accordion=new _e(this.ctx),this.accordionItem=new Ke(this.ctx),this.actionGroup=new Ye(this.ctx),this.alert=new tr(this.ctx),this.audioPlayer=new ir(this.ctx),this.avatar=new or(this.ctx),this.badge=new hr(this.ctx),this.banner=new lr(this.ctx),this.breadcrumb=new ur(this.ctx),this.breadcrumbItem=new mr(this.ctx),this.button=new Er(this.ctx),this.calendar=new gr(this.ctx),this.calendarEvent=new Pr(this.ctx),this.card=new Cr(this.ctx),this.checkbox=new kr(this.ctx),this.colorPicker=new Wr(this.ctx),this.combobox=new Gr(this.ctx),this.contextualHelp=new Fr(this.ctx),this.dataGrid=new jr(this.ctx),this.dataGridCell=new Jr(this.ctx),this.dataGridRow=new Xr(this.ctx),this.datePicker=new Nr(this.ctx),this.dateRangePicker=new ri(this.ctx),this.dateTimePicker=new ci(this.ctx),this.dialPad=new ai(this.ctx),this.dialog=new di(this.ctx),this.divider=new vi(this.ctx),this.emptyState=new bi(this.ctx),this.fab=new Ei(this.ctx),this.filePicker=new gi(this.ctx),this.header=new Pi(this.ctx),this.icon=new Ci(this.ctx),this.layout=new ki(this.ctx),this.menu=new Wi(this.ctx),this.menuItem=new Gi(this.ctx),this.nav=new Fi(this.ctx),this.navDisclosure=new ji(this.ctx),this.navItem=new Ji(this.ctx),this.note=new Xi(this.ctx),this.numberField=new Ni(this.ctx),this.option=new rs(this.ctx),this.pagination=new cs(this.ctx),this.popover=new as(this.ctx),this.progress=new ds(this.ctx),this.progressRing=new vs(this.ctx),this.radio=new bs(this.ctx),this.radioGroup=new Es(this.ctx),this.rangeSlider=new gs(this.ctx),this.richTextEditor=new Ps(this.ctx),this.richTextView=new Cs(this.ctx),this.searchableSelect=new ks(this.ctx),this.select=new Ws(this.ctx),this.selectableBox=new Gs(this.ctx),this.sideDrawer=new Fs(this.ctx),this.simpleColorPicker=new js(this.ctx),this.slider=new Js(this.ctx),this.splitButton=new Xs(this.ctx),this.switch=new Ns(this.ctx),this.tab=new rc(this.ctx),this.tabPanel=new cc(this.ctx),this.table=new ac(this.ctx),this.tableBody=new dc(this.ctx),this.tableCell=new vc(this.ctx),this.tableHead=new bc(this.ctx),this.tableHeaderCell=new Ec(this.ctx),this.tableRow=new gc(this.ctx),this.tabs=new Pc(this.ctx),this.tag=new Cc(this.ctx),this.tagGroup=new kc(this.ctx),this.textArea=new Wc(this.ctx),this.textField=new Rc(this.ctx),this.timePicker=new Oc(this.ctx),this.toggletip=new Mc(this.ctx),this.tooltip=new zc(this.ctx),this.treeItem=new Qc(this.ctx),this.treeView=new Zc(this.ctx),this.videoPlayer=new eo(this.ctx)}expect(r){if(r.type in j)return new j[r.type](this.ctx,r);throw new Error(`Unknown component type: ${r.type}`)}}exports.VividWrapper=io;