@vonage/vivid-test-utils 5.15.1 → 5.17.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
+ var e=class{constructor(e,t){this.ctx=e,this.locator=t}unwrap(){return this.locator}assert(e,t,n,r){return this.ctx.driver.expectEq({type:`eval`,el:this.locator,fn:t,arg:r},n,`Failed to assert condition: "${e}"`)}},t=class{constructor(e){this.ctx=e,this.all=this.ctx.driver.wrapSelector(()=>new n(this.ctx,this,this.ctx.driver.querySelectorAll(this.ctx.rootLocator,`[data-vvd-component="${this.componentInfo.name}"]`)))}},n=class{constructor(e,t,n){this.ctx=e,this.component=t,this.locator=n,this.type=`collection`,this.nth=this.ctx.driver.wrapSelector(e=>this.component.wrap(this.ctx.driver.nth(this.locator,e)))}},r=class{constructor(e,t){this.ctx=e,this.locator=t,this.toHaveCount=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({el:this.locator.locator,type:`count`},e,`toHaveCount(${e})`))}},ee=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/'/g,`\\'`),i=(e,t)=>t.map(([t,n])=>`[data-vvd-component="${e}"][${t}="${ee(n)}"]`).join(`,`);function a(e){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,i(this.componentInfo.name,[[`data-testid`,e],[`data-test-id`,e],[`data-cy`,e]])))}function o(e){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,i(this.componentInfo.name,[[`label`,e],[`aria-label`,e],[`data-vvd-aria-label`,e]])))}function te(e){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,i(this.componentInfo.name,[[`heading`,e]])))}function s(e){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,i(this.componentInfo.name,[[`headline`,e]])))}function c(e){return this.wrap(this.ctx.driver.querySelector(this.ctx.rootLocator,i(this.componentInfo.name,[[`text`,e]])))}var l=e=>{if(!e.length)return;let t=e[0],n=e.slice(1),r=t();return r instanceof Promise?r.then(()=>l(n)):l(n)};function u(e){return e.checked}function d(e){return e.indeterminate?`indeterminate`:e.checked?`checked`:`unchecked`}function f(e){return e.errorValidationMessage}function p(e){return e.headline}function m(e){return e.open}function h(e){return e.value}function g(e){return e.valueAsNumber}function ne(e){return e.values}function re(e){return e.selectedOptions.map(e=>e.label)}function _(e){return e.expanded}function v(e){return e.active}function y(e){return e.current}function b(e){return e.selected}function x(e){return e.disabled}function ie(e){return[e.start,e.end]}function ae(e){return[e.startAsNumber,e.endAsNumber]}function oe(e){return e.name}function se(e){return e.total}function ce(e){return e.selectedIndex+1||null}function S(e){let t=e.shadowRoot.querySelector(`slot[name=icon]`);if(t){let e=t.assignedElements()[0];if(e?.dataset.vvdComponent===`icon`)return e.name}let n=e.shadowRoot.querySelector(`slot[name="icon"] [data-vvd-component="icon"], span.icon [data-vvd-component="icon"]`);return n?n.name:null}function C(e){return this.ctx.driver.userClick(e())}function w(e,t){return this.ctx.driver.userFill(e(),t)}function le(e){return l([()=>this.ctx.driver.userFill(this.control(),e),()=>this.ctx.driver.userBlur(this.control())])}function T(e){return this.ctx.driver.userClear(e())}function ue(){return l([()=>this.ctx.driver.eval(this.locator,()=>new Promise(e=>setTimeout(e,200))),()=>this.ctx.driver.userClear(this.control()),()=>this.ctx.driver.userBlur(this.control())])}function de(e){return l([()=>this.assert(`Component is unchecked before it can be checked`,d,`unchecked`),()=>this.ctx.driver.userClick(e()),()=>this.assert(`Component is checked after checking it`,d,`checked`)])}function fe(e){return l([()=>this.assert(`Component is checked before it can be unchecked`,d,`checked`),()=>this.ctx.driver.userClick(e()),()=>this.assert(`Component is unchecked after unchecking it`,d,`unchecked`)])}function E(e){return this.ctx.driver.userFocus(e())}function D(e){return this.ctx.driver.userBlur(e())}function O(e){return this.ctx.driver.userHover(e())}function k(e){return pe.call(this,i(`option`,[[`value`,e]]))}function A(e){return pe.call(this,i(`option`,[[`text`,e]]))}function pe(e){return this.ctx.driver.eval(this.locator,e=>e.open,void 0,t=>l([()=>{if(!t)return this.ctx.driver.userClick(this.locator)},()=>this.ctx.driver.expectEq({type:`eval`,el:this.ctx.driver.querySelector(this.locator,e),fn:e=>!!e.selected},!1,`Option is unselected before it can be selected`),()=>this.ctx.driver.expectEq({type:`eval`,el:this.ctx.driver.querySelector(this.locator,e),fn:e=>!!e.disabled},!1,`Option is not disabled before it can be selected`),()=>this.ctx.driver.eval(this.ctx.driver.querySelector(this.locator,e),e=>e.click()),()=>this.ctx.driver.expectEq({type:`eval`,el:this.ctx.driver.querySelector(this.locator,e),fn:e=>!!e.selected},!0,`Option is selected after selecting it`)]))}function j(e){return e().click()}var M=e=>{let[t,n,r]=e.split(`-`);return`${n}/${r}/${t}`};function me(e){return l([()=>this.control().fill(M(e)),()=>this.control().blur()])}function N(){return l([()=>this.pickerButton().click(),()=>this.clearButton().click()])}var P=e=>{let[t,n,r]=e.split(`:`);return`${t%12||12}:${n}:${r} ${+t<12?`AM`:`PM`}`};function he(e){return l([()=>this.control().fill(P(e)),()=>this.control().blur()])}var ge=([e,t])=>`${M(e)} – ${M(t)}`;function _e(e){return l([()=>this.control().fill(ge(e)),()=>this.control().blur()])}var ve=e=>{let[t,n]=e.split(`T`);return`${M(t)} ${P(n)}`};function ye(e){return l([()=>this.control().fill(ve(e)),()=>this.control().blur()])}function F(e,t,n){return this.ctx.driver.userDragSlider(this.locator,e(),t(),n)}function be(e){return this.ctx.driver.userClick(this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.locator),`.vwc-pagination-button[label="${e+1}"]`))}function I(e){return l([()=>this.assert(`Component is ${e?`collapsed`:`expanded`} before it can be ${e?`expanded`:`collapsed`}`,e=>!!e.expanded,!e),()=>this.ctx.driver.userClick(this.button()),()=>this.assert(`Component is ${e?`expanded`:`collapsed`} after ${e?`expanding`:`collapsing`} it`,e=>!!e.expanded,e)])}function L(e){return l([()=>this.assert(`Component is ${e?`closed`:`open`} before it can be ${e?`expanded`:`collapsed`}`,e=>!!e.open,!e),()=>this.ctx.driver.userClick(this.summary()),()=>this.assert(`Component is ${e?`open`:`closed`} after ${e?`expanding`:`collapsing`} it`,e=>!!e.open,e)])}function R(e){return l([()=>this.ctx.driver.userClick(this.base()),()=>this.assert(`Component is ${e?`selected`:`unselected`} after ${e?`selecting`:`unselecting`} it`,e=>!!e.selected,e)])}function xe(e){return this.ctx.driver.querySelector(this.unwrap(),e)}function z(e){return this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),e)}function Se(e,t){return this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),e)),t)}function B(e){return new $e(this.ctx,this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),e))}function V(e){return new Ia(this.ctx,this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),e))}var H={name:`accordion`},Ce=class extends e{constructor(...e){super(...e),this.type=`accordion`,this.componentInfo=H,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},we=class extends t{constructor(...e){super(...e),this.componentInfo=H,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ce(this.ctx,e)}},Te=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},U={name:`accordion-item`},Ee=class extends e{constructor(...e){super(...e),this.type=`accordionItem`,this.componentInfo=U,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.collapse=this.ctx.driver.wrapAction(I.bind(this,!1)),this.expand=this.ctx.driver.wrapAction(I.bind(this,!0)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.button=z.bind(this,`.heading-button`)}},De=class extends t{constructor(...e){super(...e),this.componentInfo=U,this.byHeading=this.ctx.driver.wrapSelector(te.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ee(this.ctx,e)}},Oe=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeCollapsed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:_},!1,`toBeCollapsed()`)),this.toBeExpanded=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:_},!0,`toBeExpanded()`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},W={name:`action-group`},ke=class extends e{constructor(...e){super(...e),this.type=`actionGroup`,this.componentInfo=W,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ae=class extends t{constructor(...e){super(...e),this.componentInfo=W,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ke(this.ctx,e)}},je=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},G={name:`alert`},Me=class extends e{constructor(...e){super(...e),this.type=`alert`,this.componentInfo=G,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ne=class extends t{constructor(...e){super(...e),this.componentInfo=G,this.byHeadline=this.ctx.driver.wrapSelector(s.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Me(this.ctx,e)}},Pe=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!1,`toBeClosed()`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!0,`toBeOpen()`))}},K={name:`audio-player`},Fe=class extends e{constructor(...e){super(...e),this.type=`audioPlayer`,this.componentInfo=K,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ie=class extends t{constructor(...e){super(...e),this.componentInfo=K,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Fe(this.ctx,e)}},Le=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},q={name:`avatar`},Re=class extends e{constructor(...e){super(...e),this.type=`avatar`,this.componentInfo=q,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},ze=class extends t{constructor(...e){super(...e),this.componentInfo=q,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Re(this.ctx,e)}},Be=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},J={name:`badge`},Ve=class extends e{constructor(...e){super(...e),this.type=`badge`,this.componentInfo=J,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},He=class extends t{constructor(...e){super(...e),this.componentInfo=J,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ve(this.ctx,e)}},Ue=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},Y={name:`banner`},We=class extends e{constructor(...e){super(...e),this.type=`banner`,this.componentInfo=Y,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.dismiss=this.ctx.driver.wrapAction(j.bind(this,()=>this.dismissButton())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.dismissButton=B.bind(this,`.dismiss-button`)}},Ge=class extends t{constructor(...e){super(...e),this.componentInfo=Y,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this)),this.byText=this.ctx.driver.wrapSelector(c.bind(this))}wrap(e){return new We(this.ctx,e)}},Ke=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},X={name:`breadcrumb`},qe=class extends e{constructor(...e){super(...e),this.type=`breadcrumb`,this.componentInfo=X,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Je=class extends t{constructor(...e){super(...e),this.componentInfo=X,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new qe(this.ctx,e)}},Ye=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},Z={name:`breadcrumb-item`},Xe=class extends e{constructor(...e){super(...e),this.type=`breadcrumbItem`,this.componentInfo=Z,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ze=class extends t{constructor(...e){super(...e),this.componentInfo=Z,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Xe(this.ctx,e)}},Qe=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Q={name:`button`},$e=class extends e{constructor(...e){super(...e),this.type=`button`,this.componentInfo=Q,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(C.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.control=z.bind(this,`button.control`)}},et=class extends t{constructor(...e){super(...e),this.componentInfo=Q,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new $e(this.ctx,e)}},tt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})"))}},nt={name:`calendar`},rt=class extends e{constructor(...e){super(...e),this.type=`calendar`,this.componentInfo=nt,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},it=class extends t{constructor(...e){super(...e),this.componentInfo=nt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new rt(this.ctx,e)}},at=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},ot={name:`calendar-event`},st=class extends e{constructor(...e){super(...e),this.type=`calendarEvent`,this.componentInfo=ot,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},ct=class extends t{constructor(...e){super(...e),this.componentInfo=ot,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new st(this.ctx,e)}},lt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},ut={name:`card`},dt=class extends e{constructor(...e){super(...e),this.type=`card`,this.componentInfo=ut,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},ft=class extends t{constructor(...e){super(...e),this.componentInfo=ut,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new dt(this.ctx,e)}},pt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveHeadline=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:p},e,"toHaveHeadline(${value})"))}},mt={name:`checkbox`},ht=class extends e{constructor(...e){super(...e),this.type=`checkbox`,this.componentInfo=mt,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(de.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.uncheck=this.ctx.driver.wrapAction(fe.bind(this,()=>this.control())),this.control=z.bind(this,`div.control`)}},gt=class extends t{constructor(...e){super(...e),this.componentInfo=mt,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ht(this.ctx,e)}},_t=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:d},`checked`,`toBeChecked()`)),this.toBeIndeterminate=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:d},`indeterminate`,`toBeIndeterminate()`)),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:d},`unchecked`,`toBeUnchecked()`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},vt={name:`color-picker`},yt=class extends e{constructor(...e){super(...e),this.type=`colorPicker`,this.componentInfo=vt,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},bt=class extends t{constructor(...e){super(...e),this.componentInfo=vt,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new yt(this.ctx,e)}},xt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},St={name:`combobox`},Ct=class extends e{constructor(...e){super(...e),this.type=`combobox`,this.componentInfo=St,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(ue.bind(this)),this.fill=this.ctx.driver.wrapAction(le.bind(this)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.selectOptionByText=this.ctx.driver.wrapAction(A.bind(this)),this.selectOptionByValue=this.ctx.driver.wrapAction(k.bind(this)),this.control=z.bind(this,`input.control`)}},wt=class extends t{constructor(...e){super(...e),this.componentInfo=St,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ct(this.ctx,e)}},Tt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},Et={name:`contextual-help`},Dt=class extends e{constructor(...e){super(...e),this.type=`contextualHelp`,this.componentInfo=Et,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ot=class extends t{constructor(...e){super(...e),this.componentInfo=Et,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Dt(this.ctx,e)}},kt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},At={name:`country`},jt=class extends e{constructor(...e){super(...e),this.type=`country`,this.componentInfo=At,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Mt=class extends t{constructor(...e){super(...e),this.componentInfo=At,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new jt(this.ctx,e)}},Nt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Pt={name:`data-grid`},Ft=class extends e{constructor(...e){super(...e),this.type=`dataGrid`,this.componentInfo=Pt,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},It=class extends t{constructor(...e){super(...e),this.componentInfo=Pt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ft(this.ctx,e)}},Lt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Rt={name:`data-grid-cell`},zt=class extends e{constructor(...e){super(...e),this.type=`dataGridCell`,this.componentInfo=Rt,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Bt=class extends t{constructor(...e){super(...e),this.componentInfo=Rt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new zt(this.ctx,e)}},Vt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Ht={name:`data-grid-row`},Ut=class extends e{constructor(...e){super(...e),this.type=`dataGridRow`,this.componentInfo=Ht,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Wt=class extends t{constructor(...e){super(...e),this.componentInfo=Ht,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ut(this.ctx,e)}},Gt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Kt={name:`date-picker`},qt=class extends e{constructor(...e){super(...e),this.type=`datePicker`,this.componentInfo=Kt,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(N.bind(this)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.selectDate=this.ctx.driver.wrapAction(me.bind(this)),this.clearButton=B.bind(this,`#clear-button`),this.control=V.bind(this,`[data-vvd-component=text-field].control`),this.pickerButton=B.bind(this,`#picker-button`)}},Jt=class extends t{constructor(...e){super(...e),this.componentInfo=Kt,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new qt(this.ctx,e)}},Yt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},Xt={name:`date-range-picker`},Zt=class extends e{constructor(...e){super(...e),this.type=`dateRangePicker`,this.componentInfo=Xt,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(N.bind(this)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.selectDateRange=this.ctx.driver.wrapAction(_e.bind(this)),this.clearButton=B.bind(this,`#clear-button`),this.control=V.bind(this,`[data-vvd-component=text-field].control`),this.pickerButton=B.bind(this,`#picker-button`)}},Qt=class extends t{constructor(...e){super(...e),this.componentInfo=Xt,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Zt(this.ctx,e)}},$t=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveRange=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:ie},e,"toHaveRange(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},en={name:`date-time-picker`},tn=class extends e{constructor(...e){super(...e),this.type=`dateTimePicker`,this.componentInfo=en,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(N.bind(this)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.selectDateTime=this.ctx.driver.wrapAction(ye.bind(this)),this.clearButton=B.bind(this,`#clear-button`),this.control=V.bind(this,`[data-vvd-component=text-field].control`),this.pickerButton=B.bind(this,`#picker-button`)}},nn=class extends t{constructor(...e){super(...e),this.componentInfo=en,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new tn(this.ctx,e)}},rn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},an={name:`dial-pad`},on=class extends e{constructor(...e){super(...e),this.type=`dialPad`,this.componentInfo=an,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},sn=class extends t{constructor(...e){super(...e),this.componentInfo=an,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new on(this.ctx,e)}},cn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},ln={name:`dialog`},un=class extends e{constructor(...e){super(...e),this.type=`dialog`,this.componentInfo=ln,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.dismiss=this.ctx.driver.wrapAction(C.bind(this,()=>this.dismissButton())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.dismissButton=z.bind(this,`.dismiss-button`)}},dn=class extends t{constructor(...e){super(...e),this.componentInfo=ln,this.byHeadline=this.ctx.driver.wrapSelector(s.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new un(this.ctx,e)}},fn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!1,`toBeClosed()`)),this.toHaveHeadline=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:p},e,"toHaveHeadline(${value})")),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!0,`toBeOpen()`))}},pn={name:`divider`},mn=class extends e{constructor(...e){super(...e),this.type=`divider`,this.componentInfo=pn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},hn=class extends t{constructor(...e){super(...e),this.componentInfo=pn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new mn(this.ctx,e)}},gn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},_n={name:`empty-state`},vn=class extends e{constructor(...e){super(...e),this.type=`emptyState`,this.componentInfo=_n,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},yn=class extends t{constructor(...e){super(...e),this.componentInfo=_n,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new vn(this.ctx,e)}},bn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},xn={name:`fab`},Sn=class extends e{constructor(...e){super(...e),this.type=`fab`,this.componentInfo=xn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(C.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.control=z.bind(this,`button.control`)}},Cn=class extends t{constructor(...e){super(...e),this.componentInfo=xn,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Sn(this.ctx,e)}},wn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})"))}},Tn={name:`file-picker`},En=class extends e{constructor(...e){super(...e),this.type=`filePicker`,this.componentInfo=Tn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Dn=class extends t{constructor(...e){super(...e),this.componentInfo=Tn,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new En(this.ctx,e)}},On=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},kn={name:`header`},An=class extends e{constructor(...e){super(...e),this.type=`header`,this.componentInfo=kn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},jn=class extends t{constructor(...e){super(...e),this.componentInfo=kn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new An(this.ctx,e)}},Mn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Nn={name:`icon`},Pn=class extends e{constructor(...e){super(...e),this.type=`icon`,this.componentInfo=Nn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Fn=class extends t{constructor(...e){super(...e),this.componentInfo=Nn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Pn(this.ctx,e)}},In=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveName=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:oe},e,"toHaveName(${value})"))}},Ln={name:`layout`},Rn=class extends e{constructor(...e){super(...e),this.type=`layout`,this.componentInfo=Ln,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},zn=class extends t{constructor(...e){super(...e),this.componentInfo=Ln,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Rn(this.ctx,e)}},Bn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Vn={name:`menu`},Hn=class extends e{constructor(...e){super(...e),this.type=`menu`,this.componentInfo=Vn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Un=class extends t{constructor(...e){super(...e),this.componentInfo=Vn,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Hn(this.ctx,e)}},Wn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!1,`toBeClosed()`)),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!0,`toBeOpen()`))}},Gn={name:`menu-item`},Kn=class extends e{constructor(...e){super(...e),this.type=`menuItem`,this.componentInfo=Gn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(C.bind(this,()=>this.base())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.base=z.bind(this,`.base`)}},qn=class extends t{constructor(...e){super(...e),this.componentInfo=Gn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this)),this.byText=this.ctx.driver.wrapSelector(c.bind(this))}wrap(e){return new Kn(this.ctx,e)}},Jn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!0,`toBeChecked()`)),this.toHaveDisabled=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:x},e,"toHaveDisabled(${value})")),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!1,`toBeUnchecked()`))}},Yn={name:`nav`},Xn=class extends e{constructor(...e){super(...e),this.type=`nav`,this.componentInfo=Yn,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Zn=class extends t{constructor(...e){super(...e),this.componentInfo=Yn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Xn(this.ctx,e)}},Qn=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},$n={name:`nav-disclosure`},er=class extends e{constructor(...e){super(...e),this.type=`navDisclosure`,this.componentInfo=$n,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.collapse=this.ctx.driver.wrapAction(L.bind(this,!1)),this.expand=this.ctx.driver.wrapAction(L.bind(this,!0)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.summary=z.bind(this,`summary`)}},tr=class extends t{constructor(...e){super(...e),this.componentInfo=$n,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new er(this.ctx,e)}},nr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.notToBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:y},!1,`notToBeCurrent()`)),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!1,`toBeClosed()`)),this.toBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:y},!0,`toBeCurrent()`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!0,`toBeOpen()`))}},rr={name:`nav-item`},ir=class extends e{constructor(...e){super(...e),this.type=`navItem`,this.componentInfo=rr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(C.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.control=z.bind(this,`.control`)}},ar=class extends t{constructor(...e){super(...e),this.componentInfo=rr,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ir(this.ctx,e)}},or=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.notToBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:y},!1,`notToBeCurrent()`)),this.toBeCurrent=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:y},!0,`toBeCurrent()`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},sr={name:`note`},cr=class extends e{constructor(...e){super(...e),this.type=`note`,this.componentInfo=sr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},lr=class extends t{constructor(...e){super(...e),this.componentInfo=sr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new cr(this.ctx,e)}},ur=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},dr={name:`number-field`},fr=class extends e{constructor(...e){super(...e),this.type=`numberField`,this.componentInfo=dr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(T.bind(this,()=>this.control())),this.clickDecrement=this.ctx.driver.wrapAction(j.bind(this,()=>this.decrementButton())),this.clickIncrement=this.ctx.driver.wrapAction(j.bind(this,()=>this.incrementButton())),this.fill=this.ctx.driver.wrapAction(w.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.control=z.bind(this,`input.control`),this.decrementButton=B.bind(this,`#subtract`),this.incrementButton=B.bind(this,`#add`)}},pr=class extends t{constructor(...e){super(...e),this.componentInfo=dr,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new fr(this.ctx,e)}},mr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveValueAsNumber=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:g},e,"toHaveValueAsNumber(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},hr={name:`option`},gr=class extends e{constructor(...e){super(...e),this.type=`option`,this.componentInfo=hr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(C.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},_r=class extends t{constructor(...e){super(...e),this.componentInfo=hr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new gr(this.ctx,e)}},vr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},yr={name:`pagination`},br=class extends e{constructor(...e){super(...e),this.type=`pagination`,this.componentInfo=yr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clickNext=this.ctx.driver.wrapAction(C.bind(this,()=>this.nextButton())),this.clickPageIndex=this.ctx.driver.wrapAction(be.bind(this)),this.clickPrev=this.ctx.driver.wrapAction(C.bind(this,()=>this.prevButton())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.nextButton=z.bind(this,`.next-button`),this.prevButton=z.bind(this,`.prev-button`)}},xr=class extends t{constructor(...e){super(...e),this.componentInfo=yr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new br(this.ctx,e)}},Sr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveSelectedPage=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:ce},e,"toHaveSelectedPage(${value})")),this.toHaveTotal=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:se},e,"toHaveTotal(${value})"))}},Cr={name:`popover`},wr=class extends e{constructor(...e){super(...e),this.type=`popover`,this.componentInfo=Cr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Tr=class extends t{constructor(...e){super(...e),this.componentInfo=Cr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new wr(this.ctx,e)}},Er=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Dr={name:`progress`},Or=class extends e{constructor(...e){super(...e),this.type=`progress`,this.componentInfo=Dr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},kr=class extends t{constructor(...e){super(...e),this.componentInfo=Dr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Or(this.ctx,e)}},Ar=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},jr={name:`progress-ring`},Mr=class extends e{constructor(...e){super(...e),this.type=`progressRing`,this.componentInfo=jr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Nr=class extends t{constructor(...e){super(...e),this.componentInfo=jr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Mr(this.ctx,e)}},Pr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Fr={name:`radio`},Ir=class extends e{constructor(...e){super(...e),this.type=`radio`,this.componentInfo=Fr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(C.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.control=z.bind(this,`.control`)}},Lr=class extends t{constructor(...e){super(...e),this.componentInfo=Fr,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ir(this.ctx,e)}},Rr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!0,`toBeChecked()`)),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!1,`toBeUnchecked()`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},zr={name:`radio-group`},Br=class extends e{constructor(...e){super(...e),this.type=`radioGroup`,this.componentInfo=zr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Vr=class extends t{constructor(...e){super(...e),this.componentInfo=zr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Br(this.ctx,e)}},Hr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Ur={name:`range-slider`},Wr=class extends e{constructor(...e){super(...e),this.type=`rangeSlider`,this.componentInfo=Ur,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.slideEndTo=this.ctx.driver.wrapAction(F.bind(this,()=>this.track(),()=>this.endThumb())),this.slideStartTo=this.ctx.driver.wrapAction(F.bind(this,()=>this.track(),()=>this.startThumb())),this.endThumb=z.bind(this,`#end-thumb`),this.startThumb=z.bind(this,`#start-thumb`),this.track=z.bind(this,`.control`)}},Gr=class extends t{constructor(...e){super(...e),this.componentInfo=Ur,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Wr(this.ctx,e)}},Kr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveRange=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:ae},e,"toHaveRange(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},qr={name:`rich-text-editor`},Jr=class extends e{constructor(...e){super(...e),this.type=`richTextEditor`,this.componentInfo=qr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Yr=class extends t{constructor(...e){super(...e),this.componentInfo=qr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Jr(this.ctx,e)}},Xr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Zr={name:`rich-text-view`},Qr=class extends e{constructor(...e){super(...e),this.type=`richTextView`,this.componentInfo=Zr,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},$r=class extends t{constructor(...e){super(...e),this.componentInfo=Zr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Qr(this.ctx,e)}},ei=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},ti={name:`searchable-select`},ni=class extends e{constructor(...e){super(...e),this.type=`searchableSelect`,this.componentInfo=ti,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.selectOptionByText=this.ctx.driver.wrapAction(A.bind(this)),this.selectOptionByValue=this.ctx.driver.wrapAction(k.bind(this))}},ri=class extends t{constructor(...e){super(...e),this.componentInfo=ti,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ni(this.ctx,e)}},ii=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toHaveSelectedOptions=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:re},e,"toHaveSelectedOptions(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveValues=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:ne},e,"toHaveValues(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},ai={name:`select`},oi=class extends e{constructor(...e){super(...e),this.type=`select`,this.componentInfo=ai,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.selectOptionByText=this.ctx.driver.wrapAction(A.bind(this)),this.selectOptionByValue=this.ctx.driver.wrapAction(k.bind(this))}},si=class extends t{constructor(...e){super(...e),this.componentInfo=ai,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new oi(this.ctx,e)}},ci=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},li={name:`selectable-box`},ui=class extends e{constructor(...e){super(...e),this.type=`selectableBox`,this.componentInfo=li,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(de.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.uncheck=this.ctx.driver.wrapAction(fe.bind(this,()=>this.control())),this.control=Se.bind(this,`[data-vvd-component].control`,`div.control`)}},di=class extends t{constructor(...e){super(...e),this.componentInfo=li,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ui(this.ctx,e)}},fi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!0,`toBeChecked()`)),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!1,`toBeUnchecked()`))}},pi={name:`side-drawer`},mi=class extends e{constructor(...e){super(...e),this.type=`sideDrawer`,this.componentInfo=pi,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},hi=class extends t{constructor(...e){super(...e),this.componentInfo=pi,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new mi(this.ctx,e)}},gi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},_i={name:`simple-color-picker`},vi=class extends e{constructor(...e){super(...e),this.type=`simpleColorPicker`,this.componentInfo=_i,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},yi=class extends t{constructor(...e){super(...e),this.componentInfo=_i,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new vi(this.ctx,e)}},bi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},xi={name:`slider`},Si=class extends e{constructor(...e){super(...e),this.type=`slider`,this.componentInfo=xi,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.slideTo=this.ctx.driver.wrapAction(F.bind(this,()=>this.track(),()=>this.thumb())),this.thumb=z.bind(this,`.thumb-container`),this.track=z.bind(this,`.control`)}},Ci=class extends t{constructor(...e){super(...e),this.componentInfo=xi,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Si(this.ctx,e)}},wi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveValueAsNumber=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:g},e,"toHaveValueAsNumber(${value})"))}},Ti={name:`split-button`},Ei=class extends e{constructor(...e){super(...e),this.type=`splitButton`,this.componentInfo=Ti,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clickAction=this.ctx.driver.wrapAction(C.bind(this,()=>this.actionButton())),this.clickIndicator=this.ctx.driver.wrapAction(C.bind(this,()=>this.indicatorButton())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.actionButton=z.bind(this,`button.control`),this.indicatorButton=z.bind(this,`button.indicator`)}},Di=class extends t{constructor(...e){super(...e),this.componentInfo=Ti,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ei(this.ctx,e)}},Oi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},ki={name:`status`},Ai=class extends e{constructor(...e){super(...e),this.type=`status`,this.componentInfo=ki,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},ji=class extends t{constructor(...e){super(...e),this.componentInfo=ki,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ai(this.ctx,e)}},Mi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},Ni={name:`switch`},Pi=class extends e{constructor(...e){super(...e),this.type=`switch`,this.componentInfo=Ni,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(C.bind(this,()=>this.switch())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.uncheck=this.ctx.driver.wrapAction(C.bind(this,()=>this.switch())),this.switch=z.bind(this,`.switch`)}},Fi=class extends t{constructor(...e){super(...e),this.componentInfo=Ni,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Pi(this.ctx,e)}},Ii=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeChecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!0,`toBeChecked()`)),this.toBeUnchecked=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:u},!1,`toBeUnchecked()`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})"))}},Li={name:`tab`},Ri=class extends e{constructor(...e){super(...e),this.type=`tab`,this.componentInfo=Li,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.select=this.ctx.driver.wrapAction(C.bind(this,()=>this.base())),this.base=z.bind(this,`.base`)}},zi=class extends t{constructor(...e){super(...e),this.componentInfo=Li,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ri(this.ctx,e)}},Bi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeActive=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:v},!0,`toBeActive()`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toBeInactive=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:v},!1,`toBeInactive()`))}},Vi={name:`tab-panel`},Hi=class extends e{constructor(...e){super(...e),this.type=`tabPanel`,this.componentInfo=Vi,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ui=class extends t{constructor(...e){super(...e),this.componentInfo=Vi,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Hi(this.ctx,e)}},Wi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},Gi={name:`table`},Ki=class extends e{constructor(...e){super(...e),this.type=`table`,this.componentInfo=Gi,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},qi=class extends t{constructor(...e){super(...e),this.componentInfo=Gi,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ki(this.ctx,e)}},Ji=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},Yi={name:`table-body`},Xi=class extends e{constructor(...e){super(...e),this.type=`tableBody`,this.componentInfo=Yi,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Zi=class extends t{constructor(...e){super(...e),this.componentInfo=Yi,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Xi(this.ctx,e)}},Qi=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},$i={name:`table-cell`},ea=class extends e{constructor(...e){super(...e),this.type=`tableCell`,this.componentInfo=$i,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},ta=class extends t{constructor(...e){super(...e),this.componentInfo=$i,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ea(this.ctx,e)}},na=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ra={name:`table-head`},ia=class extends e{constructor(...e){super(...e),this.type=`tableHead`,this.componentInfo=ra,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},aa=class extends t{constructor(...e){super(...e),this.componentInfo=ra,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ia(this.ctx,e)}},oa=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},sa={name:`table-header-cell`},ca=class extends e{constructor(...e){super(...e),this.type=`tableHeaderCell`,this.componentInfo=sa,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},la=class extends t{constructor(...e){super(...e),this.componentInfo=sa,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ca(this.ctx,e)}},ua=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},da={name:`table-row`},fa=class extends e{constructor(...e){super(...e),this.type=`tableRow`,this.componentInfo=da,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},pa=class extends t{constructor(...e){super(...e),this.componentInfo=da,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new fa(this.ctx,e)}},ma=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ha={name:`table-sorting-button`},ga=class extends e{constructor(...e){super(...e),this.type=`tableSortingButton`,this.componentInfo=ha,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},_a=class extends t{constructor(...e){super(...e),this.componentInfo=ha,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ga(this.ctx,e)}},va=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},ya={name:`tabs`},ba=class extends e{constructor(...e){super(...e),this.type=`tabs`,this.componentInfo=ya,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},xa=class extends t{constructor(...e){super(...e),this.componentInfo=ya,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ba(this.ctx,e)}},Sa=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},Ca={name:`tag`},wa=class extends e{constructor(...e){super(...e),this.type=`tag`,this.componentInfo=Ca,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.click=this.ctx.driver.wrapAction(C.bind(this,()=>this.base())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.remove=this.ctx.driver.wrapAction(C.bind(this,()=>this.dismissButton())),this.select=this.ctx.driver.wrapAction(R.bind(this,!0)),this.unselect=this.ctx.driver.wrapAction(R.bind(this,!1)),this.base=z.bind(this,`.base`),this.dismissButton=z.bind(this,`.dismiss-button`)}},Ta=class extends t{constructor(...e){super(...e),this.componentInfo=Ca,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new wa(this.ctx,e)}},Ea=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.notToBeDisabled=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:x},!1,`notToBeDisabled()`)),this.toBeDisabled=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:x},!0,`toBeDisabled()`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toBeSelected=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:b},!0,`toBeSelected()`)),this.toBeUnselected=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:b},!1,`toBeUnselected()`))}},Da={name:`tag-group`},Oa=class extends e{constructor(...e){super(...e),this.type=`tagGroup`,this.componentInfo=Da,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},ka=class extends t{constructor(...e){super(...e),this.componentInfo=Da,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Oa(this.ctx,e)}},Aa=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ja={name:`text-area`},Ma=class extends e{constructor(...e){super(...e),this.type=`textArea`,this.componentInfo=ja,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(T.bind(this,()=>this.control())),this.fill=this.ctx.driver.wrapAction(w.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.control=z.bind(this,`.control`)}},Na=class extends t{constructor(...e){super(...e),this.componentInfo=ja,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ma(this.ctx,e)}},Pa=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},Fa={name:`text-field`},Ia=class extends e{constructor(...e){super(...e),this.type=`textField`,this.componentInfo=Fa,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.control())),this.clear=this.ctx.driver.wrapAction(T.bind(this,()=>this.control())),this.fill=this.ctx.driver.wrapAction(w.bind(this,()=>this.control())),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.control=xe.bind(this,`input[slot="_control"]`)}},La=class extends t{constructor(...e){super(...e),this.componentInfo=Fa,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ia(this.ctx,e)}},Ra=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})")),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},za={name:`time-picker`},Ba=class extends e{constructor(...e){super(...e),this.type=`timePicker`,this.componentInfo=za,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(N.bind(this)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator)),this.selectTime=this.ctx.driver.wrapAction(he.bind(this)),this.clearButton=B.bind(this,`#clear-button`),this.control=V.bind(this,`[data-vvd-component=text-field].control`),this.pickerButton=B.bind(this,`#picker-button`)}},Va=class extends t{constructor(...e){super(...e),this.componentInfo=za,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ba(this.ctx,e)}},Ha=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveValue=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:h},e,"toHaveValue(${value})")),this.toHaveVisibleError=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:f},e,"toHaveVisibleError(${value})"))}},Ua={name:`toggletip`},Wa=class extends e{constructor(...e){super(...e),this.type=`toggletip`,this.componentInfo=Ua,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ga=class extends t{constructor(...e){super(...e),this.componentInfo=Ua,this.byHeadline=this.ctx.driver.wrapSelector(s.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Wa(this.ctx,e)}},Ka=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!1,`toBeClosed()`)),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!0,`toBeOpen()`))}},qa={name:`tooltip`},Ja=class extends e{constructor(...e){super(...e),this.type=`tooltip`,this.componentInfo=qa,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},Ya=class extends t{constructor(...e){super(...e),this.componentInfo=qa,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this)),this.byText=this.ctx.driver.wrapSelector(c.bind(this))}wrap(e){return new Ja(this.ctx,e)}},Xa=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toBeClosed=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!1,`toBeClosed()`)),this.toBeOpen=this.ctx.driver.wrapExpect(()=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:m},!0,`toBeOpen()`))}},Za={name:`tree-item`},Qa=class extends e{constructor(...e){super(...e),this.type=`treeItem`,this.componentInfo=Za,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},$a=class extends t{constructor(...e){super(...e),this.componentInfo=Za,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Qa(this.ctx,e)}},eo=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`)),this.toHaveIcon=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:S},e,"toHaveIcon(${value})"))}},to={name:`tree-view`},no=class extends e{constructor(...e){super(...e),this.type=`treeView`,this.componentInfo=to,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},ro=class extends t{constructor(...e){super(...e),this.componentInfo=to,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new no(this.ctx,e)}},io=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}},$={name:`video-player`},ao=class extends e{constructor(...e){super(...e),this.type=`videoPlayer`,this.componentInfo=$,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.focus=this.ctx.driver.wrapAction(E.bind(this,()=>this.locator)),this.hover=this.ctx.driver.wrapAction(O.bind(this,()=>this.locator))}},oo=class extends t{constructor(...e){super(...e),this.componentInfo=$,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ao(this.ctx,e)}},so={collection:r,accordion:Te,accordionItem:Oe,actionGroup:je,alert:Pe,audioPlayer:Le,avatar:Be,badge:Ue,banner:Ke,breadcrumb:Ye,breadcrumbItem:Qe,button:tt,calendar:at,calendarEvent:lt,card:pt,checkbox:_t,colorPicker:xt,combobox:Tt,contextualHelp:kt,country:Nt,dataGrid:Lt,dataGridCell:Vt,dataGridRow:Gt,datePicker:Yt,dateRangePicker:$t,dateTimePicker:rn,dialPad:cn,dialog:fn,divider:gn,emptyState:bn,fab:wn,filePicker:On,header:Mn,icon:In,layout:Bn,menu:Wn,menuItem:Jn,nav:Qn,navDisclosure:nr,navItem:or,note:ur,numberField:mr,option:vr,pagination:Sr,popover:Er,progress:Ar,progressRing:Pr,radio:Rr,radioGroup:Hr,rangeSlider:Kr,richTextEditor:Xr,richTextView:ei,searchableSelect:ii,select:ci,selectableBox:fi,sideDrawer:gi,simpleColorPicker:bi,slider:wi,splitButton:Oi,status:Mi,switch:Ii,tab:Bi,tabPanel:Wi,table:Ji,tableBody:Qi,tableCell:na,tableHead:oa,tableHeaderCell:ua,tableRow:ma,tableSortingButton:va,tabs:Sa,tag:Ea,tagGroup:Aa,textArea:Pa,textField:Ra,timePicker:Ha,toggletip:Ka,tooltip:Xa,treeItem:eo,treeView:io,videoPlayer:class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=this.ctx.driver.wrapExpect((e,t)=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:(e,t)=>e[t],arg:e},t,`toHaveProp("${e}", ${t})`))}}},co=class{constructor(e){this.ctx=e,this.accordion=new we(this.ctx),this.accordionItem=new De(this.ctx),this.actionGroup=new Ae(this.ctx),this.alert=new Ne(this.ctx),this.audioPlayer=new Ie(this.ctx),this.avatar=new ze(this.ctx),this.badge=new He(this.ctx),this.banner=new Ge(this.ctx),this.breadcrumb=new Je(this.ctx),this.breadcrumbItem=new Ze(this.ctx),this.button=new et(this.ctx),this.calendar=new it(this.ctx),this.calendarEvent=new ct(this.ctx),this.card=new ft(this.ctx),this.checkbox=new gt(this.ctx),this.colorPicker=new bt(this.ctx),this.combobox=new wt(this.ctx),this.contextualHelp=new Ot(this.ctx),this.country=new Mt(this.ctx),this.dataGrid=new It(this.ctx),this.dataGridCell=new Bt(this.ctx),this.dataGridRow=new Wt(this.ctx),this.datePicker=new Jt(this.ctx),this.dateRangePicker=new Qt(this.ctx),this.dateTimePicker=new nn(this.ctx),this.dialPad=new sn(this.ctx),this.dialog=new dn(this.ctx),this.divider=new hn(this.ctx),this.emptyState=new yn(this.ctx),this.fab=new Cn(this.ctx),this.filePicker=new Dn(this.ctx),this.header=new jn(this.ctx),this.icon=new Fn(this.ctx),this.layout=new zn(this.ctx),this.menu=new Un(this.ctx),this.menuItem=new qn(this.ctx),this.nav=new Zn(this.ctx),this.navDisclosure=new tr(this.ctx),this.navItem=new ar(this.ctx),this.note=new lr(this.ctx),this.numberField=new pr(this.ctx),this.option=new _r(this.ctx),this.pagination=new xr(this.ctx),this.popover=new Tr(this.ctx),this.progress=new kr(this.ctx),this.progressRing=new Nr(this.ctx),this.radio=new Lr(this.ctx),this.radioGroup=new Vr(this.ctx),this.rangeSlider=new Gr(this.ctx),this.richTextEditor=new Yr(this.ctx),this.richTextView=new $r(this.ctx),this.searchableSelect=new ri(this.ctx),this.select=new si(this.ctx),this.selectableBox=new di(this.ctx),this.sideDrawer=new hi(this.ctx),this.simpleColorPicker=new yi(this.ctx),this.slider=new Ci(this.ctx),this.splitButton=new Di(this.ctx),this.status=new ji(this.ctx),this.switch=new Fi(this.ctx),this.tab=new zi(this.ctx),this.tabPanel=new Ui(this.ctx),this.table=new qi(this.ctx),this.tableBody=new Zi(this.ctx),this.tableCell=new ta(this.ctx),this.tableHead=new aa(this.ctx),this.tableHeaderCell=new la(this.ctx),this.tableRow=new pa(this.ctx),this.tableSortingButton=new _a(this.ctx),this.tabs=new xa(this.ctx),this.tag=new Ta(this.ctx),this.tagGroup=new ka(this.ctx),this.textArea=new Na(this.ctx),this.textField=new La(this.ctx),this.timePicker=new Va(this.ctx),this.toggletip=new Ga(this.ctx),this.tooltip=new Ya(this.ctx),this.treeItem=new $a(this.ctx),this.treeView=new ro(this.ctx),this.videoPlayer=new oo(this.ctx)}expect(e){if(e.type in so)return new so[e.type](this.ctx,e);throw Error(`Unknown component type: ${e.type}`)}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return co}});
@@ -1,6 +1,6 @@
1
1
  import { DriverT } from './drivers/driver';
