@rnw-community/wdio 0.47.0 → 0.48.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.
Files changed (93) hide show
  1. package/dist/cjs/component/component.d.ts +1 -0
  2. package/dist/cjs/component/component.d.ts.map +1 -1
  3. package/dist/cjs/component/component.js +9 -0
  4. package/dist/cjs/component/component.js.map +1 -1
  5. package/dist/cjs/rooted-component/rooted-component.d.ts.map +1 -1
  6. package/dist/cjs/rooted-component/rooted-component.js +3 -3
  7. package/dist/cjs/rooted-component/rooted-component.js.map +1 -1
  8. package/dist/cjs/tsconfig.build-cjs.tsbuildinfo +1 -1
  9. package/dist/cjs/type/component-input-arg.type.d.ts +1 -2
  10. package/dist/cjs/type/component-input-arg.type.d.ts.map +1 -1
  11. package/dist/esm/component/component.d.ts +1 -0
  12. package/dist/esm/component/component.d.ts.map +1 -1
  13. package/dist/esm/component/component.js +9 -0
  14. package/dist/esm/component/component.js.map +1 -1
  15. package/dist/esm/rooted-component/rooted-component.d.ts.map +1 -1
  16. package/dist/esm/rooted-component/rooted-component.js +3 -3
  17. package/dist/esm/rooted-component/rooted-component.js.map +1 -1
  18. package/dist/esm/tsconfig.build-esm.tsbuildinfo +1 -1
  19. package/dist/esm/type/component-input-arg.type.d.ts +1 -2
  20. package/dist/esm/type/component-input-arg.type.d.ts.map +1 -1
  21. package/package.json +3 -3
  22. package/dist/cjs/component/create$-component/create$-component.d.ts +0 -3
  23. package/dist/cjs/component/create$-component/create$-component.d.ts.map +0 -1
  24. package/dist/cjs/component/create$-component/create$-component.js +0 -7
  25. package/dist/cjs/component/create$-component/create$-component.js.map +0 -1
  26. package/dist/cjs/component/get$-component/get$-component.d.ts +0 -3
  27. package/dist/cjs/component/get$-component/get$-component.d.ts.map +0 -1
  28. package/dist/cjs/component/get$-component/get$-component.js +0 -8
  29. package/dist/cjs/component/get$-component/get$-component.js.map +0 -1
  30. package/dist/cjs/component$/component$.d.ts +0 -7
  31. package/dist/cjs/component$/component$.d.ts.map +0 -1
  32. package/dist/cjs/component$/component$.js +0 -12
  33. package/dist/cjs/component$/component$.js.map +0 -1
  34. package/dist/cjs/rooted-component/create$-rooted-component/create$-rooted-component.d.ts +0 -3
  35. package/dist/cjs/rooted-component/create$-rooted-component/create$-rooted-component.d.ts.map +0 -1
  36. package/dist/cjs/rooted-component/create$-rooted-component/create$-rooted-component.js +0 -7
  37. package/dist/cjs/rooted-component/create$-rooted-component/create$-rooted-component.js.map +0 -1
  38. package/dist/cjs/rooted-component/get$-rooted-component/get$-rooted-component.d.ts +0 -3
  39. package/dist/cjs/rooted-component/get$-rooted-component/get$-rooted-component.d.ts.map +0 -1
  40. package/dist/cjs/rooted-component/get$-rooted-component/get$-rooted-component.js +0 -8
  41. package/dist/cjs/rooted-component/get$-rooted-component/get$-rooted-component.js.map +0 -1
  42. package/dist/cjs/rooted-component$/rooted-component$.d.ts +0 -9
  43. package/dist/cjs/rooted-component$/rooted-component$.d.ts.map +0 -1
  44. package/dist/cjs/rooted-component$/rooted-component$.js +0 -19
  45. package/dist/cjs/rooted-component$/rooted-component$.js.map +0 -1
  46. package/dist/cjs/util/find-enum-root-selector.util.d.ts +0 -2
  47. package/dist/cjs/util/find-enum-root-selector.util.d.ts.map +0 -1
  48. package/dist/cjs/util/find-enum-root-selector.util.js +0 -12
  49. package/dist/cjs/util/find-enum-root-selector.util.js.map +0 -1
  50. package/dist/cjs/util/get-component-input-arg-element/get-component-input-arg-element.util.d.ts +0 -4
  51. package/dist/cjs/util/get-component-input-arg-element/get-component-input-arg-element.util.d.ts.map +0 -1
  52. package/dist/cjs/util/get-component-input-arg-element/get-component-input-arg-element.util.js +0 -16
  53. package/dist/cjs/util/get-component-input-arg-element/get-component-input-arg-element.util.js.map +0 -1
  54. package/dist/cjs/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.d.ts +0 -3
  55. package/dist/cjs/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.d.ts.map +0 -1
  56. package/dist/cjs/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.js +0 -6
  57. package/dist/cjs/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.js.map +0 -1
  58. package/dist/esm/component/create$-component/create$-component.d.ts +0 -3
  59. package/dist/esm/component/create$-component/create$-component.d.ts.map +0 -1
  60. package/dist/esm/component/create$-component/create$-component.js +0 -3
  61. package/dist/esm/component/create$-component/create$-component.js.map +0 -1
  62. package/dist/esm/component/get$-component/get$-component.d.ts +0 -3
  63. package/dist/esm/component/get$-component/get$-component.d.ts.map +0 -1
  64. package/dist/esm/component/get$-component/get$-component.js +0 -4
  65. package/dist/esm/component/get$-component/get$-component.js.map +0 -1
  66. package/dist/esm/component$/component$.d.ts +0 -7
  67. package/dist/esm/component$/component$.d.ts.map +0 -1
  68. package/dist/esm/component$/component$.js +0 -8
  69. package/dist/esm/component$/component$.js.map +0 -1
  70. package/dist/esm/rooted-component/create$-rooted-component/create$-rooted-component.d.ts +0 -3
  71. package/dist/esm/rooted-component/create$-rooted-component/create$-rooted-component.d.ts.map +0 -1
  72. package/dist/esm/rooted-component/create$-rooted-component/create$-rooted-component.js +0 -3
  73. package/dist/esm/rooted-component/create$-rooted-component/create$-rooted-component.js.map +0 -1
  74. package/dist/esm/rooted-component/get$-rooted-component/get$-rooted-component.d.ts +0 -3
  75. package/dist/esm/rooted-component/get$-rooted-component/get$-rooted-component.d.ts.map +0 -1
  76. package/dist/esm/rooted-component/get$-rooted-component/get$-rooted-component.js +0 -4
  77. package/dist/esm/rooted-component/get$-rooted-component/get$-rooted-component.js.map +0 -1
  78. package/dist/esm/rooted-component$/rooted-component$.d.ts +0 -9
  79. package/dist/esm/rooted-component$/rooted-component$.d.ts.map +0 -1
  80. package/dist/esm/rooted-component$/rooted-component$.js +0 -15
  81. package/dist/esm/rooted-component$/rooted-component$.js.map +0 -1
  82. package/dist/esm/util/find-enum-root-selector.util.d.ts +0 -2
  83. package/dist/esm/util/find-enum-root-selector.util.d.ts.map +0 -1
  84. package/dist/esm/util/find-enum-root-selector.util.js +0 -8
  85. package/dist/esm/util/find-enum-root-selector.util.js.map +0 -1
  86. package/dist/esm/util/get-component-input-arg-element/get-component-input-arg-element.util.d.ts +0 -4
  87. package/dist/esm/util/get-component-input-arg-element/get-component-input-arg-element.util.d.ts.map +0 -1
  88. package/dist/esm/util/get-component-input-arg-element/get-component-input-arg-element.util.js +0 -12
  89. package/dist/esm/util/get-component-input-arg-element/get-component-input-arg-element.util.js.map +0 -1
  90. package/dist/esm/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.d.ts +0 -3
  91. package/dist/esm/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.d.ts.map +0 -1
  92. package/dist/esm/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.js +0 -2
  93. package/dist/esm/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-enum-root-selector.util.d.ts","sourceRoot":"","sources":["../../../src/util/find-enum-root-selector.util.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,uBAAsB,MAAM,GAAG,SAO/D,CAAC"}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.findEnumRootSelector = void 0;
