@rnw-community/wdio 0.35.3 → 0.36.1

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.
@@ -1,4 +1,4 @@
1
1
  import type { Enum } from '../../type';
2
- import type { RootedComponentWithSelectors } from '../type';
3
- export declare const createRootedComponent: <T extends string>(selectors: Enum<T>, selectorOrElement?: WebdriverIO.Element | string) => RootedComponentWithSelectors<T>;
2
+ import type { ComponentInputArg, RootedComponentWithSelectors } from '../type';
3
+ export declare const createRootedComponent: <T extends string>(selectors: Enum<T>, selectorOrElement?: ComponentInputArg) => RootedComponentWithSelectors<T>;
4
4
  //# sourceMappingURL=create-rooted-component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-rooted-component.d.ts","sourceRoot":"","sources":["../../../src/component/create-rooted-component/create-rooted-component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,qBAAqB,6DAEV,YAAY,OAAO,GAAG,MAAM,oCAC2C,CAAC"}
1
+ {"version":3,"file":"create-rooted-component.d.ts","sourceRoot":"","sources":["../../../src/component/create-rooted-component/create-rooted-component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE/E,eAAO,MAAM,qBAAqB,6DAEV,iBAAiB,oCACsD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-rooted-component.js","sourceRoot":"","sources":["../../../src/component/create-rooted-component/create-rooted-component.ts"],"names":[],"mappings":";;;AAAA,uFAAkF;AAK3E,MAAM,qBAAqB,GAAG,CACjC,SAAkB,EAClB,iBAAgD,EACjB,EAAE,CAAC,IAAI,CAAC,IAAA,yCAAkB,EAAI,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;AAHnF,QAAA,qBAAqB,yBAG8D"}
1
+ {"version":3,"file":"create-rooted-component.js","sourceRoot":"","sources":["../../../src/component/create-rooted-component/create-rooted-component.ts"],"names":[],"mappings":";;;AAAA,uFAAkF;AAK3E,MAAM,qBAAqB,GAAG,CACjC,SAAkB,EAClB,iBAAqC,EACN,EAAE,CAAC,IAAI,CAAC,IAAA,yCAAkB,EAAI,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC;AAHnF,QAAA,qBAAqB,yBAG8D"}
@@ -1,6 +1,6 @@
1
1
  import type { Enum } from '../../type';
2
- import type { ComponentWithSelectors } from '../type';
3
- declare type ComponentWithSelectorsCtor<T extends string> = new (selectorOrElement?: WebdriverIO.Element | string) => ComponentWithSelectors<T>;
2
+ import type { ComponentInputArg, ComponentWithSelectors } from '../type';
3
+ declare type ComponentWithSelectorsCtor<T extends string> = new (selectorOrElement?: ComponentInputArg) => ComponentWithSelectors<T>;
4
4
  export declare const getComponent: <T extends string>(selectors: Enum<T>) => ComponentWithSelectorsCtor<T>;
5
5
  export {};
6
6
  //# sourceMappingURL=get-component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-component.d.ts","sourceRoot":"","sources":["../../../src/component/get-component/get-component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,aAAK,0BAA0B,CAAC,CAAC,SAAS,MAAM,IAAI,KAChD,iBAAiB,CAAC,EAAE,WAAW,CAAC,OAAO,GAAG,MAAM,KAC/C,sBAAsB,CAAC,CAAC,CAAC,CAAC;AAE/B,eAAO,MAAM,YAAY,yEAkBpB,CAAC"}
1
+ {"version":3,"file":"get-component.d.ts","sourceRoot":"","sources":["../../../src/component/get-component/get-component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEzE,aAAK,0BAA0B,CAAC,CAAC,SAAS,MAAM,IAAI,KAAK,iBAAiB,CAAC,EAAE,iBAAiB,KAAK,sBAAsB,CAAC,CAAC,CAAC,CAAC;AAE7H,eAAO,MAAM,YAAY,yEAkBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-component.js","sourceRoot":"","sources":["../../../src/component/get-component/get-component.ts"],"names":[],"mappings":";;;AAAA,sDAAmD;AACnD,kCAAoC;AAS7B,MAAM,YAAY,GAAG,CAAmB,SAAkB,EAAiC,EAAE;AAChG,mDAAmD;AACnD,KAAM,SAAQ,qBAAS;IACnB;QACI,KAAK,EAAE,CAAC;QAER,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,GAAG,CAAC,MAAM,EAAE,KAAQ,EAAE,QAAQ;gBAC1B,IAAI,KAAK,IAAI,MAAM,EAAE;oBACjB,+DAA+D;oBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;iBAC/C;gBAED,OAAO,IAAA,gBAAS,EAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;YAC/C,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ,CAAC;AAlBO,QAAA,YAAY,gBAkBnB"}
1
+ {"version":3,"file":"get-component.js","sourceRoot":"","sources":["../../../src/component/get-component/get-component.ts"],"names":[],"mappings":";;;AAAA,sDAAmD;AACnD,kCAAoC;AAO7B,MAAM,YAAY,GAAG,CAAmB,SAAkB,EAAiC,EAAE;AAChG,mDAAmD;AACnD,KAAM,SAAQ,qBAAS;IACnB;QACI,KAAK,EAAE,CAAC;QAER,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,GAAG,CAAC,MAAM,EAAE,KAAQ,EAAE,QAAQ;gBAC1B,IAAI,KAAK,IAAI,MAAM,EAAE;oBACjB,+DAA+D;oBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;iBAC/C;gBAED,OAAO,IAAA,gBAAS,EAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;YAC/C,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ,CAAC;AAlBO,QAAA,YAAY,gBAkBnB"}
@@ -1,6 +1,6 @@
1
1
  import type { Enum } from '../../type';
2
- import type { RootedComponentWithSelectors } from '../type';
3
- declare type RootedComponentWithSelectorsCtor<T extends string> = new (selectorOrElement?: WebdriverIO.Element | string) => RootedComponentWithSelectors<T>;
2
+ import type { ComponentInputArg, RootedComponentWithSelectors } from '../type';
3
+ declare type RootedComponentWithSelectorsCtor<T extends string> = new (selectorOrElement?: ComponentInputArg) => RootedComponentWithSelectors<T>;
4
4
  export declare const getRootedComponent: <T extends string>(selectors: Enum<T>) => RootedComponentWithSelectorsCtor<T>;
5
5
  export {};
6
6
  //# sourceMappingURL=get-rooted-component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-rooted-component.d.ts","sourceRoot":"","sources":["../../../src/component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE5D,aAAK,gCAAgC,CAAC,CAAC,SAAS,MAAM,IAAI,KACtD,iBAAiB,CAAC,EAAE,WAAW,CAAC,OAAO,GAAG,MAAM,KAC/C,4BAA4B,CAAC,CAAC,CAAC,CAAC;AAErC,eAAO,MAAM,kBAAkB,+EAwB1B,CAAC"}
1
+ {"version":3,"file":"get-rooted-component.d.ts","sourceRoot":"","sources":["../../../src/component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE/E,aAAK,gCAAgC,CAAC,CAAC,SAAS,MAAM,IAAI,KACtD,iBAAiB,CAAC,EAAE,iBAAiB,KACpC,4BAA4B,CAAC,CAAC,CAAC,CAAC;AAErC,eAAO,MAAM,kBAAkB,+EAwB1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-rooted-component.js","sourceRoot":"","sources":["../../../src/component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAElD,2EAAuE;AACvE,kCAA0D;AASnD,MAAM,kBAAkB,GAAG,CAAmB,SAAkB,EAAuC,EAAE;AAC5G,mDAAmD;AACnD,KAAM,SAAQ,kCAAe;IACzB,YAAY,iBAAgD;QACxD,MAAM,YAAY,GAAG,IAAA,kBAAS,EAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAA,2BAAoB,EAAC,SAAS,CAAC,CAAC;QAExG,IAAI,CAAC,IAAA,kBAAS,EAAC,YAAY,CAAC,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;SACvG;QAED,KAAK,CAAC,YAAY,CAAC,CAAC;QAEpB,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,GAAG,CAAC,MAAM,EAAE,KAAQ,EAAE,QAAQ;gBAC1B,IAAI,KAAK,IAAI,MAAM,EAAE;oBACjB,+DAA+D;oBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;iBAC/C;gBAED,OAAO,IAAA,gBAAS,EAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;YAC/C,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ,CAAC;AAxBO,QAAA,kBAAkB,sBAwBzB"}
1
+ {"version":3,"file":"get-rooted-component.js","sourceRoot":"","sources":["../../../src/component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAElD,2EAAuE;AACvE,kCAA0D;AASnD,MAAM,kBAAkB,GAAG,CAAmB,SAAkB,EAAuC,EAAE;AAC5G,mDAAmD;AACnD,KAAM,SAAQ,kCAAe;IACzB,YAAY,iBAAqC;QAC7C,MAAM,YAAY,GAAG,IAAA,kBAAS,EAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAA,2BAAoB,EAAC,SAAS,CAAC,CAAC;QAExG,IAAI,CAAC,IAAA,kBAAS,EAAC,YAAY,CAAC,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;SACvG;QAED,KAAK,CAAC,YAAY,CAAC,CAAC;QAEpB,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,GAAG,CAAC,MAAM,EAAE,KAAQ,EAAE,QAAQ;gBAC1B,IAAI,KAAK,IAAI,MAAM,EAAE;oBACjB,+DAA+D;oBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;iBAC/C;gBAED,OAAO,IAAA,gBAAS,EAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;YAC/C,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;CACJ,CAAC;AAxBO,QAAA,kBAAkB,sBAwBzB"}
@@ -1,10 +1,11 @@
1
1
  /// <reference types="webdriverio/async" />
2
2
  import { Component } from '../component/component';
3
- import type { ClickArgs, WaitForDisplayedArgs, WaitForEnabledArgs, WaitForExistArgs } from '../type';
3
+ import type { ClickArgs, ComponentInputArg, WaitForDisplayedArgs, WaitForEnabledArgs, WaitForExistArgs } from '../type';
4
4
  export declare class RootedComponent extends Component {
5
5
  private readonly constructorEl;
6
+ private readonly constructorPromiseEl;
6
7
  private readonly constructorSelector;
7
- constructor(selectorOrElement: WebdriverIO.Element | string);
8
+ constructor(selectorOrElement: ComponentInputArg);
8
9
  get RootEl(): Promise<WebdriverIO.Element>;
9
10
  waitForDisplayed(...args: WaitForDisplayedArgs): Promise<void>;
10
11
  waitForEnabled(...args: WaitForEnabledArgs): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/component/rooted-component/rooted-component.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAErG,qBAAa,eAAgB,SAAQ,SAAS;IAC1C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAkC;IAChE,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAc;gBAEtC,iBAAiB,EAAE,WAAW,CAAC,OAAO,GAAG,MAAM;IAU3D,IAAI,MAAM,IAAI,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAMzC;IAEK,gBAAgB,CAAC,GAAG,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9D,cAAc,CAAC,GAAG,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1D,YAAY,CAAC,GAAG,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;IAI/B,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;IAI9B,KAAK,CAAC,GAAG,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/B,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC;IAI1D,WAAW,CAAC,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C,YAAY,CAAC;IAIhE,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC;CAG9F"}
@@ -12,13 +12,21 @@ class RootedComponent extends component_1.Component {
12
12
  this.constructorSelector = selectorOrElement;
13
13
  }
14
14
  else if ((0, shared_1.isDefined)(selectorOrElement)) {
15
- this.constructorEl = selectorOrElement;
15
+ if ('then' in selectorOrElement) {
16
+ this.constructorPromiseEl = selectorOrElement;
17
+ }
18
+ else {
19
+ this.constructorEl = selectorOrElement;
20
+ }
16
21
  }
17
22
  }
18
23
  get RootEl() {
19
24
  if ((0, shared_1.isDefined)(this.constructorEl)) {
20
25
  return Promise.resolve(this.constructorEl);
21
26
  }
27
+ else if ((0, shared_1.isDefined)(this.constructorPromiseEl)) {
28
+ return this.constructorPromiseEl;
29
+ }
22
30
  return (0, command_1.testID$)(this.constructorSelector);
23
31
  }
24
32
  async waitForDisplayed(...args) {
@@ -1 +1 @@
1
- {"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/component/rooted-component/rooted-component.ts"],"names":[],"mappings":";;;AAAA,kDAAoE;AAEpE,2CAAiE;AACjE,sDAAmD;AAInD,MAAa,eAAgB,SAAQ,qBAAS;IAI1C,YAAY,iBAA+C;QACvD,KAAK,EAAE,CAAC;QAHK,wBAAmB,GAAW,EAAE,CAAC;QAK9C,IAAI,IAAA,yBAAgB,EAAC,iBAAiB,CAAC,EAAE;YACrC,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC;SAChD;aAAM,IAAI,IAAA,kBAAS,EAAC,iBAAiB,CAAC,EAAE;YACrC,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC;SAC1C;IACL,CAAC;IAED,IAAI,MAAM;QACN,IAAI,IAAA,kBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,EAAE;YAC/B,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,C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AO,MAAM,IAAA,uBAAa,EAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC;IACjE,CAAC;CACJ;AAzDD,0CAyDC"}
1
+ {"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/component/rooted-component/rooted-component.ts"],"names":[],"mappings":";;;AAAA,kDAAoE;AAEpE,2CAAiE;AACjE,sDAAmD;AAKnD,MAAa,eAAgB,SAAQ,qBAAS;IAK1C,YAAY,iBAAoC;QAC5C,KAAK,EAAE,CAAC;QAHK,wBAAmB,GAAW,EAAE,CAAC;QAK9C,IAAI,IAAA,yBAAgB,EAAC,iBAAiB,CAAC,EAAE;YACrC,IAAI,CAAC,mBAAmB,GAAG,iBAAiB,CAAC;SAChD;aAAM,IAAI,IAAA,kBAAS,EAAC,iBAAiB,CAAC,EAAE;YACrC,IAAI,MAAM,IAAI,iBAAiB,EAAE;gBAC7B,IAAI,CAAC,oBAAoB,GAAG,iBAAiB,CAAC;aACjD;iBAAM;gBACH,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC;aAC1C;SACJ;IACL,CAAC;IAED,IAAI,MAAM;QACN,IAAI,IAAA,kBAAS,EAAC,IAAI,CAAC,aAAa,CAAC,EAAE;YAC/B,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;SAC9C;aAAM,IAAI,IAAA,kBAAS,EAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE;YAC7C,OAAO,IAAI,CAAC,oBAAoB,CAAC;SACpC;QAED,OAAO,IAAA,iBAAO,EAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC7C,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAA0B;QAChD,MAAM,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC;IACxD,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,GAAG,IAAwB;QAC5C,MAAM,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC;IACtD,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,GAAG,IAAsB;QACxC,MAAM,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC;IACpD,CAAC;IAED,KAAK,CAAC,WAAW;QACb,OAAO,MAAM,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,UAAU;QACZ,OAAO,MAAM,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,GAAG,IAAe;QAC1B,MAAM,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;IAC7C,CAAC;IAEQ,KAAK,CAAC,UAAU,CAAC,QAAgB;QACtC,OAAO,MAAM,IAAA,iBAAO,EAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC;IACtD,CAAC;IAEQ,KAAK,CAAC,WAAW,CAAC,QAAgB;QACvC,OAAO,MAAM,IAAA,kBAAQ,EAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC;IACvD,CAAC;IAEQ,KAAK,CAAC,eAAe,CAAC,QAAgB,EAAE,GAAW;QACxD,OAAO,MAAM,IAAA,uBAAa,EAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,CAAC;IACjE,CAAC;CACJ;AAhED,0CAgEC"}
@@ -0,0 +1,3 @@
1
+ import type { ChainablePromiseElement } from 'webdriverio';
2
+ export declare type ComponentInputArg = ChainablePromiseElement<WebdriverIO.Element> | WebdriverIO.Element | string;
3
+ //# sourceMappingURL=component-input-arg.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-input-arg.type.d.ts","sourceRoot":"","sources":["../../../src/component/type/component-input-arg.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,oBAAY,iBAAiB,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,GAAG,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=component-input-arg.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-input-arg.type.js","sourceRoot":"","sources":["../../../src/component/type/component-input-arg.type.ts"],"names":[],"mappings":""}
@@ -3,4 +3,5 @@ export type { RootedComponentWithSelectors } from './rooted-component-with-selec
3
3
  export type { WaitForDisplayedArgs, WaitForEnabledArgs, WaitForExistArgs, SetValueArgs, ClickArgs } from './wdio-types.type';
4
4
  export type { SelectorMethods } from './selector-methods.type';
5
5
  export type { SelectorObject } from './selector-object.type';
6
+ export type { ComponentInputArg } from './component-input-arg.type';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/type/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,YAAY,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAC3F,YAAY,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7H,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/type/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,YAAY,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAC3F,YAAY,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7H,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rnw-community/wdio",
3
- "version": "0.35.3",
3
+ "version": "0.36.1",
4
4
  "private": false,
5
5
  "description": "WDIO commands, page objects and utils",
6
6
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "engines": {
37
37
  "node": ">=14.0.0"
38
38
  },
39
- "gitHead": "d30293947029ef6eb4fc6c754fa9efd68f5cd5e9",
39
+ "gitHead": "dc5ee31c80af480a4895659b5e4768e263676377",
40
40
  "dependencies": {
41
41
  "@rnw-community/shared": "^0.8.0"
42
42
  },