2
2
  import { BaseComponent, BaseWrapper, ComponentCollectionExpectations, ComponentCollectionLocator, Context } from './base';
3
- import { VwcAccordionElement, VwcAccordionItemElement, VwcActionGroupElement, VwcAlertElement, VwcAudioPlayerElement, VwcAvatarElement, VwcBadgeElement, VwcBannerElement, VwcBreadcrumbElement, VwcBreadcrumbItemElement, VwcButtonElement, VwcCalendarElement, VwcCalendarEventElement, VwcCardElement, VwcCheckboxElement, VwcColorPickerElement, VwcComboboxElement, VwcContextualHelpElement, VwcCountryElement, VwcDataGridElement, VwcDataGridCellElement, VwcDataGridRowElement, VwcDatePickerElement, VwcDateRangePickerElement, VwcDateTimePickerElement, VwcDialPadElement, VwcDialogElement, VwcDividerElement, VwcEmptyStateElement, VwcFabElement, VwcFilePickerElement, VwcHeaderElement, VwcIconElement, VwcLayoutElement, VwcMenuElement, VwcMenuItemElement, VwcNavElement, VwcNavDisclosureElement, VwcNavItemElement, VwcNoteElement, VwcNumberFieldElement, VwcOptionElement, VwcPaginationElement, VwcPopoverElement, VwcProgressElement, VwcProgressRingElement, VwcRadioElement, VwcRadioGroupElement, VwcRangeSliderElement, VwcRichTextEditorElement, VwcRichTextViewElement, VwcSearchableSelectElement, VwcSelectElement, VwcSelectableBoxElement, VwcSideDrawerElement, VwcSimpleColorPickerElement, VwcSliderElement, VwcSplitButtonElement, VwcStatusElement, VwcSwitchElement, VwcTabElement, VwcTabPanelElement, VwcTableElement, VwcTableBodyElement, VwcTableCellElement, VwcTableHeadElement, VwcTableHeaderCellElement, VwcTableRowElement, VwcTabsElement, VwcTagElement, VwcTagGroupElement, VwcTextAreaElement, VwcTextFieldElement, VwcTimePickerElement, VwcToggletipElement, VwcTooltipElement, VwcTreeItemElement, VwcTreeViewElement, VwcVideoPlayerElement, RteInstance, RteView } from '@vonage/vivid';
3
+ import { VwcAccordionElement, VwcAccordionItemElement, VwcActionGroupElement, VwcAlertElement, VwcAudioPlayerElement, VwcAvatarElement, VwcBadgeElement, VwcBannerElement, VwcBreadcrumbElement, VwcBreadcrumbItemElement, VwcButtonElement, VwcCalendarElement, VwcCalendarEventElement, VwcCardElement, VwcCheckboxElement, VwcColorPickerElement, VwcComboboxElement, VwcContextualHelpElement, VwcCountryElement, VwcDataGridElement, VwcDataGridCellElement, VwcDataGridRowElement, VwcDatePickerElement, VwcDateRangePickerElement, VwcDateTimePickerElement, VwcDialPadElement, VwcDialogElement, VwcDividerElement, VwcEmptyStateElement, VwcFabElement, VwcFilePickerElement, VwcHeaderElement, VwcIconElement, VwcLayoutElement, VwcMenuElement, VwcMenuItemElement, VwcNavElement, VwcNavDisclosureElement, VwcNavItemElement, VwcNoteElement, VwcNumberFieldElement, VwcOptionElement, VwcPaginationElement, VwcPopoverElement, VwcProgressElement, VwcProgressRingElement, VwcRadioElement, VwcRadioGroupElement, VwcRangeSliderElement, VwcRichTextEditorElement, VwcRichTextViewElement, VwcSearchableSelectElement, VwcSelectElement, VwcSelectableBoxElement, VwcSideDrawerElement, VwcSimpleColorPickerElement, VwcSliderElement, VwcSplitButtonElement, VwcStatusElement, VwcSwitchElement, VwcTabElement, VwcTabPanelElement, VwcTableElement, VwcTableBodyElement, VwcTableCellElement, VwcTableHeadElement, VwcTableHeaderCellElement, VwcTableRowElement, VwcTableSortingButtonElement, VwcTabsElement, VwcTagElement, VwcTagGroupElement, VwcTextAreaElement, VwcTextFieldElement, VwcTimePickerElement, VwcToggletipElement, VwcTooltipElement, VwcTreeItemElement, VwcTreeViewElement, VwcVideoPlayerElement, RteInstance, RteView } from '@vonage/vivid';
4
4
  type IconId = string;