4
- const shared_1 = require("@rnw-community/shared");
5
- const findEnumRootSelector = (selectors) => {
6
- const selectorKeys = Object.keys(selectors);
7
- const rootSelectorKey = selectorKeys.find(key => key === 'Root');
8
- // @ts-expect-error Improve typing
9
- return (0, shared_1.isDefined)(rootSelectorKey) ? selectors[rootSelectorKey] : undefined;
10
- };
11
- exports.findEnumRootSelector = findEnumRootSelector;
12
- //# sourceMappingURL=find-enum-root-selector.util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-enum-root-selector.util.js","sourceRoot":"","sources":["../../../src/util/find-enum-root-selector.util.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAE3C,MAAM,oBAAoB,GAAG,CAAI,SAAY,EAAsB,EAAE;IACxE,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAE5C,MAAM,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC;IAEjE,kCAAkC;IAClC,OAAO,IAAA,kBAAS,EAAC,eAAe,CAAC,CAAC,CAAC,CAAE,SAAS,CAAC,eAAe,CAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;AACtG,CAAC,CAAC;AAPW,QAAA,oBAAoB,wBAO/B"}
@@ -1,4 +0,0 @@
1
- import type { ComponentInputArg, ElSelectorFn } from '../../type';
2
- import type { ChainablePromiseElement } from 'webdriverio';
3
- export declare const getComponentInputArgElement: (componentInputArg: ComponentInputArg, selectorFn: ElSelectorFn) => ChainablePromiseElement<WebdriverIO.Element>;
4
- //# sourceMappingURL=get-component-input-arg-element.util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-component-input-arg-element.util.d.ts","sourceRoot":"","sources":["../../../../src/util/get-component-input-arg-element/get-component-input-arg-element.util.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,2BAA2B,sBACjB,iBAAiB,cACxB,YAAY,KACzB,wBAAwB,YAAY,OAAO,CAQ7C,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getComponentInputArgElement = void 0;
4
- const shared_1 = require("@rnw-community/shared");
5
- const wdio_element_chain_by_ref_util_1 = require("../wdio-element-chain-by-ref/wdio-element-chain-by-ref.util");
6
- const getComponentInputArgElement = (componentInputArg, selectorFn) => {
7
- if ((0, shared_1.isNotEmptyString)(componentInputArg)) {
8
- return selectorFn(componentInputArg);
9
- }
10
- else if ('then' in componentInputArg) {
11
- return componentInputArg;
12
- }
13
- return (0, wdio_element_chain_by_ref_util_1.wdioElementChainByRef)(componentInputArg);
14
- };
15
- exports.getComponentInputArgElement = getComponentInputArgElement;
16
- //# sourceMappingURL=get-component-input-arg-element.util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-component-input-arg-element.util.js","sourceRoot":"","sources":["../../../../src/util/get-component-input-arg-element/get-component-input-arg-element.util.ts"],"names":[],"mappings":";;;AAAA,kDAAyD;AAEzD,gHAAoG;AAK7F,MAAM,2BAA2B,GAAG,CACvC,iBAAoC,EACpC,UAAwB,EACoB,EAAE;IAC9C,IAAI,IAAA,yBAAgB,EAAC,iBAAiB,CAAC,EAAE;QACrC,OAAO,UAAU,CAAC,iBAAiB,CAAC,CAAC;KACxC;SAAM,IAAI,MAAM,IAAI,iBAAiB,EAAE;QACpC,OAAO,iBAAiB,CAAC;KAC5B;IAED,OAAO,IAAA,sDAAqB,EAAC,iBAAiB,CAAC,CAAC;AACpD,CAAC,CAAC;AAXW,QAAA,2BAA2B,+BAWtC"}
@@ -1,3 +0,0 @@
1
- import type { ChainablePromiseElement } from 'webdriverio';
2
- export declare const wdioElementChainByRef: (element: WebdriverIO.Element) => ChainablePromiseElement<WebdriverIO.Element>;
3
- //# sourceMappingURL=wdio-element-chain-by-ref.util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wdio-element-chain-by-ref.util.d.ts","sourceRoot":"","sources":["../../../../src/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,qBAAqB,YAAa,YAAY,OAAO,KAAG,wBAAwB,YAAY,OAAO,CAC7C,CAAC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.wdioElementChainByRef = void 0;
4
- const wdioElementChainByRef = (element) => $({ 'element-6066-11e4-a52e-4f735466cecf': element.elementId });
5
- exports.wdioElementChainByRef = wdioElementChainByRef;
6
- //# sourceMappingURL=wdio-element-chain-by-ref.util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wdio-element-chain-by-ref.util.js","sourceRoot":"","sources":["../../../../src/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.ts"],"names":[],"mappings":";;;AAEO,MAAM,qBAAqB,GAAG,CAAC,OAA4B,EAAgD,EAAE,CAChH,CAAC,CAAC,EAAE,qCAAqC,EAAE,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;AADvD,QAAA,qBAAqB,yBACkC"}
@@ -1,3 +0,0 @@
1
- import type { ComponentWithSelectors } from '../../type';
2
- export declare const create$Component: <T>(selectors: T) => ComponentWithSelectors<T>;
3
- //# sourceMappingURL=create$-component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create$-component.d.ts","sourceRoot":"","sources":["../../../../src/component/create$-component/create$-component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEzD,eAAO,MAAM,gBAAgB,gDAAsF,CAAC"}
@@ -1,3 +0,0 @@
1
- import { get$Component } from '../get$-component/get$-component';
2
- export const create$Component = (selectors) => new (get$Component(selectors))();
3
- //# sourceMappingURL=create$-component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create$-component.js","sourceRoot":"","sources":["../../../../src/component/create$-component/create$-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAI,SAAY,EAA6B,EAAE,CAAC,IAAI,CAAC,aAAa,CAAI,SAAS,CAAC,CAAC,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { getComponent } from '../get-component/get-component';
2
- export declare const get$Component: typeof getComponent;
3
- //# sourceMappingURL=get$-component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get$-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get$-component/get$-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,eAAO,MAAM,aAAa,EAAE,OAAO,YAA8E,CAAC"}
@@ -1,4 +0,0 @@
1
- import { default$ComponentConfig } from '../../config/default$-component.config';
2
- import { getComponent } from '../get-component/get-component';
3
- export const get$Component = selectors => getComponent(selectors, default$ComponentConfig());
4
- //# sourceMappingURL=get$-component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get$-component.js","sourceRoot":"","sources":["../../../../src/component/get$-component/get$-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,MAAM,CAAC,MAAM,aAAa,GAAwB,SAAS,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import { Component } from '../component/component';
2
- import type { ComponentConfigInterface } from '../type';
3
- import type { Enum } from '@rnw-community/shared';
4
- export declare class Component$<T = any> extends Component<T> {
5
- constructor(config: ComponentConfigInterface, selectors: Enum<T>);
6
- }
7
- //# sourceMappingURL=component$.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component$.d.ts","sourceRoot":"","sources":["../../../src/component$/component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAGlD,qBAAa,UAAU,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;gBACrC,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC;CAGnE"}
@@ -1,8 +0,0 @@
1
- import { Component } from '../component/component';
2
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
3
- export class Component$ extends Component {
4
- constructor(config, selectors) {
5
- super(config, selectors);
6
- }
7
- }
8
- //# sourceMappingURL=component$.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component$.js","sourceRoot":"","sources":["../../../src/component$/component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,8DAA8D;AAC9D,MAAM,OAAO,UAAoB,SAAQ,SAAY;IACjD,YAAY,MAAgC,EAAE,SAAkB;QAC5D,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC7B,CAAC;CACJ"}
@@ -1,3 +0,0 @@
1
- import type { ComponentInputArg, RootedComponentWithSelectors } from '../../type';
2
- export declare const create$RootedComponent: <T>(selectors: T, selectorOrElement: ComponentInputArg) => RootedComponentWithSelectors<T>;
3
- //# sourceMappingURL=create$-rooted-component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create$-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/create$-rooted-component/create$-rooted-component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAElF,eAAO,MAAM,sBAAsB,uCAEZ,iBAAiB,oCACwD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { get$RootedComponent } from '../get$-rooted-component/get$-rooted-component';
2
- export const create$RootedComponent = (selectors, selectorOrElement) => new (get$RootedComponent(selectors))(selectorOrElement);
3
- //# sourceMappingURL=create$-rooted-component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create$-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/create$-rooted-component/create$-rooted-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAIrF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAClC,SAAY,EACZ,iBAAoC,EACL,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAI,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { RootedComponentWithSelectorsCtor } from '../../type';
2
- export declare const get$RootedComponent: <T>(selectors: T) => RootedComponentWithSelectorsCtor<T, import("../rooted-component").RootedComponent<T>>;
3
- //# sourceMappingURL=get$-rooted-component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get$-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get$-rooted-component/get$-rooted-component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,mBAAmB,4GAC4B,CAAC"}
@@ -1,4 +0,0 @@
1
- import { default$ComponentConfig } from '../../config/default$-component.config';
2
- import { getRootedComponent } from '../get-rooted-component/get-rooted-component';
3
- export const get$RootedComponent = (selectors) => getRootedComponent(selectors, default$ComponentConfig());
4
- //# sourceMappingURL=get$-rooted-component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get$-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get$-rooted-component/get$-rooted-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAIlF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAI,SAAY,EAAuC,EAAE,CACxF,kBAAkB,CAAC,SAAS,EAAE,uBAAuB,EAAE,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- /// <reference types="webdriverio/async" />
2
- import { RootedComponent } from '../rooted-component/rooted-component';
3
- import type { ChainablePromiseArray, ChainablePromiseElement } from 'webdriverio';
4
- export declare class RootedComponent$<T = any> extends RootedComponent<T> {
5
- get RootEl(): ChainablePromiseElement<WebdriverIO.Element>;
6
- getChildEl(selector: string): ChainablePromiseElement<WebdriverIO.Element>;
7
- getChildEls(selector: string): ChainablePromiseArray<WebdriverIO.ElementArray>;
8
- }
9
- //# sourceMappingURL=rooted-component$.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rooted-component$.d.ts","sourceRoot":"","sources":["../../../src/rooted-component$/rooted-component$.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAGvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAGlF,qBAAa,gBAAgB,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,eAAe,CAAC,CAAC,CAAC;IAC7D,IAAa,MAAM,IAAI,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,CAElE;IAEQ,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC;IAI1E,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAAC,WAAW,CAAC,YAAY,CAAC;CAG1F"}
@@ -1,15 +0,0 @@
1
- import { RootedComponent } from '../rooted-component/rooted-component';
2
- import { getComponentInputArgElement } from '../util';
3
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
- export class RootedComponent$ extends RootedComponent {
5
- get RootEl() {
6
- return getComponentInputArgElement(this.parentElInput, $);
7
- }
8
- getChildEl(selector) {
9
- return this.RootEl.$(selector);
10
- }
11
- getChildEls(selector) {
12
- return this.RootEl.$$(selector);
13
- }
14
- }
15
- //# sourceMappingURL=rooted-component$.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rooted-component$.js","sourceRoot":"","sources":["../../../src/rooted-component$/rooted-component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAItD,8DAA8D;AAC9D,MAAM,OAAO,gBAA0B,SAAQ,eAAkB;IAC7D,IAAa,MAAM;QACf,OAAO,2BAA2B,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEQ,UAAU,CAAC,QAAgB;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;IACnC,CAAC;IAEQ,WAAW,CAAC,QAAgB;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;CACJ"}
@@ -1,2 +0,0 @@
1
- export declare const findEnumRootSelector: <T>(selectors: T) => string | undefined;
2
- //# sourceMappingURL=find-enum-root-selector.util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-enum-root-selector.util.d.ts","sourceRoot":"","sources":["../../../src/util/find-enum-root-selector.util.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,uBAAsB,MAAM,GAAG,SAO/D,CAAC"}
@@ -1,8 +0,0 @@
1
- import { isDefined } from '@rnw-community/shared';
2
- export const findEnumRootSelector = (selectors) => {
3
- const selectorKeys = Object.keys(selectors);
4
- const rootSelectorKey = selectorKeys.find(key => key === 'Root');
5
- // @ts-expect-error Improve typing
6
- return isDefined(rootSelectorKey) ? selectors[rootSelectorKey] : undefined;
7
- };
8
- //# sourceMappingURL=find-enum-root-selector.util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-enum-root-selector.util.js","sourceRoot":"","sources":["../../../src/util/find-enum-root-selector.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAI,SAAY,EAAsB,EAAE;IACxE,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAE5C,MAAM,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC;IAEjE,kCAAkC;IAClC,OAAO,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,CAAE,SAAS,CAAC,eAAe,CAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;AACtG,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { ComponentInputArg, ElSelectorFn } from '../../type';
2
- import type { ChainablePromiseElement } from 'webdriverio';
3
- export declare const getComponentInputArgElement: (componentInputArg: ComponentInputArg, selectorFn: ElSelectorFn) => ChainablePromiseElement<WebdriverIO.Element>;
4
- //# sourceMappingURL=get-component-input-arg-element.util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-component-input-arg-element.util.d.ts","sourceRoot":"","sources":["../../../../src/util/get-component-input-arg-element/get-component-input-arg-element.util.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,2BAA2B,sBACjB,iBAAiB,cACxB,YAAY,KACzB,wBAAwB,YAAY,OAAO,CAQ7C,CAAC"}
@@ -1,12 +0,0 @@
1
- import { isNotEmptyString } from '@rnw-community/shared';
2
- import { wdioElementChainByRef } from '../wdio-element-chain-by-ref/wdio-element-chain-by-ref.util';
3
- export const getComponentInputArgElement = (componentInputArg, selectorFn) => {
4
- if (isNotEmptyString(componentInputArg)) {
5
- return selectorFn(componentInputArg);
6
- }
7
- else if ('then' in componentInputArg) {
8
- return componentInputArg;
9
- }
10
- return wdioElementChainByRef(componentInputArg);
11
- };
12
- //# sourceMappingURL=get-component-input-arg-element.util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-component-input-arg-element.util.js","sourceRoot":"","sources":["../../../../src/util/get-component-input-arg-element/get-component-input-arg-element.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6DAA6D,CAAC;AAKpG,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACvC,iBAAoC,EACpC,UAAwB,EACoB,EAAE;IAC9C,IAAI,gBAAgB,CAAC,iBAAiB,CAAC,EAAE;QACrC,OAAO,UAAU,CAAC,iBAAiB,CAAC,CAAC;KACxC;SAAM,IAAI,MAAM,IAAI,iBAAiB,EAAE;QACpC,OAAO,iBAAiB,CAAC;KAC5B;IAED,OAAO,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;AACpD,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { ChainablePromiseElement } from 'webdriverio';
2
- export declare const wdioElementChainByRef: (element: WebdriverIO.Element) => ChainablePromiseElement<WebdriverIO.Element>;
3
- //# sourceMappingURL=wdio-element-chain-by-ref.util.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wdio-element-chain-by-ref.util.d.ts","sourceRoot":"","sources":["../../../../src/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,qBAAqB,YAAa,YAAY,OAAO,KAAG,wBAAwB,YAAY,OAAO,CAC7C,CAAC"}
@@ -1,2 +0,0 @@
1
- export const wdioElementChainByRef = (element) => $({ 'element-6066-11e4-a52e-4f735466cecf': element.elementId });
2
- //# sourceMappingURL=wdio-element-chain-by-ref.util.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wdio-element-chain-by-ref.util.js","sourceRoot":"","sources":["../../../../src/util/wdio-element-chain-by-ref/wdio-element-chain-by-ref.util.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAA4B,EAAgD,EAAE,CAChH,CAAC,CAAC,EAAE,qCAAqC,EAAE,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC"}