@rnw-community/wdio 0.49.0 → 0.49.2
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/cjs/component/component.d.ts +2 -3
- package/dist/cjs/component/component.d.ts.map +1 -1
- package/dist/cjs/component/component.js.map +1 -1
- package/dist/cjs/component/get-exteded-component/get-extended-component.d.ts.map +1 -1
- package/dist/cjs/component/get-exteded-component/get-extended-component.js.map +1 -1
- package/dist/cjs/component$/get-exteded-component$/get-extended-component$.d.ts.map +1 -1
- package/dist/cjs/component$/get-exteded-component$/get-extended-component$.js.map +1 -1
- package/dist/cjs/interface/web-test-id-props.interface.d.ts +1 -1
- package/dist/cjs/interface/web-test-id-props.interface.d.ts.map +1 -1
- package/dist/cjs/rooted-component/rooted-component.d.ts +1 -2
- package/dist/cjs/rooted-component/rooted-component.d.ts.map +1 -1
- package/dist/cjs/rooted-component/rooted-component.js.map +1 -1
- package/dist/cjs/tsconfig.build-cjs.tsbuildinfo +1 -1
- package/dist/cjs/type/component-input-arg.type.d.ts +1 -1
- package/dist/cjs/type/component-input-arg.type.d.ts.map +1 -1
- package/dist/cjs/type/component-with-selectors-ctor.type.d.ts +2 -2
- package/dist/cjs/type/component-with-selectors-ctor.type.d.ts.map +1 -1
- package/dist/cjs/type/component-with-selectors.type.d.ts +1 -1
- package/dist/cjs/type/component-with-selectors.type.d.ts.map +1 -1
- package/dist/cjs/type/component.type.d.ts +3 -3
- package/dist/cjs/type/component.type.d.ts.map +1 -1
- package/dist/cjs/type/el-selector-fn.type.d.ts +1 -1
- package/dist/cjs/type/el-selector-fn.type.d.ts.map +1 -1
- package/dist/cjs/type/els-index-selector-fn.type.d.ts +1 -1
- package/dist/cjs/type/els-index-selector-fn.type.d.ts.map +1 -1
- package/dist/cjs/type/els-selector-fn.type.d.ts +1 -1
- package/dist/cjs/type/els-selector-fn.type.d.ts.map +1 -1
- package/dist/cjs/type/rooted-component-with-selectors-ctor.type.d.ts +4 -4
- package/dist/cjs/type/rooted-component-with-selectors-ctor.type.d.ts.map +1 -1
- package/dist/cjs/type/rooted-component-with-selectors.type.d.ts +1 -1
- package/dist/cjs/type/rooted-component-with-selectors.type.d.ts.map +1 -1
- package/dist/cjs/type/selector-context.type.d.ts +1 -1
- package/dist/cjs/type/selector-context.type.d.ts.map +1 -1
- package/dist/cjs/type/swipe-direction.type.d.ts +1 -1
- package/dist/cjs/type/swipe-direction.type.d.ts.map +1 -1
- package/dist/esm/component/component.d.ts +2 -3
- package/dist/esm/component/component.d.ts.map +1 -1
- package/dist/esm/component/component.js.map +1 -1
- package/dist/esm/component/get-exteded-component/get-extended-component.d.ts.map +1 -1
- package/dist/esm/component/get-exteded-component/get-extended-component.js.map +1 -1
- package/dist/esm/component$/get-exteded-component$/get-extended-component$.d.ts.map +1 -1
- package/dist/esm/component$/get-exteded-component$/get-extended-component$.js.map +1 -1
- package/dist/esm/interface/web-test-id-props.interface.d.ts +1 -1
- package/dist/esm/interface/web-test-id-props.interface.d.ts.map +1 -1
- package/dist/esm/rooted-component/rooted-component.d.ts +1 -2
- package/dist/esm/rooted-component/rooted-component.d.ts.map +1 -1
- package/dist/esm/rooted-component/rooted-component.js.map +1 -1
- package/dist/esm/tsconfig.build-esm.tsbuildinfo +1 -1
- package/dist/esm/type/component-input-arg.type.d.ts +1 -1
- package/dist/esm/type/component-input-arg.type.d.ts.map +1 -1
- package/dist/esm/type/component-with-selectors-ctor.type.d.ts +2 -2
- package/dist/esm/type/component-with-selectors-ctor.type.d.ts.map +1 -1
- package/dist/esm/type/component-with-selectors.type.d.ts +1 -1
- package/dist/esm/type/component-with-selectors.type.d.ts.map +1 -1
- package/dist/esm/type/component.type.d.ts +3 -3
- package/dist/esm/type/component.type.d.ts.map +1 -1
- package/dist/esm/type/el-selector-fn.type.d.ts +1 -1
- package/dist/esm/type/el-selector-fn.type.d.ts.map +1 -1
- package/dist/esm/type/els-index-selector-fn.type.d.ts +1 -1
- package/dist/esm/type/els-index-selector-fn.type.d.ts.map +1 -1
- package/dist/esm/type/els-selector-fn.type.d.ts +1 -1
- package/dist/esm/type/els-selector-fn.type.d.ts.map +1 -1
- package/dist/esm/type/rooted-component-with-selectors-ctor.type.d.ts +4 -4
- package/dist/esm/type/rooted-component-with-selectors-ctor.type.d.ts.map +1 -1
- package/dist/esm/type/rooted-component-with-selectors.type.d.ts +1 -1
- package/dist/esm/type/rooted-component-with-selectors.type.d.ts.map +1 -1
- package/dist/esm/type/selector-context.type.d.ts +1 -1
- package/dist/esm/type/selector-context.type.d.ts.map +1 -1
- package/dist/esm/type/swipe-direction.type.d.ts +1 -1
- package/dist/esm/type/swipe-direction.type.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-input-arg.type.d.ts","sourceRoot":"","sources":["../../../src/type/component-input-arg.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"component-input-arg.type.d.ts","sourceRoot":"","sources":["../../../src/type/component-input-arg.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,MAAM,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Component } from '../component/component';
|
|
2
1
|
import type { ComponentWithSelectors } from './component-with-selectors.type';
|
|
3
|
-
|
|
2
|
+
import type { Component } from '../component/component';
|
|
3
|
+
export type ComponentWithSelectorsCtor<T, A = unknown> = A extends Component ? new () => A & ComponentWithSelectors<T> : new () => ComponentWithSelectors<T>;
|
|
4
4
|
//# sourceMappingURL=component-with-selectors-ctor.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-with-selectors-ctor.type.d.ts","sourceRoot":"","sources":["../../../src/type/component-with-selectors-ctor.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"component-with-selectors-ctor.type.d.ts","sourceRoot":"","sources":["../../../src/type/component-with-selectors-ctor.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,MAAM,0BAA0B,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,IAAI,CAAC,SAAS,SAAS,GACtE,UAAU,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC,GACvC,UAAU,sBAAsB,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component } from '../component/component';
|
|
2
2
|
import type { SelectorElement } from '../selector-element/selector-element';
|
|
3
3
|
import type { Element } from 'webdriverio';
|
|
4
|
-
export
|
|
4
|
+
export type ComponentWithSelectors<T> = Component<T> & Record<keyof T, Element & SelectorElement>;
|
|
5
5
|
//# sourceMappingURL=component-with-selectors.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-with-selectors.type.d.ts","sourceRoot":"","sources":["../../../src/type/component-with-selectors.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"component-with-selectors.type.d.ts","sourceRoot":"","sources":["../../../src/type/component-with-selectors.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Component } from '../component/component';
|
|
2
|
-
import type { RootedComponent } from '../rooted-component/rooted-component';
|
|
3
1
|
import type { ComponentWithSelectors } from './component-with-selectors.type';
|
|
4
2
|
import type { RootedComponentWithSelectors } from './rooted-component-with-selectors.type';
|
|
5
|
-
|
|
3
|
+
import type { Component } from '../component/component';
|
|
4
|
+
import type { RootedComponent } from '../rooted-component/rooted-component';
|
|
5
|
+
export type ComponentType<E extends string, T extends Component<E> = Component<E>> = T extends RootedComponent ? RootedComponentWithSelectors<E> : ComponentWithSelectors<E>;
|
|
6
6
|
//# sourceMappingURL=component.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.type.d.ts","sourceRoot":"","sources":["../../../src/type/component.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"component.type.d.ts","sourceRoot":"","sources":["../../../src/type/component.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,eAAe,GACxG,4BAA4B,CAAC,CAAC,CAAC,GAC/B,sBAAsB,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
3
|
import type { ChainablePromiseElement, Element } from 'webdriverio';
|
|
4
|
-
export
|
|
4
|
+
export type ElSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseElement<Element>;
|
|
5
5
|
//# sourceMappingURL=el-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"el-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/el-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE,
|
|
1
|
+
{"version":3,"file":"el-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/el-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,MAAM,YAAY,GAAG,CACvB,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EACnC,OAAO,CAAC,EAAE,mBAAmB,KAC5B,uBAAuB,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ChainablePromiseElement, Element } from 'webdriverio';
|
|
3
|
-
export
|
|
3
|
+
export type ElsIndexSelectorFn = (selector: string, index: number, context?: SelectorContextType) => ChainablePromiseElement<Element>;
|
|
4
4
|
//# sourceMappingURL=els-index-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-index-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-index-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE,
|
|
1
|
+
{"version":3,"file":"els-index-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-index-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,MAAM,kBAAkB,GAAG,CAC7B,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,mBAAmB,KAC5B,uBAAuB,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SelectorContextType } from './selector-context.type';
|
|
2
2
|
import type { ElementReference } from '@wdio/protocols/build/types';
|
|
3
3
|
import type { ChainablePromiseArray, ElementArray } from 'webdriverio';
|
|
4
|
-
export
|
|
4
|
+
export type ElsSelectorFn = (selector: ElementReference | string, context?: SelectorContextType) => ChainablePromiseArray<ElementArray>;
|
|
5
5
|
//# sourceMappingURL=els-selector-fn.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEvE,
|
|
1
|
+
{"version":3,"file":"els-selector-fn.type.d.ts","sourceRoot":"","sources":["../../../src/type/els-selector-fn.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEvE,MAAM,MAAM,aAAa,GAAG,CACxB,QAAQ,EAAE,gBAAgB,GAAG,MAAM,EACnC,OAAO,CAAC,EAAE,mBAAmB,KAC5B,qBAAqB,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { RootedComponent } from '../rooted-component/rooted-component';
|
|
2
1
|
import type { ComponentInputArg } from './component-input-arg.type';
|
|
3
2
|
import type { RootedComponentWithSelectors } from './rooted-component-with-selectors.type';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
import type { RootedComponent } from '../rooted-component/rooted-component';
|
|
4
|
+
export type RootedComponentCtorWithoutDefaultRootSelector<T, Parent extends RootedComponent<T> = RootedComponent<T>> = new (selectorOrElement: ComponentInputArg) => Parent & RootedComponentWithSelectors<T>;
|
|
5
|
+
export type RootedComponentCtorWithDefaultRootSelector<T, Parent extends RootedComponent<T> = RootedComponent<T>> = new (selectorOrElement?: ComponentInputArg) => Parent & RootedComponentWithSelectors<T>;
|
|
6
|
+
export type RootedComponentWithSelectorsCtor<T, Parent extends RootedComponent<T> = RootedComponent<T>> = RootedComponentCtorWithDefaultRootSelector<T, Parent> | RootedComponentCtorWithoutDefaultRootSelector<T, Parent>;
|
|
7
7
|
//# sourceMappingURL=rooted-component-with-selectors-ctor.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component-with-selectors-ctor.type.d.ts","sourceRoot":"","sources":["../../../src/type/rooted-component-with-selectors-ctor.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"rooted-component-with-selectors-ctor.type.d.ts","sourceRoot":"","sources":["../../../src/type/rooted-component-with-selectors-ctor.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,MAAM,6CAA6C,CAAC,CAAC,EAAE,MAAM,SAAS,eAAe,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,IAAI,KACnH,iBAAiB,EAAE,iBAAiB,KACnC,MAAM,GAAG,4BAA4B,CAAC,CAAC,CAAC,CAAC;AAE9C,MAAM,MAAM,0CAA0C,CAAC,CAAC,EAAE,MAAM,SAAS,eAAe,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,IAAI,KAChH,iBAAiB,CAAC,EAAE,iBAAiB,KACpC,MAAM,GAAG,4BAA4B,CAAC,CAAC,CAAC,CAAC;AAE9C,MAAM,MAAM,gCAAgC,CAAC,CAAC,EAAE,MAAM,SAAS,eAAe,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,IAChG,0CAA0C,CAAC,CAAC,EAAE,MAAM,CAAC,GACrD,6CAA6C,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RootedComponent } from '../rooted-component/rooted-component';
|
|
2
2
|
import type { SelectorElement } from '../selector-element/selector-element';
|
|
3
3
|
import type { Element } from 'webdriverio';
|
|
4
|
-
export
|
|
4
|
+
export type RootedComponentWithSelectors<T> = Element & Record<keyof T, Element & SelectorElement> & RootedComponent<T>;
|
|
5
5
|
//# sourceMappingURL=rooted-component-with-selectors.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component-with-selectors.type.d.ts","sourceRoot":"","sources":["../../../src/type/rooted-component-with-selectors.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"rooted-component-with-selectors.type.d.ts","sourceRoot":"","sources":["../../../src/type/rooted-component-with-selectors.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,MAAM,4BAA4B,CAAC,CAAC,IAAI,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,eAAe,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Browser, ChainablePromiseElement, Element } from 'webdriverio';
|
|
2
|
-
export
|
|
2
|
+
export type SelectorContextType = Browser | ChainablePromiseElement<Element> | Element;
|
|
3
3
|
//# sourceMappingURL=selector-context.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-context.type.d.ts","sourceRoot":"","sources":["../../../src/type/selector-context.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE7E,
|
|
1
|
+
{"version":3,"file":"selector-context.type.d.ts","sourceRoot":"","sources":["../../../src/type/selector-context.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,uBAAuB,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SwipeDirectionType = 'bottom' | 'left' | 'right' | 'top';
|
|
2
2
|
//# sourceMappingURL=swipe-direction.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swipe-direction.type.d.ts","sourceRoot":"","sources":["../../../src/type/swipe-direction.type.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"swipe-direction.type.d.ts","sourceRoot":"","sources":["../../../src/type/swipe-direction.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import type { ComponentConfigInterface } from '../type';
|
|
2
|
-
import type { Enum } from '@rnw-community/shared';
|
|
3
2
|
import type { ChainablePromiseArray, ChainablePromiseElement, Element, ElementArray } from 'webdriverio';
|
|
4
3
|
export declare class Component<T = any> {
|
|
5
4
|
protected config: ComponentConfigInterface;
|
|
6
|
-
protected selectors:
|
|
5
|
+
protected selectors: T;
|
|
7
6
|
protected parentComponents: Component[];
|
|
8
|
-
constructor(config: ComponentConfigInterface, selectors:
|
|
7
|
+
constructor(config: ComponentConfigInterface, selectors: T);
|
|
9
8
|
addParentComponent(component: Component): void;
|
|
10
9
|
getChildEl(selector: string): ChainablePromiseElement<Element>;
|
|
11
10
|
getChildEls(selector: string): ChainablePromiseArray<ElementArray>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"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file":"component.js","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAKvE,8DAA8D;AAC9D,MAAM,OAAO,SAAS;IAGlB,YAAsB,MAAgC,EAAY,SAAY;QAAxD,WAAM,GAAN,MAAM,CAA0B;QAAY,cAAS,GAAT,SAAS,CAAG;QAFpE,qBAAgB,GAAgB,EAAE,CAAC;QAGzC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YACnB,GAAG,CAAC,MAAM,EAAE,KAAa,EAAE,QAAQ;gBAC/B,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;YAC5C,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAED,kBAAkB,CAAC,SAAoB;QACnC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC1C,CAAC;IAED,UAAU,CAAC,QAAgB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC9C,CAAC;IAED,WAAW,CAAC,QAAgB;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAED,eAAe,CAAC,QAAgB,EAAE,GAAW;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,mBAAmB,CACrB,QAAgB,EAChB,WAAwC,EACxC,WAA+C;QAE/C,IAAI,KAAK,EAAE,MAAM,EAAE,IAAI,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE;YACrD,MAAM,SAAS,GAAG,MAAM,WAAW,CAAC,EAAE,CAAC,CAAC;YAExC,IAAI,MAAM,WAAW,CAAC,SAAS,CAAC,EAAE;gBAC9B,OAAO,SAAS,CAAC;aACpB;SACJ;QAED,MAAM,IAAI,KAAK,CAAC,iDAAiD,QAAQ,GAAG,CAAC,CAAC;IAClF,CAAC;IAES,QAAQ,CAAC,KAAa,EAAE,QAAiB,EAAE,UAA0B;QAC3E,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE;YAC1B,+DAA+D;YAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;SAC7C;QAED,MAAM,QAAQ,GAAI,IAAI,CAAC,SAA+B,CAAC,KAAK,CAAsB,CAAC;QACnF,IAAI,SAAS,CAAC,QAAQ,CAAC,EAAE;YACrB,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;SAC9C;QAED,KAAK,MAAM,eAAe,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACjD,IAAI,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,IAAI,KAAK,IAAI,eAAe,CAAC,SAAS,EAAE;gBAC3E,+DAA+D;gBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;aACxD;SACJ;QAED,OAAO,UAAU,EAAE,EAAE,CAAC;IAC1B,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"get-extended-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,oBAAoB,gHAa5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component.js","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAChC,SAAY,EACZ,eAA6B,EACG,EAAE;AAClC,mDAAmD;AACnD,KAAM,SAAQ,SAAY;IACtB;QACI,KAAK,CAAC,sBAAsB,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"get-extended-component.js","sourceRoot":"","sources":["../../../../src/component/get-exteded-component/get-extended-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAChC,SAAY,EACZ,eAA6B,EACG,EAAE;AAClC,mDAAmD;AACnD,KAAM,SAAQ,SAAY;IACtB;QACI,KAAK,CAAC,sBAAsB,EAAE,EAAE,SAAS,CAAC,CAAC;QAE3C,IAAI,eAAe,KAAK,SAAS,EAAE;YAC/B,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;SAClD;IACL,CAAC;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component$.d.ts","sourceRoot":"","sources":["../../../../src/component$/get-exteded-component$/get-extended-component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"get-extended-component$.d.ts","sourceRoot":"","sources":["../../../../src/component$/get-exteded-component$/get-extended-component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,qBAAqB,gHAa7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-component$.js","sourceRoot":"","sources":["../../../../src/component$/get-exteded-component$/get-extended-component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAKjF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACjC,SAAY,EACZ,eAA6B,EACG,EAAE;AAClC,mDAAmD;AACnD,KAAM,SAAQ,SAAY;IACtB;QACI,KAAK,CAAC,uBAAuB,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"get-extended-component$.js","sourceRoot":"","sources":["../../../../src/component$/get-exteded-component$/get-extended-component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAKjF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACjC,SAAY,EACZ,eAA6B,EACG,EAAE;AAClC,mDAAmD;AACnD,KAAM,SAAQ,SAAY;IACtB;QACI,KAAK,CAAC,uBAAuB,EAAE,EAAE,SAAS,CAAC,CAAC;QAE5C,IAAI,eAAe,KAAK,SAAS,EAAE;YAC/B,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;SAClD;IACL,CAAC;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-test-id-props.interface.d.ts","sourceRoot":"","sources":["../../../src/interface/web-test-id-props.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"web-test-id-props.interface.d.ts","sourceRoot":"","sources":["../../../src/interface/web-test-id-props.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,MAAM,WAAW,cAAe,SAAQ,WAAW;IAC/C,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Component } from '../component/component';
|
|
2
2
|
import type { ComponentConfigInterface, ComponentInputArg } from '../type';
|
|
3
|
-
import type { Enum } from '@rnw-community/shared';
|
|
4
3
|
import type { ChainablePromiseArray, ChainablePromiseElement, Element, ElementArray } from 'webdriverio';
|
|
5
4
|
export declare class RootedComponent<T = any> extends Component<T> {
|
|
6
5
|
protected readonly parentElInput: ComponentInputArg;
|
|
7
|
-
constructor(config: ComponentConfigInterface, selectors:
|
|
6
|
+
constructor(config: ComponentConfigInterface, selectors: T, parentElInput: ComponentInputArg | undefined);
|
|
8
7
|
get RootEl(): ChainablePromiseElement<Element>;
|
|
9
8
|
getChildEl(selector: string): ChainablePromiseElement<Element>;
|
|
10
9
|
getChildEls(selector: string): ChainablePromiseArray<ElementArray>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"rooted-component.d.ts","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGzG,qBAAa,eAAe,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IACtD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,iBAAiB,CAAC;gBAExC,MAAM,EAAE,wBAAwB,EAAE,SAAS,EAAE,CAAC,EAAE,aAAa,EAAE,iBAAiB,GAAG,SAAS;IAiCxG,IAAI,MAAM,IAAI,uBAAuB,CAAC,OAAO,CAAC,CAM7C;IAEQ,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAAC,OAAO,CAAC;IAI9D,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAAC,YAAY,CAAC;IAIlE,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAAC,OAAO,CAAC;CAG5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"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