5
5
  type AccordionProps = {
6
6
  expandMode: 'single' | 'multi';
@@ -244,8 +244,6 @@ export declare class BadgeExpectations<D extends DriverT> {
244
244
  toHaveIcon: (value: any) => D["expectReturn"];
245
245
  }
246
246
  type BannerProps = {
247
- actionHref: string;
248
- actionText: string;
249
247
  connotation: 'success' | 'alert' | 'warning' | 'information' | 'announcement';
250
248
  dismissAriaLabel: string;
251
249
  icon: IconId;
@@ -967,6 +965,7 @@ type DialPadProps = {
967
965
  pattern: string;
968
966
  pending: boolean;
969
967
  placeholder: string;
968
+ size: 'condensed' | 'normal';
970
969
  value: string;
971
970
  };
972
971
  export declare class DialPadWrapper<D extends DriverT> extends BaseWrapper<D, VwcDialPadElement> {
@@ -1527,6 +1526,7 @@ export declare class NumberFieldExpectations<D extends DriverT> {
1527
1526
  }
1528
1527
  type OptionProps = {
1529
1528
  checked: false | true;
1529
+ connotation: 'accent' | 'cta';
1530
1530
  defaultSelected: boolean;
1531
1531
  disabled: boolean;
1532
1532
  icon: IconId;
@@ -2425,6 +2425,31 @@ export declare class TableRowExpectations<D extends DriverT> {
2425
2425
  constructor(ctx: Context<D>, wrapper: TableRowWrapper<D>);
2426
2426
  toHaveProp: (propName: never, value: never) => never;
2427
2427
  }
2428
+ type TableSortingButtonProps = {
2429
+ direction: 'none' | 'desc' | 'asc';
2430
+ };
2431
+ export declare class TableSortingButtonWrapper<D extends DriverT> extends BaseWrapper<D, VwcTableSortingButtonElement> {
2432
+ type: "tableSortingButton";
2433
+ componentInfo: {
2434
+ name: string;
2435
+ };
2436
+ blur: () => D["actionReturn"];
2437
+ focus: () => D["actionReturn"];
2438
+ hover: () => D["actionReturn"];
2439
+ }
2440
+ export declare class TableSortingButton<D extends DriverT> extends BaseComponent<D, TableSortingButtonWrapper<D>> {
2441
+ componentInfo: {
2442
+ name: string;
2443
+ };
2444
+ wrap(locator: D['locator']): TableSortingButtonWrapper<D>;
2445
+ byTestId: (id: string) => TableSortingButtonWrapper<D>;
2446
+ }
2447
+ export declare class TableSortingButtonExpectations<D extends DriverT> {
2448
+ private readonly ctx;
2449
+ private readonly wrapper;
2450
+ constructor(ctx: Context<D>, wrapper: TableSortingButtonWrapper<D>);
2451
+ toHaveProp: <T extends keyof TableSortingButtonProps>(propName: T, value: TableSortingButtonProps[T]) => D["expectReturn"];
2452
+ }
2428
2453
  type TabsProps = {
2429
2454
  activeid: string;
2430
2455
  activeindicator: boolean;
@@ -2890,6 +2915,7 @@ type Expectations<D extends DriverT> = {
2890
2915
  tableHead: TableHeadExpectations<D>;
2891
2916
  tableHeaderCell: TableHeaderCellExpectations<D>;
2892
2917
  tableRow: TableRowExpectations<D>;
2918
+ tableSortingButton: TableSortingButtonExpectations<D>;
2893
2919
  tabs: TabsExpectations<D>;
2894
2920
  tag: TagExpectations<D>;
2895
2921
  tagGroup: TagGroupExpectations<D>;
@@ -2977,6 +3003,7 @@ export declare class VividWrapper<D extends DriverT> {
2977
3003
  tableHead: TableHead<D>;
2978
3004
  tableHeaderCell: TableHeaderCell<D>;
2979
3005
  tableRow: TableRow<D>;
3006
+ tableSortingButton: TableSortingButton<D>;
2980
3007
  tabs: Tabs<D>;
2981
3008
  tag: Tag<D>;
2982
3009
  tagGroup: TagGroup<D>;
package/dist/cypress.cjs CHANGED
@@ -1,3 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./components.generated-DfmxVXP1.cjs"),w=async()=>new Promise(i=>requestAnimationFrame(()=>i())),k=i=>{const u=r=>r===i;let n;const l=r=>{const t=n;return((...a)=>{const e=window.Error;window.Error=class extends Error{constructor(o){super(o),o==="userInvocationStack"&&(this.stack=t)}static captureStackTrace(o,c){o.message!=="userInvocationStack"&&super.captureStackTrace(o,c)}};try{return r(...a)}finally{window.Error=e}})};return{querySelector:(r,t)=>l(()=>u(r)?r.get(t):r().find(t)),enterShadow:r=>l(()=>r().shadow()),querySelectorAll:(r,t)=>l(()=>u(r)?r.get(t):r().find(t)),nth:(r,t)=>l(()=>r().eq(t)),userClick:r=>r().click(),userClear:r=>r().clear(),userFocus:r=>r().focus(),userBlur:r=>r().blur(),userHover:r=>r().then(t=>t.get(0).dispatchEvent(new MouseEvent("mouseover"))),userFill:(r,t)=>t===""?r().clear():r().clear().type(t),userDragSlider:(r,t,a,e)=>{r().then(s=>{a().then(async o=>{const c=s.get(0),p=o.get(0);p.id==="start-thumb"?(c.startAsNumber=e,c.$emit("input:start"),c.$emit("input")):p.id==="end-thumb"?(c.endAsNumber=e,c.$emit("input:end"),c.$emit("input")):c.valueAsNumber=e,await w()})})},eval:(r,t,a,e)=>{const s=n;r().then(async o=>{n=s;try{const c=await t(o.get(0),a);await e?.(c)}finally{n=void 0}})},waitForUpdate(r){r().then(()=>new Promise(t=>{requestAnimationFrame(()=>{t()})}))},expectEq:(r,t,a)=>{const e=n;switch(r.type){case"eval":r.el().should(s=>{try{expect(r.fn(s.get(0),r.arg)).to.deep.equal(t)}catch(o){const c=new Error(`${a}
2
-
3
- Original error: ${o.message}`);throw e&&(c.stack=e),c}});break;case"count":r.el().should("have.length",t);break}},wrapAction:r=>function t(...a){if(!n){const e=new Error;Error.captureStackTrace(e,t),n=e.stack}try{return r(...a)}finally{n=void 0}},wrapExpect:r=>function t(...a){if(!n){const e=new Error;Error.captureStackTrace(e,t),n=e.stack}try{return r(...a)}finally{n=void 0}},wrapSelector:r=>function t(...a){if(!n){const e=new Error;Error.captureStackTrace(e,t),n=e.stack}try{return r(...a)}finally{n=void 0}}}},v=i=>{const u={rootLocator:i,driver:k(i)};return new d.VividWrapper(u)};exports.vividCypress=v;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./components.generated-DG8EN6bP.cjs`);var t=async()=>new Promise(e=>requestAnimationFrame(()=>e())),n=e=>{let n=t=>t===e,r,i=e=>{let t=r;return((...n)=>{let r=window.Error;window.Error=class extends Error{constructor(e){super(e),e===`userInvocationStack`&&(this.stack=t)}static captureStackTrace(e,t){e.message!==`userInvocationStack`&&super.captureStackTrace(e,t)}};try{return e(...n)}finally{window.Error=r}})};return{querySelector:(e,t)=>i(()=>n(e)?e.get(t):e().find(t)),enterShadow:e=>i(()=>e().shadow()),querySelectorAll:(e,t)=>i(()=>n(e)?e.get(t):e().find(t)),nth:(e,t)=>i(()=>e().eq(t)),userClick:e=>e().click(),userClear:e=>e().clear(),userFocus:e=>e().focus(),userBlur:e=>e().blur(),userHover:e=>e().then(e=>e.get(0).dispatchEvent(new MouseEvent(`mouseover`))),userFill:(e,t)=>t===``?e().clear():e().clear().type(t),userDragSlider:(e,n,r,i)=>{e().then(e=>{r().then(async n=>{let r=e.get(0),a=n.get(0);a.id===`start-thumb`?(r.startAsNumber=i,r.$emit(`input:start`),r.$emit(`input`)):a.id===`end-thumb`?(r.endAsNumber=i,r.$emit(`input:end`),r.$emit(`input`)):r.valueAsNumber=i,await t()})})},eval:(e,t,n,i)=>{let a=r;e().then(async e=>{r=a;try{let r=await t(e.get(0),n);await i?.(r)}finally{r=void 0}})},waitForUpdate(e){e().then(()=>new Promise(e=>{requestAnimationFrame(()=>{e()})}))},expectEq:(e,t,n)=>{let i=r;switch(e.type){case`eval`:e.el().should(r=>{try{expect(e.fn(r.get(0),e.arg)).to.deep.equal(t)}catch(e){let t=Error(`${n}\n\nOriginal error: ${e.message}`);throw i&&(t.stack=i),t}});break;case`count`:e.el().should(`have.length`,t);break}},wrapAction:e=>function t(...n){if(!r){let e=Error();Error.captureStackTrace(e,t),r=e.stack}try{return e(...n)}finally{r=void 0}},wrapExpect:e=>function t(...n){if(!r){let e=Error();Error.captureStackTrace(e,t),r=e.stack}try{return e(...n)}finally{r=void 0}},wrapSelector:e=>function t(...n){if(!r){let e=Error();Error.captureStackTrace(e,t),r=e.stack}try{return e(...n)}finally{r=void 0}}}},r=t=>new e.t({rootLocator:t,driver:n(t)});exports.vividCypress=r;
package/dist/cypress.js CHANGED
@@ -1,133 +1,118 @@
1
- import { V as w } from "./components.generated-CGHMGSPz.js";
2
- const d = async () => new Promise((i) => requestAnimationFrame(() => i())), k = (i) => {
3
- const u = (r) => r === i;
4
- let n;
5
- const l = (r) => {
6
- const t = n;
7
- return ((...c) => {
8
- const e = window.Error;
9
- window.Error = class extends Error {
10
- constructor(o) {
11
- super(o), o === "userInvocationStack" && (this.stack = t);
12
- }
13
- static captureStackTrace(o, a) {
14
- o.message !== "userInvocationStack" && super.captureStackTrace(o, a);
15
- }
16
- };
17
- try {
18
- return r(...c);
19
- } finally {
20
- window.Error = e;
21
- }
22
- });
23
- };
24
- return {
25
- querySelector: (r, t) => l(
26
- () => u(r) ? r.get(t) : r().find(t)
27
- ),
28
- enterShadow: (r) => l(() => r().shadow()),
29
- querySelectorAll: (r, t) => l(
30
- () => u(r) ? r.get(t) : r().find(t)
31
- ),
32
- nth: (r, t) => l(() => r().eq(t)),
33
- userClick: (r) => r().click(),
34
- userClear: (r) => r().clear(),
35
- userFocus: (r) => r().focus(),
36
- userBlur: (r) => r().blur(),
37
- userHover: (r) => r().then((t) => t.get(0).dispatchEvent(new MouseEvent("mouseover"))),
38
- userFill: (r, t) => t === "" ? r().clear() : r().clear().type(t),
39
- userDragSlider: (r, t, c, e) => {
40
- r().then((s) => {
41
- c().then(async (o) => {
42
- const a = s.get(0), p = o.get(0);
43
- p.id === "start-thumb" ? (a.startAsNumber = e, a.$emit("input:start"), a.$emit("input")) : p.id === "end-thumb" ? (a.endAsNumber = e, a.$emit("input:end"), a.$emit("input")) : a.valueAsNumber = e, await d();
44
- });
45
- });
46
- },
47
- eval: (r, t, c, e) => {
48
- const s = n;
49
- r().then(async (o) => {
50
- n = s;
51
- try {
52
- const a = await t(o.get(0), c);
53
- await e?.(a);
54
- } finally {
55
- n = void 0;
56
- }
57
- });
58
- },
59
- waitForUpdate(r) {
60
- r().then(() => new Promise((t) => {
61
- requestAnimationFrame(() => {
62
- t();
63
- });
64
- }));
65
- },
66
- expectEq: (r, t, c) => {
67
- const e = n;
68
- switch (r.type) {
69
- case "eval":
70
- r.el().should((s) => {
71
- try {
72
- expect(
73
- r.fn(s.get(0), r.arg)
74
- ).to.deep.equal(t);
75
- } catch (o) {
76
- const a = new Error(
77
- `${c}
78
-
79
- Original error: ${o.message}`
80
- );
81
- throw e && (a.stack = e), a;
82
- }
83
- });
84
- break;
85
- case "count":
86
- r.el().should("have.length", t);
87
- break;
88
- }
89
- },
90
- wrapAction: (r) => function t(...c) {
91
- if (!n) {
92
- const e = new Error();
93
- Error.captureStackTrace(e, t), n = e.stack;
94
- }
95
- try {
96
- return r(...c);
97
- } finally {
98
- n = void 0;
99
- }
100
- },
101
- wrapExpect: (r) => function t(...c) {
102
- if (!n) {
103
- const e = new Error();
104
- Error.captureStackTrace(e, t), n = e.stack;
105
- }
106
- try {
107
- return r(...c);
108
- } finally {
109
- n = void 0;
110
- }
111
- },
112
- wrapSelector: (r) => function t(...c) {
113
- if (!n) {
114
- const e = new Error();
115
- Error.captureStackTrace(e, t), n = e.stack;
116
- }
117
- try {
118
- return r(...c);
119
- } finally {
120
- n = void 0;
121
- }
122
- }
123
- };
124
- }, v = (i) => {
125
- const u = {
126
- rootLocator: i,
127
- driver: k(i)
128
- };
129
- return new w(u);
130
- };
131
- export {
132
- v as vividCypress
133
- };
1
+ import { t as e } from "./components.generated-Bs-nWVke.js";
2
+ //#region src/drivers/cypress.ts
3
+ var t = async () => new Promise((e) => requestAnimationFrame(() => e())), n = (e) => {
4
+ let n = (t) => t === e, r, i = (e) => {
5
+ let t = r;
6
+ return ((...n) => {
7
+ let r = window.Error;
8
+ window.Error = class extends Error {
9
+ constructor(e) {
10
+ super(e), e === "userInvocationStack" && (this.stack = t);
11
+ }
12
+ static captureStackTrace(e, t) {
13
+ e.message !== "userInvocationStack" && super.captureStackTrace(e, t);
14
+ }
15
+ };
16
+ try {
17
+ return e(...n);
18
+ } finally {
19
+ window.Error = r;
20
+ }
21
+ });
22
+ };
23
+ return {
24
+ querySelector: (e, t) => i(() => n(e) ? e.get(t) : e().find(t)),
25
+ enterShadow: (e) => i(() => e().shadow()),
26
+ querySelectorAll: (e, t) => i(() => n(e) ? e.get(t) : e().find(t)),
27
+ nth: (e, t) => i(() => e().eq(t)),
28
+ userClick: (e) => e().click(),
29
+ userClear: (e) => e().clear(),
30
+ userFocus: (e) => e().focus(),
31
+ userBlur: (e) => e().blur(),
32
+ userHover: (e) => e().then((e) => e.get(0).dispatchEvent(new MouseEvent("mouseover"))),
33
+ userFill: (e, t) => t === "" ? e().clear() : e().clear().type(t),
34
+ userDragSlider: (e, n, r, i) => {
35
+ e().then((e) => {
36
+ r().then(async (n) => {
37
+ let r = e.get(0), a = n.get(0);
38
+ a.id === "start-thumb" ? (r.startAsNumber = i, r.$emit("input:start"), r.$emit("input")) : a.id === "end-thumb" ? (r.endAsNumber = i, r.$emit("input:end"), r.$emit("input")) : r.valueAsNumber = i, await t();
39
+ });
40
+ });
41
+ },
42
+ eval: (e, t, n, i) => {
43
+ let a = r;
44
+ e().then(async (e) => {
45
+ r = a;
46
+ try {
47
+ let r = await t(e.get(0), n);
48
+ await i?.(r);
49
+ } finally {
50
+ r = void 0;
51
+ }
52
+ });
53
+ },
54
+ waitForUpdate(e) {
55
+ e().then(() => new Promise((e) => {
56
+ requestAnimationFrame(() => {
57
+ e();
58
+ });
59
+ }));
60
+ },
61
+ expectEq: (e, t, n) => {
62
+ let i = r;
63
+ switch (e.type) {
64
+ case "eval":
65
+ e.el().should((r) => {
66
+ try {
67
+ expect(e.fn(r.get(0), e.arg)).to.deep.equal(t);
68
+ } catch (e) {
69
+ let t = /* @__PURE__ */ Error(`${n}\n\nOriginal error: ${e.message}`);
70
+ throw i && (t.stack = i), t;
71
+ }
72
+ });
73
+ break;
74
+ case "count":
75
+ e.el().should("have.length", t);
76
+ break;
77
+ }
78
+ },
79
+ wrapAction: (e) => function t(...n) {
80
+ if (!r) {
81
+ let e = /* @__PURE__ */ Error();
82
+ Error.captureStackTrace(e, t), r = e.stack;
83
+ }
84
+ try {
85
+ return e(...n);
86
+ } finally {
87
+ r = void 0;
88
+ }
89
+ },
90
+ wrapExpect: (e) => function t(...n) {
91
+ if (!r) {
92
+ let e = /* @__PURE__ */ Error();
93
+ Error.captureStackTrace(e, t), r = e.stack;
94
+ }
95
+ try {
96
+ return e(...n);
97
+ } finally {
98
+ r = void 0;
99
+ }
100
+ },
101
+ wrapSelector: (e) => function t(...n) {
102
+ if (!r) {
103
+ let e = /* @__PURE__ */ Error();
104
+ Error.captureStackTrace(e, t), r = e.stack;
105
+ }
106
+ try {
107
+ return e(...n);
108
+ } finally {
109
+ r = void 0;
110
+ }
111
+ }
112
+ };
113
+ }, r = (t) => new e({
114
+ rootLocator: t,
115
+ driver: n(t)
116
+ });
117
+ //#endregion
118
+ export { r as vividCypress };
package/dist/dom.cjs CHANGED
@@ -1,3 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./components.generated-DfmxVXP1.cjs"),w=require("@testing-library/user-event"),o=()=>new Promise(c=>{requestAnimationFrame(()=>c())}),l=c=>{const i=w.setup(),s=async r=>{r.focus(),r.value="",r.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))};return{querySelector:(r,t)=>{const a=r.querySelector(t);if(!a)throw new Error(`Could not find element: ${t}`);return a},enterShadow(r){if(!r.shadowRoot)throw new Error(`Element ${r.outerHTML} does not have a shadow root`);return r.shadowRoot},querySelectorAll:(r,t)=>r?Array.from(r.querySelectorAll(t)):[],nth:(r,t)=>{if(t<0||t>r.length-1)throw new Error(`Could not find element with index "${t}". Collection only has "${r.length}" elements.`);return r[t]},userClick:async r=>{await i.click(r),await o()},userFill:async(r,t)=>{await s(r),t&&await i.type(r,t),await o()},userClear:async r=>{await s(r),await o()},userFocus:async r=>{r.focus(),await o()},userBlur:async r=>{r.blur(),(r.tagName==="INPUT"||r.tagName==="TEXTAREA")&&r.dispatchEvent(new InputEvent("change",{bubbles:!0,composed:!0})),await o()},userHover:async r=>{await i.hover(r),await o()},userDragSlider:async(r,t,a,e)=>{if(a.id==="start-thumb"){const n=r;n.startAsNumber=e,n.$emit("input:start"),n.$emit("input")}else if(a.id==="end-thumb"){const n=r;n.endAsNumber=e,n.$emit("input:end"),n.$emit("input")}else{const n=r;n.valueAsNumber=e}await o()},eval:async(r,t,a,e)=>{const n=await t(r,a);await e?.(n)},waitForUpdate:async()=>{await o()},expectEq:(r,t,a)=>{switch(r.type){case"eval":try{c(r.fn(r.el,r.arg)).toEqual(t)}catch(e){throw e instanceof Error&&(e.message=`${a}
2
-
3
- Original error: ${e.message}`),e}break;case"count":c(r.el.length).toEqual(t);break}},wrapAction:r=>async function t(...a){try{return await r(...a)}catch(e){throw e instanceof Error&&Error.captureStackTrace(e,t),e}},wrapExpect:r=>function t(...a){try{return r(...a)}catch(e){throw e instanceof Error&&Error.captureStackTrace(e,t),e}},wrapSelector:r=>function t(...a){try{return r(...a)}catch(e){throw e instanceof Error&&Error.captureStackTrace(e,t),e}}}},p=(c,i)=>{const s={rootLocator:i,driver:l(c)};return new u.VividWrapper(s)};exports.vividDOM=p;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));const c=require(`./components.generated-DG8EN6bP.cjs`);let l=require(`@testing-library/user-event`);l=s(l);var u=()=>new Promise(e=>{requestAnimationFrame(()=>e())}),d=e=>{let t=l.default.setup(),n=async e=>{e.focus(),e.value=``,e.dispatchEvent(new InputEvent(`input`,{bubbles:!0,composed:!0}))};return{querySelector:(e,t)=>{let n=e.querySelector(t);if(!n)throw Error(`Could not find element: ${t}`);return n},enterShadow(e){if(!e.shadowRoot)throw Error(`Element ${e.outerHTML} does not have a shadow root`);return e.shadowRoot},querySelectorAll:(e,t)=>e?Array.from(e.querySelectorAll(t)):[],nth:(e,t)=>{if(t<0||t>e.length-1)throw Error(`Could not find element with index "${t}". Collection only has "${e.length}" elements.`);return e[t]},userClick:async e=>{await t.click(e),await u()},userFill:async(e,r)=>{await n(e),r&&await t.type(e,r),await u()},userClear:async e=>{await n(e),await u()},userFocus:async e=>{e.focus(),await u()},userBlur:async e=>{e.blur(),(e.tagName===`INPUT`||e.tagName===`TEXTAREA`)&&e.dispatchEvent(new InputEvent(`change`,{bubbles:!0,composed:!0})),await u()},userHover:async e=>{await t.hover(e),await u()},userDragSlider:async(e,t,n,r)=>{if(n.id===`start-thumb`){let t=e;t.startAsNumber=r,t.$emit(`input:start`),t.$emit(`input`)}else if(n.id===`end-thumb`){let t=e;t.endAsNumber=r,t.$emit(`input:end`),t.$emit(`input`)}else{let t=e;t.valueAsNumber=r}await u()},eval:async(e,t,n,r)=>{let i=await t(e,n);await r?.(i)},waitForUpdate:async()=>{await u()},expectEq:(t,n,r)=>{switch(t.type){case`eval`:try{e(t.fn(t.el,t.arg)).toEqual(n)}catch(e){throw e instanceof Error&&(e.message=`${r}\n\nOriginal error: ${e.message}`),e}break;case`count`:e(t.el.length).toEqual(n);break}},wrapAction:e=>async function t(...n){try{return await e(...n)}catch(e){throw e instanceof Error&&Error.captureStackTrace(e,t),e}},wrapExpect:e=>function t(...n){try{return e(...n)}catch(e){throw e instanceof Error&&Error.captureStackTrace(e,t),e}},wrapSelector:e=>function t(...n){try{return e(...n)}catch(e){throw e instanceof Error&&Error.captureStackTrace(e,t),e}}}},f=(e,t)=>new c.t({rootLocator:t,driver:d(e)});exports.t=s,exports.vividDOM=f;