@vonage/vivid-test-utils 5.18.0 → 5.20.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.
- package/dist/components.generated-D1Yu4h3L.cjs +1 -0
- package/dist/{components.generated-I2dbgH3K.js → components.generated-DolPmkvq.js} +579 -522
- package/dist/components.generated.d.ts +81 -2
- package/dist/cypress.cjs +1 -1
- package/dist/cypress.js +1 -1
- package/dist/dom.cjs +1 -1
- package/dist/dom.js +1 -1
- package/dist/playwright.cjs +1 -1
- package/dist/playwright.js +1 -1
- package/package.json +12 -12
- package/dist/components.generated-COkF2wRg.cjs +0 -1
|
@@ -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, VwcCountryGroupElement, VwcDataGridElement, VwcDataGridCellElement, VwcDataGridRowElement, VwcDatePickerElement, VwcDateRangePickerElement, VwcDateTimePickerElement, VwcDialPadElement, VwcDialogElement, VwcDividerElement, VwcEmptyStateElement, VwcFabElement, VwcFilePickerElement, VwcFlagElement, 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';
|
|
3
|
+
import { VwcAccordionElement, VwcAccordionItemElement, VwcActionGroupElement, VwcAlertElement, VwcAudioPlayerElement, VwcAvatarElement, VwcBadgeElement, VwcBannerElement, VwcBreadcrumbElement, VwcBreadcrumbItemElement, VwcButtonElement, VwcCalendarElement, VwcCalendarEventElement, VwcCardElement, VwcCheckboxElement, VwcColorPickerElement, VwcComboboxElement, VwcContextualHelpElement, VwcCountryElement, VwcCountryGroupElement, VwcDataGridElement, VwcDataGridCellElement, VwcDataGridRowElement, VwcDatePickerElement, VwcDateRangePickerElement, VwcDateTimePickerElement, VwcDialPadElement, VwcDialogElement, VwcDividerElement, VwcEmptyStateElement, VwcFabElement, VwcFilePickerElement, VwcFlagElement, VwcHeaderElement, VwcIconElement, VwcKbdKeyElement, VwcKbdShortcutElement, VwcLayoutElement, VwcMenuElement, VwcMenuItemElement, VwcNavElement, VwcNavDisclosureElement, VwcNavItemElement, VwcNoteElement, VwcNumberFieldElement, VwcOptionElement, VwcPaginationElement, VwcPlatformSwitchElement, 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';
|
|
@@ -1285,6 +1285,57 @@ export declare class IconExpectations<D extends DriverT> {
|
|
|
1285
1285
|
toHaveProp: <T extends keyof IconProps>(propName: T, value: IconProps[T]) => D["expectReturn"];
|
|
1286
1286
|
toHaveName: (value: any) => D["expectReturn"];
|
|
1287
1287
|
}
|
|
1288
|
+
type KbdKeyProps = {
|
|
1289
|
+
appearance: 'outlined' | 'subtle' | 'dropshadow';
|
|
1290
|
+
keyboard: 'auto' | 'standard' | 'apple';
|
|
1291
|
+
keyshortcutsKey: string;
|
|
1292
|
+
name: 'Alt' | 'Control' | 'Shift' | 'Enter' | 'Tab' | 'Space' | 'Backspace' | 'Escape' | 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight' | 'End' | 'Home' | 'PageUp' | 'PageDown' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'Mod' | 'Custom';
|
|
1293
|
+
size: 'condensed' | 'normal' | 'expanded' | 'super-condensed';
|
|
1294
|
+
};
|
|
1295
|
+
export declare class KbdKeyWrapper<D extends DriverT> extends BaseWrapper<D, VwcKbdKeyElement> {
|
|
1296
|
+
type: "kbdKey";
|
|
1297
|
+
componentInfo: {
|
|
1298
|
+
name: string;
|
|
1299
|
+
};
|
|
1300
|
+
blur: () => D["actionReturn"];
|
|
1301
|
+
focus: () => D["actionReturn"];
|
|
1302
|
+
hover: () => D["actionReturn"];
|
|
1303
|
+
}
|
|
1304
|
+
export declare class KbdKey<D extends DriverT> extends BaseComponent<D, KbdKeyWrapper<D>> {
|
|
1305
|
+
componentInfo: {
|
|
1306
|
+
name: string;
|
|
1307
|
+
};
|
|
1308
|
+
wrap(locator: D['locator']): KbdKeyWrapper<D>;
|
|
1309
|
+
byTestId: (id: string) => KbdKeyWrapper<D>;
|
|
1310
|
+
}
|
|
1311
|
+
export declare class KbdKeyExpectations<D extends DriverT> {
|
|
1312
|
+
private readonly ctx;
|
|
1313
|
+
private readonly wrapper;
|
|
1314
|
+
constructor(ctx: Context<D>, wrapper: KbdKeyWrapper<D>);
|
|
1315
|
+
toHaveProp: <T extends keyof KbdKeyProps>(propName: T, value: KbdKeyProps[T]) => D["expectReturn"];
|
|
1316
|
+
}
|
|
1317
|
+
export declare class KbdShortcutWrapper<D extends DriverT> extends BaseWrapper<D, VwcKbdShortcutElement> {
|
|
1318
|
+
type: "kbdShortcut";
|
|
1319
|
+
componentInfo: {
|
|
1320
|
+
name: string;
|
|
1321
|
+
};
|
|
1322
|
+
blur: () => D["actionReturn"];
|
|
1323
|
+
focus: () => D["actionReturn"];
|
|
1324
|
+
hover: () => D["actionReturn"];
|
|
1325
|
+
}
|
|
1326
|
+
export declare class KbdShortcut<D extends DriverT> extends BaseComponent<D, KbdShortcutWrapper<D>> {
|
|
1327
|
+
componentInfo: {
|
|
1328
|
+
name: string;
|
|
1329
|
+
};
|
|
1330
|
+
wrap(locator: D['locator']): KbdShortcutWrapper<D>;
|
|
1331
|
+
byTestId: (id: string) => KbdShortcutWrapper<D>;
|
|
1332
|
+
}
|
|
1333
|
+
export declare class KbdShortcutExpectations<D extends DriverT> {
|
|
1334
|
+
private readonly ctx;
|
|
1335
|
+
private readonly wrapper;
|
|
1336
|
+
constructor(ctx: Context<D>, wrapper: KbdShortcutWrapper<D>);
|
|
1337
|
+
toHaveProp: (propName: never, value: never) => never;
|
|
1338
|
+
}
|
|
1288
1339
|
type LayoutProps = {
|
|
1289
1340
|
autoSizing: 'fill' | 'fit';
|
|
1290
1341
|
columnBasis: 'small' | 'medium' | 'large' | 'block';
|
|
@@ -1321,7 +1372,7 @@ type MenuProps = {
|
|
|
1321
1372
|
open: boolean;
|
|
1322
1373
|
placement: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-end' | 'left-start' | 'right-end' | 'right-start';
|
|
1323
1374
|
positionStrategy: 'fixed' | 'absolute';
|
|
1324
|
-
trigger: '
|
|
1375
|
+
trigger: 'auto' | 'off' | 'legacy';
|
|
1325
1376
|
};
|
|
1326
1377
|
export declare class MenuWrapper<D extends DriverT> extends BaseWrapper<D, VwcMenuElement> {
|
|
1327
1378
|
type: "menu";
|
|
@@ -1652,6 +1703,28 @@ export declare class PaginationExpectations<D extends DriverT> {
|
|
|
1652
1703
|
toHaveSelectedPage: (value: any) => D["expectReturn"];
|
|
1653
1704
|
toHaveTotal: (value: any) => D["expectReturn"];
|
|
1654
1705
|
}
|
|
1706
|
+
export declare class PlatformSwitchWrapper<D extends DriverT> extends BaseWrapper<D, VwcPlatformSwitchElement> {
|
|
1707
|
+
type: "platformSwitch";
|
|
1708
|
+
componentInfo: {
|
|
1709
|
+
name: string;
|
|
1710
|
+
};
|
|
1711
|
+
blur: () => D["actionReturn"];
|
|
1712
|
+
focus: () => D["actionReturn"];
|
|
1713
|
+
hover: () => D["actionReturn"];
|
|
1714
|
+
}
|
|
1715
|
+
export declare class PlatformSwitch<D extends DriverT> extends BaseComponent<D, PlatformSwitchWrapper<D>> {
|
|
1716
|
+
componentInfo: {
|
|
1717
|
+
name: string;
|
|
1718
|
+
};
|
|
1719
|
+
wrap(locator: D['locator']): PlatformSwitchWrapper<D>;
|
|
1720
|
+
byTestId: (id: string) => PlatformSwitchWrapper<D>;
|
|
1721
|
+
}
|
|
1722
|
+
export declare class PlatformSwitchExpectations<D extends DriverT> {
|
|
1723
|
+
private readonly ctx;
|
|
1724
|
+
private readonly wrapper;
|
|
1725
|
+
constructor(ctx: Context<D>, wrapper: PlatformSwitchWrapper<D>);
|
|
1726
|
+
toHaveProp: (propName: never, value: never) => never;
|
|
1727
|
+
}
|
|
1655
1728
|
type PopoverProps = {
|
|
1656
1729
|
alternate: boolean;
|
|
1657
1730
|
anchor: HTMLElement;
|
|
@@ -2938,6 +3011,8 @@ type Expectations<D extends DriverT> = {
|
|
|
2938
3011
|
flag: FlagExpectations<D>;
|
|
2939
3012
|
header: HeaderExpectations<D>;
|
|
2940
3013
|
icon: IconExpectations<D>;
|
|
3014
|
+
kbdKey: KbdKeyExpectations<D>;
|
|
3015
|
+
kbdShortcut: KbdShortcutExpectations<D>;
|
|
2941
3016
|
layout: LayoutExpectations<D>;
|
|
2942
3017
|
menu: MenuExpectations<D>;
|
|
2943
3018
|
menuItem: MenuItemExpectations<D>;
|
|
@@ -2948,6 +3023,7 @@ type Expectations<D extends DriverT> = {
|
|
|
2948
3023
|
numberField: NumberFieldExpectations<D>;
|
|
2949
3024
|
option: OptionExpectations<D>;
|
|
2950
3025
|
pagination: PaginationExpectations<D>;
|
|
3026
|
+
platformSwitch: PlatformSwitchExpectations<D>;
|
|
2951
3027
|
popover: PopoverExpectations<D>;
|
|
2952
3028
|
progress: ProgressExpectations<D>;
|
|
2953
3029
|
progressRing: ProgressRingExpectations<D>;
|
|
@@ -3028,6 +3104,8 @@ export declare class VividWrapper<D extends DriverT> {
|
|
|
3028
3104
|
flag: Flag<D>;
|
|
3029
3105
|
header: Header<D>;
|
|
3030
3106
|
icon: Icon<D>;
|
|
3107
|
+
kbdKey: KbdKey<D>;
|
|
3108
|
+
kbdShortcut: KbdShortcut<D>;
|
|
3031
3109
|
layout: Layout<D>;
|
|
3032
3110
|
menu: Menu<D>;
|
|
3033
3111
|
menuItem: MenuItem<D>;
|
|
@@ -3038,6 +3116,7 @@ export declare class VividWrapper<D extends DriverT> {
|
|
|
3038
3116
|
numberField: NumberField<D>;
|
|
3039
3117
|
option: Option<D>;
|
|
3040
3118
|
pagination: Pagination<D>;
|
|
3119
|
+
platformSwitch: PlatformSwitch<D>;
|
|
3041
3120
|
popover: Popover<D>;
|
|
3042
3121
|
progress: Progress<D>;
|
|
3043
3122
|
progressRing: ProgressRing<D>;
|
package/dist/cypress.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./components.generated-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./components.generated-D1Yu4h3L.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,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./components.generated-
|
|
1
|
+
import { t as e } from "./components.generated-DolPmkvq.js";
|
|
2
2
|
//#region src/drivers/cypress.ts
|
|
3
3
|
var t = async () => new Promise((e) => requestAnimationFrame(() => e())), n = (e) => {
|
|
4
4
|
let n = (t) => t === e, r, i = (e) => {
|
package/dist/dom.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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-
|
|
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-D1Yu4h3L.cjs`);let l=require(`@testing-library/user-event`);l=s(l,1);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;
|
package/dist/dom.js
CHANGED
package/dist/playwright.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./components.generated-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./components.generated-D1Yu4h3L.cjs`);var t=e=>({querySelector:(e,t)=>e.locator(t),enterShadow:e=>e,querySelectorAll:(e,t)=>e.locator(t),nth:(e,t)=>e.nth(t),userClick:e=>e.click(),userFill:(e,t)=>e.fill(t),userClear:e=>e.clear(),userFocus:e=>e.focus(),userBlur:e=>e.blur(),userHover:e=>e.hover(),userDragSlider:async(e,t,n,r)=>{let i=await n.getAttribute(`id`);await e.evaluate((e,[t,n])=>{if(t===`start-thumb`){let t=e;t.startAsNumber=n,t.$emit(`input:start`),t.$emit(`input`)}else if(t===`end-thumb`){let t=e;t.endAsNumber=n,t.$emit(`input:end`),t.$emit(`input`)}else{let t=e;t.valueAsNumber=n}},[i,r])},eval:async(e,t,n,r)=>{let i=await e.evaluate(t,n);await r?.(i)},waitForUpdate:async e=>{await e.evaluate(()=>new Promise(e=>{requestAnimationFrame(()=>e())}))},expectEq:async(t,n,r)=>{switch(t.type){case`eval`:try{await e(async()=>e(await t.el.evaluate(t.fn,t.arg)).toEqual(n)).toPass()}catch(e){throw e instanceof Error&&(e.message=`${r}\n\nOriginal error: ${e.message}`),e}break;case`count`:await e(t.el).toHaveCount(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=>async function t(...n){try{return await e(...n)}catch(e){throw e instanceof Error&&Error.captureStackTrace(e,t),e}},wrapSelector:e=>e}),n=(n,r)=>new e.t({rootLocator:n,driver:t(r)});exports.vividPlaywright=n;
|
package/dist/playwright.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-test-utils",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./dom": {
|
|
@@ -30,27 +30,27 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@testing-library/user-event": "^14.6.1",
|
|
32
32
|
"change-case": "^5.4.4",
|
|
33
|
-
"@vonage/vivid": "^5.
|
|
33
|
+
"@vonage/vivid": "^5.20.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@playwright/test": "1.57.0",
|
|
37
|
-
"@types/node": "^20.19.
|
|
38
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
39
|
-
"@vue/test-utils": "^2.4.
|
|
37
|
+
"@types/node": "^20.19.40",
|
|
38
|
+
"@vitejs/plugin-vue": "^6.0.6",
|
|
39
|
+
"@vue/test-utils": "^2.4.10",
|
|
40
40
|
"concurrently": "^9.2.1",
|
|
41
|
-
"cypress": "
|
|
41
|
+
"cypress": "15.13.1",
|
|
42
42
|
"tsx": "^4.21.0",
|
|
43
|
-
"vite": "^8.0.
|
|
44
|
-
"vitest": "^4.1.
|
|
45
|
-
"vue": "^3.5.
|
|
43
|
+
"vite": "^8.0.12",
|
|
44
|
+
"vitest": "^4.1.5",
|
|
45
|
+
"vue": "^3.5.34",
|
|
46
46
|
"wait-on": "^8.0.5",
|
|
47
47
|
"@repo/eslint-config": "1.0.0",
|
|
48
|
-
"@repo/metadata-extractor": "1.0.0",
|
|
49
48
|
"@repo/tools": "1.0.0",
|
|
50
|
-
"@repo/
|
|
49
|
+
"@repo/metadata-extractor": "1.0.0",
|
|
51
50
|
"@repo/shared": "1.0.0",
|
|
52
|
-
"@vonage/vivid-vue": "5.18.0",
|
|
53
51
|
"@repo/typescript-config": "1.0.0",
|
|
52
|
+
"@repo/vitest-config": "1.0.0",
|
|
53
|
+
"@vonage/vivid-vue": "5.20.0",
|
|
54
54
|
"@repo/wrapper-gen": "1.0.0"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
@@ -1 +0,0 @@
|
|
|
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.code}function ce(e){return e.total}function le(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 ue(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 de(){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 fe(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 pe(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 me.call(this,i(`option`,[[`value`,e]]))}function A(e){return me.call(this,i(`option`,[[`text`,e]]))}function me(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 he(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 ge(e){return l([()=>this.control().fill(P(e)),()=>this.control().blur()])}var _e=([e,t])=>`${M(e)} – ${M(t)}`;function ve(e){return l([()=>this.control().fill(_e(e)),()=>this.control().blur()])}var ye=e=>{let[t,n]=e.split(`T`);return`${M(t)} ${P(n)}`};function be(e){return l([()=>this.control().fill(ye(e)),()=>this.control().blur()])}function F(e,t,n){return this.ctx.driver.userDragSlider(this.locator,e(),t(),n)}function xe(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 Se(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 Ce(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 et(this.ctx,this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),e))}function V(e){return new Wa(this.ctx,this.ctx.driver.querySelector(this.ctx.driver.enterShadow(this.unwrap()),e))}var H={name:`accordion`},we=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))}},Te=class extends t{constructor(...e){super(...e),this.componentInfo=H,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new we(this.ctx,e)}},Ee=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`},De=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`)}},Oe=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 De(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.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`},Ae=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))}},je=class extends t{constructor(...e){super(...e),this.componentInfo=W,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ae(this.ctx,e)}},Me=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`},Ne=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))}},Pe=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 Ne(this.ctx,e)}},Fe=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`},Ie=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))}},Le=class extends t{constructor(...e){super(...e),this.componentInfo=K,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ie(this.ctx,e)}},Re=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`},ze=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))}},Be=class extends t{constructor(...e){super(...e),this.componentInfo=q,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ze(this.ctx,e)}},Ve=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`},He=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))}},Ue=class extends t{constructor(...e){super(...e),this.componentInfo=J,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new He(this.ctx,e)}},We=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`},Ge=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`)}},Ke=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 Ge(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})`)),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`},Je=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))}},Ye=class extends t{constructor(...e){super(...e),this.componentInfo=X,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Je(this.ctx,e)}},Xe=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`},Ze=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))}},Qe=class extends t{constructor(...e){super(...e),this.componentInfo=Z,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ze(this.ctx,e)}},$e=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`},et=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`)}},tt=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 et(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})`)),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})"))}},rt={name:`calendar`},it=class extends e{constructor(...e){super(...e),this.type=`calendar`,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))}},at=class extends t{constructor(...e){super(...e),this.componentInfo=rt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new it(this.ctx,e)}},ot=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})`))}},st={name:`calendar-event`},ct=class extends e{constructor(...e){super(...e),this.type=`calendarEvent`,this.componentInfo=st,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))}},lt=class extends t{constructor(...e){super(...e),this.componentInfo=st,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ct(this.ctx,e)}},ut=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})`))}},dt={name:`card`},ft=class extends e{constructor(...e){super(...e),this.type=`card`,this.componentInfo=dt,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))}},pt=class extends t{constructor(...e){super(...e),this.componentInfo=dt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ft(this.ctx,e)}},mt=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})"))}},ht={name:`checkbox`},gt=class extends e{constructor(...e){super(...e),this.type=`checkbox`,this.componentInfo=ht,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(fe.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(pe.bind(this,()=>this.control())),this.control=z.bind(this,`div.control`)}},_t=class extends t{constructor(...e){super(...e),this.componentInfo=ht,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new gt(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})`)),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})"))}},yt={name:`color-picker`},bt=class extends e{constructor(...e){super(...e),this.type=`colorPicker`,this.componentInfo=yt,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))}},xt=class extends t{constructor(...e){super(...e),this.componentInfo=yt,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new bt(this.ctx,e)}},St=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})"))}},Ct={name:`combobox`},wt=class extends e{constructor(...e){super(...e),this.type=`combobox`,this.componentInfo=Ct,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.clear=this.ctx.driver.wrapAction(de.bind(this)),this.fill=this.ctx.driver.wrapAction(ue.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`)}},Tt=class extends t{constructor(...e){super(...e),this.componentInfo=Ct,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new wt(this.ctx,e)}},Et=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})"))}},Dt={name:`contextual-help`},Ot=class extends e{constructor(...e){super(...e),this.type=`contextualHelp`,this.componentInfo=Dt,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))}},kt=class extends t{constructor(...e){super(...e),this.componentInfo=Dt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ot(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})`))}},jt={name:`country`},Mt=class extends e{constructor(...e){super(...e),this.type=`country`,this.componentInfo=jt,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))}},Nt=class extends t{constructor(...e){super(...e),this.componentInfo=jt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Mt(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})`))}},Ft={name:`country-group`},It=class extends e{constructor(...e){super(...e),this.type=`countryGroup`,this.componentInfo=Ft,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))}},Lt=class extends t{constructor(...e){super(...e),this.componentInfo=Ft,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new It(this.ctx,e)}},Rt=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},zt={name:`data-grid`},Bt=class extends e{constructor(...e){super(...e),this.type=`dataGrid`,this.componentInfo=zt,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))}},Vt=class extends t{constructor(...e){super(...e),this.componentInfo=zt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Bt(this.ctx,e)}},Ht=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:`data-grid-cell`},Wt=class extends e{constructor(...e){super(...e),this.type=`dataGridCell`,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))}},Gt=class extends t{constructor(...e){super(...e),this.componentInfo=Ut,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Wt(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})`))}},qt={name:`data-grid-row`},Jt=class extends e{constructor(...e){super(...e),this.type=`dataGridRow`,this.componentInfo=qt,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))}},Yt=class extends t{constructor(...e){super(...e),this.componentInfo=qt,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Jt(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})`))}},Zt={name:`date-picker`},Qt=class extends e{constructor(...e){super(...e),this.type=`datePicker`,this.componentInfo=Zt,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(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`)}},$t=class extends t{constructor(...e){super(...e),this.componentInfo=Zt,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)}},en=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})"))}},tn={name:`date-range-picker`},nn=class extends e{constructor(...e){super(...e),this.type=`dateRangePicker`,this.componentInfo=tn,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(ve.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`)}},rn=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 nn(this.ctx,e)}},an=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})"))}},on={name:`date-time-picker`},sn=class extends e{constructor(...e){super(...e),this.type=`dateTimePicker`,this.componentInfo=on,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(be.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`)}},cn=class extends t{constructor(...e){super(...e),this.componentInfo=on,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)}},ln=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})"))}},un={name:`dial-pad`},dn=class extends e{constructor(...e){super(...e),this.type=`dialPad`,this.componentInfo=un,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=un,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new dn(this.ctx,e)}},pn=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})`))}},mn={name:`dialog`},hn=class extends e{constructor(...e){super(...e),this.type=`dialog`,this.componentInfo=mn,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`)}},gn=class extends t{constructor(...e){super(...e),this.componentInfo=mn,this.byHeadline=this.ctx.driver.wrapSelector(s.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new hn(this.ctx,e)}},_n=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()`))}},vn={name:`divider`},yn=class extends e{constructor(...e){super(...e),this.type=`divider`,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))}},bn=class extends t{constructor(...e){super(...e),this.componentInfo=vn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new yn(this.ctx,e)}},xn=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})`))}},Sn={name:`empty-state`},Cn=class extends e{constructor(...e){super(...e),this.type=`emptyState`,this.componentInfo=Sn,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))}},wn=class extends t{constructor(...e){super(...e),this.componentInfo=Sn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Cn(this.ctx,e)}},Tn=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})`))}},En={name:`fab`},Dn=class extends e{constructor(...e){super(...e),this.type=`fab`,this.componentInfo=En,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`)}},On=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 Dn(this.ctx,e)}},kn=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})"))}},An={name:`file-picker`},jn=class extends e{constructor(...e){super(...e),this.type=`filePicker`,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))}},Mn=class extends t{constructor(...e){super(...e),this.componentInfo=An,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new jn(this.ctx,e)}},Nn=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})"))}},Pn={name:`flag`},Fn=class extends e{constructor(...e){super(...e),this.type=`flag`,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))}},In=class extends t{constructor(...e){super(...e),this.componentInfo=Pn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Fn(this.ctx,e)}},Ln=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.toHaveCode=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:se},e,"toHaveCode(${value})"))}},Rn={name:`header`},zn=class extends e{constructor(...e){super(...e),this.type=`header`,this.componentInfo=Rn,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))}},Bn=class extends t{constructor(...e){super(...e),this.componentInfo=Rn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new zn(this.ctx,e)}},Vn=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})`))}},Hn={name:`icon`},Un=class extends e{constructor(...e){super(...e),this.type=`icon`,this.componentInfo=Hn,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))}},Wn=class extends t{constructor(...e){super(...e),this.componentInfo=Hn,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Un(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})`)),this.toHaveName=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:oe},e,"toHaveName(${value})"))}},Kn={name:`layout`},qn=class extends e{constructor(...e){super(...e),this.type=`layout`,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 qn(this.ctx,e)}},Yn=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:`menu`},Zn=class extends e{constructor(...e){super(...e),this.type=`menu`,this.componentInfo=Xn,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))}},Qn=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 Zn(this.ctx,e)}},$n=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()`))}},er={name:`menu-item`},tr=class extends e{constructor(...e){super(...e),this.type=`menuItem`,this.componentInfo=er,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`)}},nr=class extends t{constructor(...e){super(...e),this.componentInfo=er,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this)),this.byText=this.ctx.driver.wrapSelector(c.bind(this))}wrap(e){return new tr(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.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()`))}},ir={name:`nav`},ar=class extends e{constructor(...e){super(...e),this.type=`nav`,this.componentInfo=ir,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))}},or=class extends t{constructor(...e){super(...e),this.componentInfo=ir,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ar(this.ctx,e)}},sr=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},cr={name:`nav-disclosure`},lr=class extends e{constructor(...e){super(...e),this.type=`navDisclosure`,this.componentInfo=cr,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`)}},ur=class extends t{constructor(...e){super(...e),this.componentInfo=cr,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new lr(this.ctx,e)}},dr=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()`))}},fr={name:`nav-item`},pr=class extends e{constructor(...e){super(...e),this.type=`navItem`,this.componentInfo=fr,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`)}},mr=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 pr(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})`)),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})"))}},gr={name:`note`},_r=class extends e{constructor(...e){super(...e),this.type=`note`,this.componentInfo=gr,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=gr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new _r(this.ctx,e)}},yr=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})"))}},br={name:`number-field`},xr=class extends e{constructor(...e){super(...e),this.type=`numberField`,this.componentInfo=br,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`)}},Sr=class extends t{constructor(...e){super(...e),this.componentInfo=br,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new xr(this.ctx,e)}},Cr=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})"))}},wr={name:`option`},Tr=class extends e{constructor(...e){super(...e),this.type=`option`,this.componentInfo=wr,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))}},Er=class extends t{constructor(...e){super(...e),this.componentInfo=wr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Tr(this.ctx,e)}},Dr=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})"))}},Or={name:`pagination`},kr=class extends e{constructor(...e){super(...e),this.type=`pagination`,this.componentInfo=Or,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(xe.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`)}},Ar=class extends t{constructor(...e){super(...e),this.componentInfo=Or,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new kr(this.ctx,e)}},jr=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:le},e,"toHaveSelectedPage(${value})")),this.toHaveTotal=this.ctx.driver.wrapExpect(e=>this.ctx.driver.expectEq({type:`eval`,el:this.wrapper.unwrap(),fn:ce},e,"toHaveTotal(${value})"))}},Mr={name:`popover`},Nr=class extends e{constructor(...e){super(...e),this.type=`popover`,this.componentInfo=Mr,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))}},Pr=class extends t{constructor(...e){super(...e),this.componentInfo=Mr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Nr(this.ctx,e)}},Fr=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})`))}},Ir={name:`progress`},Lr=class extends e{constructor(...e){super(...e),this.type=`progress`,this.componentInfo=Ir,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))}},Rr=class extends t{constructor(...e){super(...e),this.componentInfo=Ir,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Lr(this.ctx,e)}},zr=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})`))}},Br={name:`progress-ring`},Vr=class extends e{constructor(...e){super(...e),this.type=`progressRing`,this.componentInfo=Br,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))}},Hr=class extends t{constructor(...e){super(...e),this.componentInfo=Br,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Vr(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})`))}},Wr={name:`radio`},Gr=class extends e{constructor(...e){super(...e),this.type=`radio`,this.componentInfo=Wr,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`)}},Kr=class extends t{constructor(...e){super(...e),this.componentInfo=Wr,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Gr(this.ctx,e)}},qr=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})"))}},Jr={name:`radio-group`},Yr=class extends e{constructor(...e){super(...e),this.type=`radioGroup`,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))}},Xr=class extends t{constructor(...e){super(...e),this.componentInfo=Jr,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Yr(this.ctx,e)}},Zr=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})`))}},Qr={name:`range-slider`},$r=class extends e{constructor(...e){super(...e),this.type=`rangeSlider`,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)),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`)}},ei=class extends t{constructor(...e){super(...e),this.componentInfo=Qr,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new $r(this.ctx,e)}},ti=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})"))}},ni={name:`rich-text-editor`},ri=class extends e{constructor(...e){super(...e),this.type=`richTextEditor`,this.componentInfo=ni,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))}},ii=class extends t{constructor(...e){super(...e),this.componentInfo=ni,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ri(this.ctx,e)}},ai=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})`))}},oi={name:`rich-text-view`},si=class extends e{constructor(...e){super(...e),this.type=`richTextView`,this.componentInfo=oi,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))}},ci=class extends t{constructor(...e){super(...e),this.componentInfo=oi,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new si(this.ctx,e)}},li=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})`))}},ui={name:`searchable-select`},di=class extends e{constructor(...e){super(...e),this.type=`searchableSelect`,this.componentInfo=ui,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))}},fi=class extends t{constructor(...e){super(...e),this.componentInfo=ui,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new di(this.ctx,e)}},pi=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})"))}},mi={name:`select`},hi=class extends e{constructor(...e){super(...e),this.type=`select`,this.componentInfo=mi,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))}},gi=class extends t{constructor(...e){super(...e),this.componentInfo=mi,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new hi(this.ctx,e)}},_i=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})"))}},vi={name:`selectable-box`},yi=class extends e{constructor(...e){super(...e),this.type=`selectableBox`,this.componentInfo=vi,this.blur=this.ctx.driver.wrapAction(D.bind(this,()=>this.locator)),this.check=this.ctx.driver.wrapAction(fe.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(pe.bind(this,()=>this.control())),this.control=Ce.bind(this,`[data-vvd-component].control`,`div.control`)}},bi=class extends t{constructor(...e){super(...e),this.componentInfo=vi,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new yi(this.ctx,e)}},xi=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()`))}},Si={name:`side-drawer`},Ci=class extends e{constructor(...e){super(...e),this.type=`sideDrawer`,this.componentInfo=Si,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))}},wi=class extends t{constructor(...e){super(...e),this.componentInfo=Si,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ci(this.ctx,e)}},Ti=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})`))}},Ei={name:`simple-color-picker`},Di=class extends e{constructor(...e){super(...e),this.type=`simpleColorPicker`,this.componentInfo=Ei,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))}},Oi=class extends t{constructor(...e){super(...e),this.componentInfo=Ei,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Di(this.ctx,e)}},ki=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})"))}},Ai={name:`slider`},ji=class extends e{constructor(...e){super(...e),this.type=`slider`,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.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`)}},Mi=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 ji(this.ctx,e)}},Ni=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})"))}},Pi={name:`split-button`},Fi=class extends e{constructor(...e){super(...e),this.type=`splitButton`,this.componentInfo=Pi,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`)}},Ii=class extends t{constructor(...e){super(...e),this.componentInfo=Pi,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Fi(this.ctx,e)}},Li=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})"))}},Ri={name:`status`},zi=class extends e{constructor(...e){super(...e),this.type=`status`,this.componentInfo=Ri,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))}},Bi=class extends t{constructor(...e){super(...e),this.componentInfo=Ri,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new zi(this.ctx,e)}},Vi=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})"))}},Hi={name:`switch`},Ui=class extends e{constructor(...e){super(...e),this.type=`switch`,this.componentInfo=Hi,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`)}},Wi=class extends t{constructor(...e){super(...e),this.componentInfo=Hi,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ui(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})`)),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})"))}},Ki={name:`tab`},qi=class extends e{constructor(...e){super(...e),this.type=`tab`,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)),this.select=this.ctx.driver.wrapAction(C.bind(this,()=>this.base())),this.base=z.bind(this,`.base`)}},Ji=class extends t{constructor(...e){super(...e),this.componentInfo=Ki,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new qi(this.ctx,e)}},Yi=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()`))}},Xi={name:`tab-panel`},Zi=class extends e{constructor(...e){super(...e),this.type=`tabPanel`,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))}},Qi=class extends t{constructor(...e){super(...e),this.componentInfo=Xi,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Zi(this.ctx,e)}},$i=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ea={name:`table`},ta=class extends e{constructor(...e){super(...e),this.type=`table`,this.componentInfo=ea,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))}},na=class extends t{constructor(...e){super(...e),this.componentInfo=ea,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ta(this.ctx,e)}},ra=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ia={name:`table-body`},aa=class extends e{constructor(...e){super(...e),this.type=`tableBody`,this.componentInfo=ia,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))}},oa=class extends t{constructor(...e){super(...e),this.componentInfo=ia,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new aa(this.ctx,e)}},sa=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ca={name:`table-cell`},la=class extends e{constructor(...e){super(...e),this.type=`tableCell`,this.componentInfo=ca,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))}},ua=class extends t{constructor(...e){super(...e),this.componentInfo=ca,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new la(this.ctx,e)}},da=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},fa={name:`table-head`},pa=class extends e{constructor(...e){super(...e),this.type=`tableHead`,this.componentInfo=fa,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))}},ma=class extends t{constructor(...e){super(...e),this.componentInfo=fa,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new pa(this.ctx,e)}},ha=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ga={name:`table-header-cell`},_a=class extends e{constructor(...e){super(...e),this.type=`tableHeaderCell`,this.componentInfo=ga,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))}},va=class extends t{constructor(...e){super(...e),this.componentInfo=ga,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new _a(this.ctx,e)}},ya=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},ba={name:`table-row`},xa=class extends e{constructor(...e){super(...e),this.type=`tableRow`,this.componentInfo=ba,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))}},Sa=class extends t{constructor(...e){super(...e),this.componentInfo=ba,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new xa(this.ctx,e)}},Ca=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},wa={name:`table-sorting-button`},Ta=class extends e{constructor(...e){super(...e),this.type=`tableSortingButton`,this.componentInfo=wa,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))}},Ea=class extends t{constructor(...e){super(...e),this.componentInfo=wa,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Ta(this.ctx,e)}},Da=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})`))}},Oa={name:`tabs`},ka=class extends e{constructor(...e){super(...e),this.type=`tabs`,this.componentInfo=Oa,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=Oa,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ka(this.ctx,e)}},ja=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})`))}},Ma={name:`tag`},Na=class extends e{constructor(...e){super(...e),this.type=`tag`,this.componentInfo=Ma,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`)}},Pa=class extends t{constructor(...e){super(...e),this.componentInfo=Ma,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Na(this.ctx,e)}},Fa=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()`))}},Ia={name:`tag-group`},La=class extends e{constructor(...e){super(...e),this.type=`tagGroup`,this.componentInfo=Ia,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))}},Ra=class extends t{constructor(...e){super(...e),this.componentInfo=Ia,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new La(this.ctx,e)}},za=class{constructor(e,t){this.ctx=e,this.wrapper=t,this.toHaveProp=(e,t)=>{throw Error(`Component does not have props.`)}}},Ba={name:`text-area`},Va=class extends e{constructor(...e){super(...e),this.type=`textArea`,this.componentInfo=Ba,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`)}},Ha=class extends t{constructor(...e){super(...e),this.componentInfo=Ba,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new Va(this.ctx,e)}},Ua=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})"))}},$={name:`text-field`},Wa=class extends e{constructor(...e){super(...e),this.type=`textField`,this.componentInfo=$,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=Se.bind(this,`input[slot="_control"]`)}},Ga=class extends t{constructor(...e){super(...e),this.componentInfo=$,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)}},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.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})"))}},qa={name:`time-picker`},Ja=class extends e{constructor(...e){super(...e),this.type=`timePicker`,this.componentInfo=qa,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(ge.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`)}},Ya=class extends t{constructor(...e){super(...e),this.componentInfo=qa,this.byLabel=this.ctx.driver.wrapSelector(o.bind(this)),this.byTestId=this.ctx.driver.wrapSelector(a.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.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:`toggletip`},Qa=class extends e{constructor(...e){super(...e),this.type=`toggletip`,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.byHeadline=this.ctx.driver.wrapSelector(s.bind(this)),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.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()`))}},to={name:`tooltip`},no=class extends e{constructor(...e){super(...e),this.type=`tooltip`,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)),this.byText=this.ctx.driver.wrapSelector(c.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})`)),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()`))}},ao={name:`tree-item`},oo=class extends e{constructor(...e){super(...e),this.type=`treeItem`,this.componentInfo=ao,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))}},so=class extends t{constructor(...e){super(...e),this.componentInfo=ao,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new oo(this.ctx,e)}},co=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})"))}},lo={name:`tree-view`},uo=class extends e{constructor(...e){super(...e),this.type=`treeView`,this.componentInfo=lo,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))}},fo=class extends t{constructor(...e){super(...e),this.componentInfo=lo,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new uo(this.ctx,e)}},po=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})`))}},mo={name:`video-player`},ho=class extends e{constructor(...e){super(...e),this.type=`videoPlayer`,this.componentInfo=mo,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))}},go=class extends t{constructor(...e){super(...e),this.componentInfo=mo,this.byTestId=this.ctx.driver.wrapSelector(a.bind(this))}wrap(e){return new ho(this.ctx,e)}},_o={collection:r,accordion:Ee,accordionItem:ke,actionGroup:Me,alert:Fe,audioPlayer:Re,avatar:Ve,badge:We,banner:qe,breadcrumb:Xe,breadcrumbItem:$e,button:nt,calendar:ot,calendarEvent:ut,card:mt,checkbox:vt,colorPicker:St,combobox:Et,contextualHelp:At,country:Pt,countryGroup:Rt,dataGrid:Ht,dataGridCell:Kt,dataGridRow:Xt,datePicker:en,dateRangePicker:an,dateTimePicker:ln,dialPad:pn,dialog:_n,divider:xn,emptyState:Tn,fab:kn,filePicker:Nn,flag:Ln,header:Vn,icon:Gn,layout:Yn,menu:$n,menuItem:rr,nav:sr,navDisclosure:dr,navItem:hr,note:yr,numberField:Cr,option:Dr,pagination:jr,popover:Fr,progress:zr,progressRing:Ur,radio:qr,radioGroup:Zr,rangeSlider:ti,richTextEditor:ai,richTextView:li,searchableSelect:pi,select:_i,selectableBox:xi,sideDrawer:Ti,simpleColorPicker:ki,slider:Ni,splitButton:Li,status:Vi,switch:Gi,tab:Yi,tabPanel:$i,table:ra,tableBody:sa,tableCell:da,tableHead:ha,tableHeaderCell:ya,tableRow:Ca,tableSortingButton:Da,tabs:ja,tag:Fa,tagGroup:za,textArea:Ua,textField:Ka,timePicker:Xa,toggletip:eo,tooltip:io,treeItem:co,treeView:po,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})`))}}},vo=class{constructor(e){this.ctx=e,this.accordion=new Te(this.ctx),this.accordionItem=new Oe(this.ctx),this.actionGroup=new je(this.ctx),this.alert=new Pe(this.ctx),this.audioPlayer=new Le(this.ctx),this.avatar=new Be(this.ctx),this.badge=new Ue(this.ctx),this.banner=new Ke(this.ctx),this.breadcrumb=new Ye(this.ctx),this.breadcrumbItem=new Qe(this.ctx),this.button=new tt(this.ctx),this.calendar=new at(this.ctx),this.calendarEvent=new lt(this.ctx),this.card=new pt(this.ctx),this.checkbox=new _t(this.ctx),this.colorPicker=new xt(this.ctx),this.combobox=new Tt(this.ctx),this.contextualHelp=new kt(this.ctx),this.country=new Nt(this.ctx),this.countryGroup=new Lt(this.ctx),this.dataGrid=new Vt(this.ctx),this.dataGridCell=new Gt(this.ctx),this.dataGridRow=new Yt(this.ctx),this.datePicker=new $t(this.ctx),this.dateRangePicker=new rn(this.ctx),this.dateTimePicker=new cn(this.ctx),this.dialPad=new fn(this.ctx),this.dialog=new gn(this.ctx),this.divider=new bn(this.ctx),this.emptyState=new wn(this.ctx),this.fab=new On(this.ctx),this.filePicker=new Mn(this.ctx),this.flag=new In(this.ctx),this.header=new Bn(this.ctx),this.icon=new Wn(this.ctx),this.layout=new Jn(this.ctx),this.menu=new Qn(this.ctx),this.menuItem=new nr(this.ctx),this.nav=new or(this.ctx),this.navDisclosure=new ur(this.ctx),this.navItem=new mr(this.ctx),this.note=new vr(this.ctx),this.numberField=new Sr(this.ctx),this.option=new Er(this.ctx),this.pagination=new Ar(this.ctx),this.popover=new Pr(this.ctx),this.progress=new Rr(this.ctx),this.progressRing=new Hr(this.ctx),this.radio=new Kr(this.ctx),this.radioGroup=new Xr(this.ctx),this.rangeSlider=new ei(this.ctx),this.richTextEditor=new ii(this.ctx),this.richTextView=new ci(this.ctx),this.searchableSelect=new fi(this.ctx),this.select=new gi(this.ctx),this.selectableBox=new bi(this.ctx),this.sideDrawer=new wi(this.ctx),this.simpleColorPicker=new Oi(this.ctx),this.slider=new Mi(this.ctx),this.splitButton=new Ii(this.ctx),this.status=new Bi(this.ctx),this.switch=new Wi(this.ctx),this.tab=new Ji(this.ctx),this.tabPanel=new Qi(this.ctx),this.table=new na(this.ctx),this.tableBody=new oa(this.ctx),this.tableCell=new ua(this.ctx),this.tableHead=new ma(this.ctx),this.tableHeaderCell=new va(this.ctx),this.tableRow=new Sa(this.ctx),this.tableSortingButton=new Ea(this.ctx),this.tabs=new Aa(this.ctx),this.tag=new Pa(this.ctx),this.tagGroup=new Ra(this.ctx),this.textArea=new Ha(this.ctx),this.textField=new Ga(this.ctx),this.timePicker=new Ya(this.ctx),this.toggletip=new $a(this.ctx),this.tooltip=new ro(this.ctx),this.treeItem=new so(this.ctx),this.treeView=new fo(this.ctx),this.videoPlayer=new go(this.ctx)}expect(e){if(e.type in _o)return new _o[e.type](this.ctx,e);throw Error(`Unknown component type: ${e.type}`)}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return vo}});
|