@rnw-community/wdio 1.4.0 → 1.8.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/add-wdio-commands.d.ts.map +1 -1
- package/dist/cjs/command/clear-input.command.d.ts.map +1 -1
- package/dist/cjs/command/mobile/open-deep-link.command.d.ts.map +1 -1
- package/dist/cjs/command/mobile/relative-click.command.d.ts.map +1 -1
- package/dist/cjs/command/slow-input.command.d.ts.map +1 -1
- package/dist/cjs/command/swipe.command.d.ts.map +1 -1
- package/dist/cjs/command/swipe.command.js +0 -1
- package/dist/cjs/command/swipe.command.js.map +1 -1
- package/dist/cjs/component/component.js +0 -5
- package/dist/cjs/component/component.js.map +1 -1
- package/dist/cjs/component/create-component/create-component.d.ts.map +1 -1
- package/dist/cjs/component/get-component/get-component.d.ts.map +1 -1
- package/dist/cjs/component/get-exteded-component/get-extended-component.d.ts.map +1 -1
- package/dist/cjs/component$/create-component$/create-component$.d.ts.map +1 -1
- package/dist/cjs/component$/get-component$/get-component$.d.ts.map +1 -1
- package/dist/cjs/component$/get-exteded-component$/get-extended-component$.d.ts.map +1 -1
- package/dist/cjs/rooted-component/create-rooted-component/create-rooted-component.d.ts.map +1 -1
- package/dist/cjs/rooted-component/get-extended-rooted-component/get-extended-rooted-component.d.ts.map +1 -1
- package/dist/cjs/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js +1 -1
- package/dist/cjs/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js.map +1 -1
- package/dist/cjs/rooted-component/get-rooted-component/get-rooted-component.d.ts.map +1 -1
- package/dist/cjs/rooted-component/get-rooted-component/get-rooted-component.js +2 -1
- package/dist/cjs/rooted-component/get-rooted-component/get-rooted-component.js.map +1 -1
- package/dist/cjs/rooted-component/rooted-component.js +0 -3
- package/dist/cjs/rooted-component/rooted-component.js.map +1 -1
- package/dist/cjs/rooted-component$/create-rooted-component$/create-rooted-component$.d.ts.map +1 -1
- package/dist/cjs/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.d.ts.map +1 -1
- package/dist/cjs/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.js +1 -1
- package/dist/cjs/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.js.map +1 -1
- package/dist/cjs/rooted-component$/get-rooted-component$/get-rooted-component$.d.ts.map +1 -1
- package/dist/cjs/rooted-component$/get-rooted-component$/get-rooted-component$.js +2 -1
- package/dist/cjs/rooted-component$/get-rooted-component$/get-rooted-component$.js.map +1 -1
- package/dist/cjs/selector/android-testid.selector.d.ts.map +1 -1
- package/dist/cjs/selector/ios-testid.selector.d.ts.map +1 -1
- package/dist/cjs/selector/mobile-testid.selector.d.ts.map +1 -1
- package/dist/cjs/selector/test-id.selector.d.ts.map +1 -1
- package/dist/cjs/selector/web-testid.selector.d.ts.map +1 -1
- package/dist/cjs/selector-element/selector-element.js +0 -2
- package/dist/cjs/selector-element/selector-element.js.map +1 -1
- package/dist/cjs/util/get-platform/get-platform.util.native.js +1 -1
- package/dist/cjs/util/get-platform/get-platform.util.native.js.map +1 -1
- package/dist/cjs/util/get-test-id/get-test-id.d.ts.map +1 -1
- package/dist/cjs/util/set-prop-test-id/set-prop-test-id.d.ts.map +1 -1
- package/dist/cjs/util/set-test-id/set-test-id.d.ts.map +1 -1
- package/dist/esm/add-wdio-commands.d.ts.map +1 -1
- package/dist/esm/command/clear-input.command.d.ts.map +1 -1
- package/dist/esm/command/mobile/open-deep-link.command.d.ts.map +1 -1
- package/dist/esm/command/mobile/relative-click.command.d.ts.map +1 -1
- package/dist/esm/command/slow-input.command.d.ts.map +1 -1
- package/dist/esm/command/swipe.command.d.ts.map +1 -1
- package/dist/esm/command/swipe.command.js +0 -1
- package/dist/esm/command/swipe.command.js.map +1 -1
- package/dist/esm/component/component.js +0 -5
- package/dist/esm/component/component.js.map +1 -1
- package/dist/esm/component/create-component/create-component.d.ts.map +1 -1
- package/dist/esm/component/get-component/get-component.d.ts.map +1 -1
- package/dist/esm/component/get-exteded-component/get-extended-component.d.ts.map +1 -1
- package/dist/esm/component$/create-component$/create-component$.d.ts.map +1 -1
- package/dist/esm/component$/get-component$/get-component$.d.ts.map +1 -1
- package/dist/esm/component$/get-exteded-component$/get-extended-component$.d.ts.map +1 -1
- package/dist/esm/rooted-component/create-rooted-component/create-rooted-component.d.ts.map +1 -1
- package/dist/esm/rooted-component/get-extended-rooted-component/get-extended-rooted-component.d.ts.map +1 -1
- package/dist/esm/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js +1 -1
- package/dist/esm/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js.map +1 -1
- package/dist/esm/rooted-component/get-rooted-component/get-rooted-component.d.ts.map +1 -1
- package/dist/esm/rooted-component/get-rooted-component/get-rooted-component.js +2 -1
- package/dist/esm/rooted-component/get-rooted-component/get-rooted-component.js.map +1 -1
- package/dist/esm/rooted-component/rooted-component.js +0 -3
- package/dist/esm/rooted-component/rooted-component.js.map +1 -1
- package/dist/esm/rooted-component$/create-rooted-component$/create-rooted-component$.d.ts.map +1 -1
- package/dist/esm/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.d.ts.map +1 -1
- package/dist/esm/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.js +1 -1
- package/dist/esm/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.js.map +1 -1
- package/dist/esm/rooted-component$/get-rooted-component$/get-rooted-component$.d.ts.map +1 -1
- package/dist/esm/rooted-component$/get-rooted-component$/get-rooted-component$.js +2 -1
- package/dist/esm/rooted-component$/get-rooted-component$/get-rooted-component$.js.map +1 -1
- package/dist/esm/selector/android-testid.selector.d.ts.map +1 -1
- package/dist/esm/selector/ios-testid.selector.d.ts.map +1 -1
- package/dist/esm/selector/mobile-testid.selector.d.ts.map +1 -1
- package/dist/esm/selector/test-id.selector.d.ts.map +1 -1
- package/dist/esm/selector/web-testid.selector.d.ts.map +1 -1
- package/dist/esm/selector-element/selector-element.js +0 -2
- package/dist/esm/selector-element/selector-element.js.map +1 -1
- package/dist/esm/util/get-platform/get-platform.util.native.js +1 -1
- package/dist/esm/util/get-platform/get-platform.util.native.js.map +1 -1
- package/dist/esm/util/get-test-id/get-test-id.d.ts.map +1 -1
- package/dist/esm/util/set-prop-test-id/set-prop-test-id.d.ts.map +1 -1
- package/dist/esm/util/set-test-id/set-test-id.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-wdio-commands.d.ts","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"add-wdio-commands.d.ts","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,KAAG,IAyBlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/clear-input.command.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"clear-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/clear-input.command.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAoC,MAAM,WAAW,CAAC,OAAO,KAAG,OAAO,CAAC,IAAI,CASzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC5B,KAAK,MAAM,EACX,cAAa,MAAgD,KAC9D,OAAO,CAAC,IAAI,CAuBd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relative-click.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/relative-click.command.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"relative-click.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/relative-click.command.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,GAC7B,MAAM,WAAW,CAAC,OAAO,EACzB,UAAU,MAAM,EAChB,UAAU,MAAM,KACjB,OAAO,CAAC,IAAI,CAQd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slow-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/slow-input.command.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"slow-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/slow-input.command.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,GACzB,MAAM,WAAW,CAAC,OAAO,EACzB,OAAO,MAAM,EACb,cAA2B,KAC5B,OAAO,CAAC,IAAI,CAUd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swipe.command.d.ts","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,UAAU,QAAQ;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb;
|
|
1
|
+
{"version":3,"file":"swipe.command.d.ts","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,UAAU,QAAQ;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb;AA6CD,eAAO,MAAM,YAAY,GACrB,MAAM,WAAW,CAAC,OAAO,EACzB,WAAW,kBAAkB,EAC7B,SAAQ,QAAyB,KAClC,OAAO,CAAC,IAAI,CASd,CAAC"}
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.swipeCommand = void 0;
|
|
4
4
|
const globals_1 = require("@wdio/globals");
|
|
5
5
|
const getSwipePositionsByDirection = async (element, direction, offset = { x: 0, y: 0 }) => {
|
|
6
|
-
// eslint-disable-next-line no-magic-numbers
|
|
7
6
|
const ANDROID_SWIPE_OFFSET = globals_1.browser.isAndroid ? -10 : 0;
|
|
8
7
|
const elSize = await element.getSize();
|
|
9
8
|
const elPos = await element.getLocation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swipe.command.js","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AASxC,MAAM,4BAA4B,GAAG,KAAK,EACtC,OAA4B,EAC5B,SAA6B,EAC7B,SAAmB,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EACQ,EAAE;IAC3C,
|
|
1
|
+
{"version":3,"file":"swipe.command.js","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AASxC,MAAM,4BAA4B,GAAG,KAAK,EACtC,OAA4B,EAC5B,SAA6B,EAC7B,SAAmB,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EACQ,EAAE;IAC3C,MAAM,oBAAoB,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAEzD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,OA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AAC,KAAK,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE;gBACzD,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,oBAAoB,EAAE;aACnE,CAAC;QAEN;YACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,CAAC;AACL,CAAC,CAAC;AAEK,MAAM,YAAY,GAAG,KAAK,UAAU,YAAY,CAEnD,SAA6B,EAC7B,SAAmB,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;IAEjC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,MAAM,4BAA4B,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAE3F,MAAM,iBAAO,CAAC,WAAW,CAAC;QACtB,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE;QAClC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE;QAC3B,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE;QACjC,SAAS;KACZ,CAAC,CAAC;AACP,CAAC,CAAC;AAbW,QAAA,YAAY,gBAavB"}
|
|
@@ -4,15 +4,12 @@ exports.Component = void 0;
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
const shared_1 = require("@rnw-community/shared");
|
|
6
6
|
const selector_element_1 = require("../selector-element/selector-element");
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
7
|
class Component {
|
|
9
8
|
constructor(config, selectors) {
|
|
10
9
|
this.config = config;
|
|
11
10
|
this.selectors = selectors;
|
|
12
11
|
this.parentComponents = [];
|
|
13
|
-
// eslint-disable-next-line no-constructor-return
|
|
14
12
|
return new Proxy(this, {
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
16
13
|
get(client, field, receiver) {
|
|
17
14
|
return client.proxyGet(field, receiver);
|
|
18
15
|
},
|
|
@@ -42,7 +39,6 @@ class Component {
|
|
|
42
39
|
}
|
|
43
40
|
proxyGet(field, receiver, notFoundFn) {
|
|
44
41
|
if (Reflect.has(this, field)) {
|
|
45
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
46
42
|
return Reflect.get(this, field, receiver);
|
|
47
43
|
}
|
|
48
44
|
const selector = this.selectors[field];
|
|
@@ -51,7 +47,6 @@ class Component {
|
|
|
51
47
|
}
|
|
52
48
|
for (const parentComponent of this.parentComponents) {
|
|
53
49
|
if (Reflect.has(parentComponent, field) || field in parentComponent.selectors) {
|
|
54
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
55
50
|
return Reflect.get(parentComponent, field, receiver);
|
|
56
51
|
}
|
|
57
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":";;;AAAA,oBAAoB;AACpB,kDAAkD;AAElD,2EAAuE;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":";;;AAAA,oBAAoB;AACpB,kDAAkD;AAElD,2EAAuE;AAMvE,MAAa,SAAS;IAGlB,YACc,MAAgC,EAChC,SAAY;QADZ,WAAM,GAAN,MAAM,CAA0B;QAChC,cAAS,GAAT,SAAS,CAAG;QAJhB,qBAAgB,GAAgB,EAAE,CAAC;QAOzC,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YAEnB,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,CA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AI,EAAE,QAAQ,CAAC,CAAC;QAC/C,CAAC;QAED,KAAK,MAAM,eAAe,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAClD,IAAI,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,IAAI,KAAK,IAAI,eAAe,CAAC,SAAS,EAAE,CAAC;gBAE5E,OAAO,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACzD,CAAC;QACL,CAAC;QAED,OAAO,UAAU,EAAE,EAAE,CAAC;IAC1B,CAAC;CACJ;AArED,8BAqEC"}
|
|
@@ -1 +1 @@
|
|
|
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,eAAe,GAAI,CAAC,
|
|
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,eAAe,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,sBAAsB,CAAC,CAAC,CAAuC,CAAC"}
|
|
@@ -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,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"get-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-component/get-component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,0BAA0B,CAAC,CAAC,CAA+C,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":"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,GAAI,CAAC,EAAE,CAAC,SAAS,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,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,EACvD,WAAW,CAAC,EACZ,iBAAiB,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,CASO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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,GAAI,CAAC,
|
|
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,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,sBAAsB,CAAC,CAAC,CAAwC,CAAC"}
|
|
@@ -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,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,aAAa,GAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"get-component$.d.ts","sourceRoot":"","sources":["../../../../src/component$/get-component$/get-component$.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,0BAA0B,CAAC,CAAC,CAAgD,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,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAE,CAAC,SAAS,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,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,EACxD,WAAW,CAAC,EACZ,iBAAiB,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAU7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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,qBAAqB,GAAI,CAAC,
|
|
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,qBAAqB,GAAI,CAAC,EACnC,WAAW,CAAC,EACZ,mBAAmB,iBAAiB,KACrC,4BAA4B,CAAC,CAAC,CAA8D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACnE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,GAC9B,6CAA6C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEvD,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACnE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,EAC7B,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GACzB,0CAA0C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
package/dist/cjs/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getExtendedRootedComponent = getExtendedRootedComponent;
|
|
4
|
+
/* eslint-disable no-implicit-globals */
|
|
4
5
|
const default_component_config_1 = require("../../config/default-component.config");
|
|
5
6
|
const rooted_component_1 = require("../rooted-component");
|
|
6
|
-
// eslint-disable-next-line func-style
|
|
7
7
|
function getExtendedRootedComponent(selectors, ParentComponent, rootSelector
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9
9
|
) {
|
package/dist/cjs/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":";;AAsBA,gEAeC;AArCD,oFAA+E;AAC/E,0DAAsD;AAoBtD,
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":";;AAsBA,gEAeC;AArCD,wCAAwC;AACxC,oFAA+E;AAC/E,0DAAsD;AAoBtD,SAAgB,0BAA0B,CACtC,SAAY,EACZ,eAA6B,EAC7B,YAAqB;AACrB,8DAA8D;;IAE9D,OAAO,KAAM,SAAQ,kCAAe;QAChC,YAAY,wBAAuD,YAAY;YAC3E,KAAK,CAAC,IAAA,iDAAsB,GAAE,EAAE,SAAS,EAAE,qBAAqB,CAAC,CAAC;YAElE,IAAI,eAAe,KAAK,kCAAe,EAAE,CAAC;gBACtC,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAC;YACxE,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAE9D,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,6CAA6C,CAAC,CAAC,CAAC,CAAC;AACtG,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,0CAA0C,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRootedComponent = getRootedComponent;
|
|
4
|
+
/* eslint-disable no-implicit-globals */
|
|
4
5
|
const shared_1 = require("@rnw-community/shared");
|
|
5
6
|
const get_extended_rooted_component_1 = require("../get-extended-rooted-component/get-extended-rooted-component");
|
|
6
7
|
const rooted_component_1 = require("../rooted-component");
|
|
7
|
-
// eslint-disable-next-line
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
9
|
function getRootedComponent(selectors, rootSelector) {
|
|
9
10
|
if ((0, shared_1.isDefined)(rootSelector)) {
|
|
10
11
|
return (0, get_extended_rooted_component_1.getExtendedRootedComponent)(selectors, rooted_component_1.RootedComponent, rootSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"get-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":";;AAeA,gDAMC;AArBD,wCAAwC;AACxC,kDAAkD;AAElD,kHAA4G;AAC5G,0DAAsD;AAUtD,8DAA8D;AAC9D,SAAgB,kBAAkB,CAAI,SAAY,EAAE,YAAyB;IACzE,IAAI,IAAA,kBAAS,EAAC,YAAY,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAA,0DAA0B,EAAC,SAAS,EAAE,kCAAe,EAAE,YAAY,CAAC,CAAC;IAChF,CAAC;IAED,OAAO,IAAA,0DAA0B,EAAC,SAAS,EAAE,kCAAe,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -19,14 +19,11 @@ class RootedComponent extends component_1.Component {
|
|
|
19
19
|
this.parentElInput = parentElInput;
|
|
20
20
|
// eslint-disable-next-line no-constructor-return
|
|
21
21
|
return new Proxy(this, {
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
23
22
|
get(client, field, receiver) {
|
|
24
23
|
return client.proxyGet(field, receiver, () => {
|
|
25
24
|
if (!['then', 'catch', 'finally'].includes(field)) {
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
27
25
|
return Reflect.get(client.RootEl, field, receiver);
|
|
28
26
|
}
|
|
29
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
30
27
|
return Reflect.get(client, field, receiver);
|
|
31
28
|
});
|
|
32
29
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":";;;AAAA,kDAA4D;AAE5D,sDAAmD;AAKnD,8DAA8D;AAC9D,MAAa,eAAyB,SAAQ,qBAAY;IAGtD,YAAY,MAAgC,EAAE,SAAY,EAAE,aAA4C;QACpG,IAAI,CAAC,IAAA,kBAAS,EAAC,aAAa,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;QACxG,CAAC;QAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,aAAa,CAAC,IAAI,KAAK,IAAI,aAAa,EAAE,CAAC;YACrD,MAAM,IAAI,KAAK,CAAC,+DAA+D,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,aAAa,CAAC,IAAI,MAAM,IAAI,aAAa,EAAE,CAAC;YACtD,MAAM,IAAI,KAAK,CAAC,4FAA4F,CAAC,CAAC;QAClH,CAAC;QAED,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAEzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QAEnC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":";;;AAAA,kDAA4D;AAE5D,sDAAmD;AAKnD,8DAA8D;AAC9D,MAAa,eAAyB,SAAQ,qBAAY;IAGtD,YAAY,MAAgC,EAAE,SAAY,EAAE,aAA4C;QACpG,IAAI,CAAC,IAAA,kBAAS,EAAC,aAAa,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;QACxG,CAAC;QAED,IAAI,CAAC,IAAA,iBAAQ,EAAC,aAAa,CAAC,IAAI,KAAK,IAAI,aAAa,EAAE,CAAC;YACrD,MAAM,IAAI,KAAK,CAAC,+DAA+D,C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C,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACtE,CAAC;CACJ;AApDD,0CAoDC"}
|
package/dist/cjs/rooted-component$/create-rooted-component$/create-rooted-component$.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,GAAI,CAAC,
|
|
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,GAAI,CAAC,EACpC,WAAW,CAAC,EACZ,mBAAmB,iBAAiB,KACrC,4BAA4B,CAAC,CAAC,CAA+D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAG1E,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACpE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,GAC9B,6CAA6C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEvD,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACpE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,EAC7B,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GACzB,0CAA0C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
package/dist/cjs/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getExtendedRootedComponent$ = getExtendedRootedComponent$;
|
|
4
|
+
/* eslint-disable no-implicit-globals */
|
|
4
5
|
const default__component_config_1 = require("../../config/default$-component.config");
|
|
5
6
|
const rooted_component_1 = require("../../rooted-component/rooted-component");
|
|
6
|
-
// eslint-disable-next-line func-style
|
|
7
7
|
function getExtendedRootedComponent$(selectors, ParentComponent, rootSelector
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9
9
|
) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component$.js","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":";;AAsBA,kEAeC;AArCD,sFAAiF;AACjF,8EAA0E;AAoB1E,
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component$.js","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":";;AAsBA,kEAeC;AArCD,wCAAwC;AACxC,sFAAiF;AACjF,8EAA0E;AAoB1E,SAAgB,2BAA2B,CACvC,SAAY,EACZ,eAA6B,EAC7B,YAAqB;AACrB,8DAA8D;;IAE9D,OAAO,KAAM,SAAQ,kCAAe;QAChC,YAAY,oBAAmD,YAAY;YACvE,KAAK,CAAC,IAAA,mDAAuB,GAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;YAE/D,IAAI,eAAe,KAAK,kCAAe,EAAE,CAAC;gBACtC,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC;YACpE,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-rooted-component$/get-rooted-component$.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-rooted-component$/get-rooted-component$.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAE9D,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,6CAA6C,CAAC,CAAC,CAAC,CAAC;AACvG,wBAAgB,mBAAmB,CAAC,CAAC,EACjC,SAAS,EAAE,CAAC,EACZ,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GACzB,0CAA0C,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRootedComponent$ = getRootedComponent$;
|
|
4
|
+
/* eslint-disable no-implicit-globals */
|
|
4
5
|
const shared_1 = require("@rnw-community/shared");
|
|
5
6
|
const rooted_component_1 = require("../../rooted-component/rooted-component");
|
|
6
7
|
const get_extended_rooted_component_1 = require("../get-extended-rooted-component$/get-extended-rooted-component$");
|
|
7
|
-
// eslint-disable-next-line
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
9
|
function getRootedComponent$(selectors, rootSelector) {
|
|
9
10
|
if ((0, shared_1.isDefined)(rootSelector)) {
|
|
10
11
|
return (0, get_extended_rooted_component_1.getExtendedRootedComponent$)(selectors, rooted_component_1.RootedComponent, rootSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rooted-component$.js","sourceRoot":"","sources":["../../../../src/rooted-component$/get-rooted-component$/get-rooted-component$.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"get-rooted-component$.js","sourceRoot":"","sources":["../../../../src/rooted-component$/get-rooted-component$/get-rooted-component$.ts"],"names":[],"mappings":";;AAkBA,kDAMC;AAxBD,wCAAwC;AACxC,kDAAkD;AAElD,8EAA0E;AAC1E,oHAA+G;AAa/G,8DAA8D;AAC9D,SAAgB,mBAAmB,CAAI,SAAY,EAAE,YAAyB;IAC1E,IAAI,IAAA,kBAAS,EAAC,YAAY,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAA,2DAA2B,EAAC,SAAS,EAAE,kCAAe,EAAE,YAAY,CAAC,CAAC;IACjF,CAAC;IAED,OAAO,IAAA,2DAA2B,EAAC,SAAS,EAAE,kCAAe,CAAC,CAAC;AACnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"android-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/android-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"android-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/android-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,KAAG,MAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ios-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/ios-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ios-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/ios-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,KAAG,MAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobile-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/mobile-testid.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"mobile-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/mobile-testid.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,MAC+B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-id.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/test-id.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"test-id.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/test-id.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,KAAG,MACoC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/web-testid.selector.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"web-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/web-testid.selector.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,KAAG,MAA8C,CAAC"}
|
|
@@ -7,10 +7,8 @@ class SelectorElement {
|
|
|
7
7
|
this.enumSelector = enumSelector;
|
|
8
8
|
// eslint-disable-next-line no-constructor-return
|
|
9
9
|
return new Proxy(this, {
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
11
10
|
get(client, field, receiver) {
|
|
12
11
|
if (Reflect.has(client, field)) {
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
14
12
|
return Reflect.get(client, field, receiver);
|
|
15
13
|
}
|
|
16
14
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-element.js","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;IACxB,YACqB,SAAoB,EACpB,YAAoB;QADpB,cAAS,GAAT,SAAS,CAAW;QACpB,iBAAY,GAAZ,YAAY,CAAQ;QAErC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"selector-element.js","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;IACxB,YACqB,SAAoB,EACpB,YAAoB;QADpB,cAAS,GAAT,SAAS,CAAW;QACpB,iBAAY,GAAZ,YAAY,CAAQ;QAErC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YAEnB,GAAG,CAAC,MAAM,EAAE,KAAa,EAAE,QAAQ;gBAC/B,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;oBAE7B,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;gBAChD,CAAC;gBAED,+DAA+D;gBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YAC5E,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAED,EAAE;QACE,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACxD,CAAC;IAED,GAAG;QACC,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,GAAW;QACb,OAAO,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IAClE,CAAC;CACJ;AA/BD,0CA+BC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Platform = void 0;
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/no-require-imports,@typescript-eslint/no-
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports,@typescript-eslint/no-unsafe-assignment,n/no-extraneous-require
|
|
5
5
|
const { Platform: RNPlatform } = require('react-native');
|
|
6
6
|
// HINT: This is a hack
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-platform.util.native.js","sourceRoot":"","sources":["../../../../src/util/get-platform/get-platform.util.native.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"get-platform.util.native.js","sourceRoot":"","sources":["../../../../src/util/get-platform/get-platform.util.native.ts"],"names":[],"mappings":";;;AAAA,iIAAiI;AACjI,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAEzD,uBAAuB;AACvB,mEAAmE;AACtD,QAAA,QAAQ,GAAG,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/get-test-id/get-test-id.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKvF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"get-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/get-test-id/get-test-id.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKvF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,kBAAkB,GAAG,WAAW,GAAG,cAAc,EAAE,sBAAkB,KAAG,MAQxG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-prop-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-prop-test-id/set-prop-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"set-prop-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-prop-test-id/set-prop-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,GACtB,eAAe,MAAM,EACrB,OAAO,kBAAkB,GAAG,WAAW,GAAG,cAAc,EACxD,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAC7B,kBAAkB,GAAG,WAAW,GAAG,cAAqE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-test-id/set-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"set-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-test-id/set-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAI,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAG,kBAAkB,GAAG,WAAW,GAAG,cAU3F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-wdio-commands.d.ts","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"add-wdio-commands.d.ts","sourceRoot":"","sources":["../../src/add-wdio-commands.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,KAAG,IAyBlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clear-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/clear-input.command.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"clear-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/clear-input.command.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAoC,MAAM,WAAW,CAAC,OAAO,KAAG,OAAO,CAAC,IAAI,CASzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"open-deep-link.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/open-deep-link.command.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC5B,KAAK,MAAM,EACX,cAAa,MAAgD,KAC9D,OAAO,CAAC,IAAI,CAuBd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relative-click.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/relative-click.command.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"relative-click.command.d.ts","sourceRoot":"","sources":["../../../../src/command/mobile/relative-click.command.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,GAC7B,MAAM,WAAW,CAAC,OAAO,EACzB,UAAU,MAAM,EAChB,UAAU,MAAM,KACjB,OAAO,CAAC,IAAI,CAQd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slow-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/slow-input.command.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"slow-input.command.d.ts","sourceRoot":"","sources":["../../../src/command/slow-input.command.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,GACzB,MAAM,WAAW,CAAC,OAAO,EACzB,OAAO,MAAM,EACb,cAA2B,KAC5B,OAAO,CAAC,IAAI,CAUd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swipe.command.d.ts","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,UAAU,QAAQ;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb;
|
|
1
|
+
{"version":3,"file":"swipe.command.d.ts","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,UAAU,QAAQ;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACb;AA6CD,eAAO,MAAM,YAAY,GACrB,MAAM,WAAW,CAAC,OAAO,EACzB,WAAW,kBAAkB,EAC7B,SAAQ,QAAyB,KAClC,OAAO,CAAC,IAAI,CASd,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { browser } from '@wdio/globals';
|
|
2
2
|
const getSwipePositionsByDirection = async (element, direction, offset = { x: 0, y: 0 }) => {
|
|
3
|
-
// eslint-disable-next-line no-magic-numbers
|
|
4
3
|
const ANDROID_SWIPE_OFFSET = browser.isAndroid ? -10 : 0;
|
|
5
4
|
const elSize = await element.getSize();
|
|
6
5
|
const elPos = await element.getLocation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swipe.command.js","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AASxC,MAAM,4BAA4B,GAAG,KAAK,EACtC,OAA4B,EAC5B,SAA6B,EAC7B,SAAmB,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EACQ,EAAE;IAC3C,
|
|
1
|
+
{"version":3,"file":"swipe.command.js","sourceRoot":"","sources":["../../../src/command/swipe.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AASxC,MAAM,4BAA4B,GAAG,KAAK,EACtC,OAA4B,EAC5B,SAA6B,EAC7B,SAAmB,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EACQ,EAAE;IAC3C,MAAM,oBAAoB,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,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E,EAAE,EAAE;aACjC,CAAC;QAEN,KAAK,QAAQ;YACT,OAAO;gBACH,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,EAAE;gBACzD,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,oBAAoB,EAAE;aACnE,CAAC;QAEN;YACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACnD,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,KAAK,UAAU,YAAY,CAEnD,SAA6B,EAC7B,SAAmB,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;IAEjC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,MAAM,4BAA4B,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAE3F,MAAM,OAAO,CAAC,WAAW,CAAC;QACtB,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE;QAClC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE;QAC3B,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE;QACjC,SAAS;KACZ,CAAC,CAAC;AACP,CAAC,CAAC"}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
import { isDefined } from '@rnw-community/shared';
|
|
3
3
|
import { SelectorElement } from '../selector-element/selector-element';
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
4
|
export class Component {
|
|
6
5
|
constructor(config, selectors) {
|
|
7
6
|
this.config = config;
|
|
8
7
|
this.selectors = selectors;
|
|
9
8
|
this.parentComponents = [];
|
|
10
|
-
// eslint-disable-next-line no-constructor-return
|
|
11
9
|
return new Proxy(this, {
|
|
12
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
13
10
|
get(client, field, receiver) {
|
|
14
11
|
return client.proxyGet(field, receiver);
|
|
15
12
|
},
|
|
@@ -39,7 +36,6 @@ export class Component {
|
|
|
39
36
|
}
|
|
40
37
|
proxyGet(field, receiver, notFoundFn) {
|
|
41
38
|
if (Reflect.has(this, field)) {
|
|
42
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
43
39
|
return Reflect.get(this, field, receiver);
|
|
44
40
|
}
|
|
45
41
|
const selector = this.selectors[field];
|
|
@@ -48,7 +44,6 @@ export class Component {
|
|
|
48
44
|
}
|
|
49
45
|
for (const parentComponent of this.parentComponents) {
|
|
50
46
|
if (Reflect.has(parentComponent, field) || field in parentComponent.selectors) {
|
|
51
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
52
47
|
return Reflect.get(parentComponent, field, receiver);
|
|
53
48
|
}
|
|
54
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/component/component.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,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,oBAAoB;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAMvE,MAAM,OAAO,SAAS;IAGlB,YACc,MAAgC,EAChC,SAAY;QADZ,WAAM,GAAN,MAAM,CAA0B;QAChC,cAAS,GAAT,SAAS,CAAG;QAJhB,qBAAgB,GAAgB,EAAE,CAAC;QAOzC,OAAO,IAAI,KAAK,CAAC,IAAI,E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EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC9C,CAAC;QAED,MAAM,QAAQ,GAAI,IAAI,CAAC,SAA+B,CAAC,KAAK,CAAsB,CAAC;QACnF,IAAI,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC;YACtB,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC/C,CAAC;QAED,KAAK,MAAM,eAAe,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAClD,IAAI,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,IAAI,KAAK,IAAI,eAAe,CAAC,SAAS,EAAE,CAAC;gBAE5E,OAAO,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACzD,CAAC;QACL,CAAC;QAED,OAAO,UAAU,EAAE,EAAE,CAAC;IAC1B,CAAC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
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,eAAe,GAAI,CAAC,
|
|
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,eAAe,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,sBAAsB,CAAC,CAAC,CAAuC,CAAC"}
|
|
@@ -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,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"get-component.d.ts","sourceRoot":"","sources":["../../../../src/component/get-component/get-component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,0BAA0B,CAAC,CAAC,CAA+C,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":"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,GAAI,CAAC,EAAE,CAAC,SAAS,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,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,EACvD,WAAW,CAAC,EACZ,iBAAiB,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,CASO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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,GAAI,CAAC,
|
|
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,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,sBAAsB,CAAC,CAAC,CAAwC,CAAC"}
|
|
@@ -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,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,aAAa,GAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"get-component$.d.ts","sourceRoot":"","sources":["../../../../src/component$/get-component$/get-component$.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAE7D,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,WAAW,CAAC,KAAG,0BAA0B,CAAC,CAAC,CAAgD,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,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAE,CAAC,SAAS,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,GAAI,CAAC,EAAE,CAAC,SAAS,SAAS,EACxD,WAAW,CAAC,EACZ,iBAAiB,SAAS,CAAC,CAAC,CAAC,KAC9B,0BAA0B,CAAC,CAAC,EAAE,CAAC,CAU7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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,qBAAqB,GAAI,CAAC,
|
|
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,qBAAqB,GAAI,CAAC,EACnC,WAAW,CAAC,EACZ,mBAAmB,iBAAiB,KACrC,4BAA4B,CAAC,CAAC,CAA8D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACnE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,GAC9B,6CAA6C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEvD,wBAAgB,0BAA0B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACnE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,EAC7B,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GACzB,0CAA0C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
package/dist/esm/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/* eslint-disable no-implicit-globals */
|
|
1
2
|
import { defaultComponentConfig } from '../../config/default-component.config';
|
|
2
3
|
import { RootedComponent } from '../rooted-component';
|
|
3
|
-
// eslint-disable-next-line func-style
|
|
4
4
|
export function getExtendedRootedComponent(selectors, ParentComponent, rootSelector
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
6
|
) {
|
package/dist/esm/rooted-component/get-extended-rooted-component/get-extended-rooted-component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAoBtD,
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get-extended-rooted-component/get-extended-rooted-component.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAoBtD,MAAM,UAAU,0BAA0B,CACtC,SAAY,EACZ,eAA6B,EAC7B,YAAqB;AACrB,8DAA8D;;IAE9D,OAAO,KAAM,SAAQ,eAAe;QAChC,YAAY,wBAAuD,YAAY;YAC3E,KAAK,CAAC,sBAAsB,EAAE,EAAE,SAAS,EAAE,qBAAqB,CAAC,CAAC;YAElE,IAAI,eAAe,KAAK,eAAe,EAAE,CAAC;gBACtC,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,CAAC,qBAAqB,CAAC,CAAC,CAAC;YACxE,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rooted-component.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAE9D,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,6CAA6C,CAAC,CAAC,CAAC,CAAC;AACtG,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,0CAA0C,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/* eslint-disable no-implicit-globals */
|
|
1
2
|
import { isDefined } from '@rnw-community/shared';
|
|
2
3
|
import { getExtendedRootedComponent } from '../get-extended-rooted-component/get-extended-rooted-component';
|
|
3
4
|
import { RootedComponent } from '../rooted-component';
|
|
4
|
-
// eslint-disable-next-line
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
6
|
export function getRootedComponent(selectors, rootSelector) {
|
|
6
7
|
if (isDefined(rootSelector)) {
|
|
7
8
|
return getExtendedRootedComponent(selectors, RootedComponent, rootSelector);
|
|
@@ -1 +1 @@
|
|
|
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,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAUtD,
|
|
1
|
+
{"version":3,"file":"get-rooted-component.js","sourceRoot":"","sources":["../../../../src/rooted-component/get-rooted-component/get-rooted-component.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gEAAgE,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAUtD,8DAA8D;AAC9D,MAAM,UAAU,kBAAkB,CAAI,SAAY,EAAE,YAAyB;IACzE,IAAI,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC;QAC1B,OAAO,0BAA0B,CAAC,SAAS,EAAE,eAAe,EAAE,YAAY,CAAC,CAAC;IAChF,CAAC;IAED,OAAO,0BAA0B,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -16,14 +16,11 @@ export class RootedComponent extends Component {
|
|
|
16
16
|
this.parentElInput = parentElInput;
|
|
17
17
|
// eslint-disable-next-line no-constructor-return
|
|
18
18
|
return new Proxy(this, {
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
20
19
|
get(client, field, receiver) {
|
|
21
20
|
return client.proxyGet(field, receiver, () => {
|
|
22
21
|
if (!['then', 'catch', 'finally'].includes(field)) {
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
24
22
|
return Reflect.get(client.RootEl, field, receiver);
|
|
25
23
|
}
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
27
24
|
return Reflect.get(client, field, receiver);
|
|
28
25
|
});
|
|
29
26
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,8DAA8D;AAC9D,MAAM,OAAO,eAAyB,SAAQ,SAAY;IAGtD,YAAY,MAAgC,EAAE,SAAY,EAAE,aAA4C;QACpG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CAAC,kFAAkF,CAAC,CAAC;QACxG,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,KAAK,IAAI,aAAa,EAAE,CAAC;YACrD,MAAM,IAAI,KAAK,CAAC,+DAA+D,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,MAAM,IAAI,aAAa,EAAE,CAAC;YACtD,MAAM,IAAI,KAAK,CAAC,4FAA4F,CAAC,CAAC;QAClH,CAAC;QAED,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAEzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QAEnC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"rooted-component.js","sourceRoot":"","sources":["../../../src/rooted-component/rooted-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,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AED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACxD,CAAC;IAEQ,UAAU,CAAC,QAAgB;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC3D,CAAC;IAEQ,WAAW,CAAC,QAAgB;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5D,CAAC;IAEQ,eAAe,CAAC,QAAgB,EAAE,GAAW;QAClD,OAAO,IAAI,CAAC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACtE,CAAC;CACJ"}
|
package/dist/esm/rooted-component$/create-rooted-component$/create-rooted-component$.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,GAAI,CAAC,
|
|
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,GAAI,CAAC,EACpC,WAAW,CAAC,EACZ,mBAAmB,iBAAiB,KACrC,4BAA4B,CAAC,CAAC,CAA+D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAG1E,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACpE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,GAC9B,6CAA6C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEvD,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,SAAS,eAAe,EACpE,SAAS,EAAE,CAAC,EACZ,eAAe,EAAE,SAAS,CAAC,CAAC,CAAC,EAC7B,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GACzB,0CAA0C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
package/dist/esm/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/* eslint-disable no-implicit-globals */
|
|
1
2
|
import { default$ComponentConfig } from '../../config/default$-component.config';
|
|
2
3
|
import { RootedComponent } from '../../rooted-component/rooted-component';
|
|
3
|
-
// eslint-disable-next-line func-style
|
|
4
4
|
export function getExtendedRootedComponent$(selectors, ParentComponent, rootSelector
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
6
|
) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-extended-rooted-component$.js","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAoB1E,
|
|
1
|
+
{"version":3,"file":"get-extended-rooted-component$.js","sourceRoot":"","sources":["../../../../src/rooted-component$/get-extended-rooted-component$/get-extended-rooted-component$.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAoB1E,MAAM,UAAU,2BAA2B,CACvC,SAAY,EACZ,eAA6B,EAC7B,YAAqB;AACrB,8DAA8D;;IAE9D,OAAO,KAAM,SAAQ,eAAe;QAChC,YAAY,oBAAmD,YAAY;YACvE,KAAK,CAAC,uBAAuB,EAAE,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC;YAE/D,IAAI,eAAe,KAAK,eAAe,EAAE,CAAC;gBACtC,IAAI,CAAC,kBAAkB,CAAC,IAAI,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC;YACpE,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-rooted-component$/get-rooted-component$.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rooted-component$.d.ts","sourceRoot":"","sources":["../../../../src/rooted-component$/get-rooted-component$/get-rooted-component$.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACR,0CAA0C,EAC1C,6CAA6C,EAChD,MAAM,sDAAsD,CAAC;AAE9D,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,6CAA6C,CAAC,CAAC,CAAC,CAAC;AACvG,wBAAgB,mBAAmB,CAAC,CAAC,EACjC,SAAS,EAAE,CAAC,EACZ,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GACzB,0CAA0C,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/* eslint-disable no-implicit-globals */
|
|
1
2
|
import { isDefined } from '@rnw-community/shared';
|
|
2
3
|
import { RootedComponent } from '../../rooted-component/rooted-component';
|
|
3
4
|
import { getExtendedRootedComponent$ } from '../get-extended-rooted-component$/get-extended-rooted-component$';
|
|
4
|
-
// eslint-disable-next-line
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
6
|
export function getRootedComponent$(selectors, rootSelector) {
|
|
6
7
|
if (isDefined(rootSelector)) {
|
|
7
8
|
return getExtendedRootedComponent$(selectors, RootedComponent, rootSelector);
|
|
@@ -1 +1 @@
|
|
|
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,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAa/G,
|
|
1
|
+
{"version":3,"file":"get-rooted-component$.js","sourceRoot":"","sources":["../../../../src/rooted-component$/get-rooted-component$/get-rooted-component$.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAa/G,8DAA8D;AAC9D,MAAM,UAAU,mBAAmB,CAAI,SAAY,EAAE,YAAyB;IAC1E,IAAI,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC;QAC1B,OAAO,2BAA2B,CAAC,SAAS,EAAE,eAAe,EAAE,YAAY,CAAC,CAAC;IACjF,CAAC;IAED,OAAO,2BAA2B,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;AACnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"android-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/android-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"android-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/android-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,KAAG,MAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ios-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/ios-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ios-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/ios-testid.selector.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,KAAG,MAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobile-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/mobile-testid.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"mobile-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/mobile-testid.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM,KAAG,MAC+B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-id.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/test-id.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"test-id.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/test-id.selector.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,GAAI,QAAQ,MAAM,KAAG,MACoC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/web-testid.selector.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"web-testid.selector.d.ts","sourceRoot":"","sources":["../../../src/selector/web-testid.selector.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,KAAG,MAA8C,CAAC"}
|
|
@@ -4,10 +4,8 @@ export class SelectorElement {
|
|
|
4
4
|
this.enumSelector = enumSelector;
|
|
5
5
|
// eslint-disable-next-line no-constructor-return
|
|
6
6
|
return new Proxy(this, {
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
8
7
|
get(client, field, receiver) {
|
|
9
8
|
if (Reflect.has(client, field)) {
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
11
9
|
return Reflect.get(client, field, receiver);
|
|
12
10
|
}
|
|
13
11
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-element.js","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,eAAe;IACxB,YACqB,SAAoB,EACpB,YAAoB;QADpB,cAAS,GAAT,SAAS,CAAW;QACpB,iBAAY,GAAZ,YAAY,CAAQ;QAErC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"selector-element.js","sourceRoot":"","sources":["../../../src/selector-element/selector-element.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,eAAe;IACxB,YACqB,SAAoB,EACpB,YAAoB;QADpB,cAAS,GAAT,SAAS,CAAW;QACpB,iBAAY,GAAZ,YAAY,CAAQ;QAErC,iDAAiD;QACjD,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE;YAEnB,GAAG,CAAC,MAAM,EAAE,KAAa,EAAE,QAAQ;gBAC/B,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;oBAE7B,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;gBAChD,CAAC;gBAED,+DAA+D;gBAC/D,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YAC5E,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAED,EAAE;QACE,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACxD,CAAC;IAED,GAAG;QACC,OAAO,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,GAAW;QACb,OAAO,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;IAClE,CAAC;CACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/no-require-imports,@typescript-eslint/no-
|
|
1
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports,@typescript-eslint/no-unsafe-assignment,n/no-extraneous-require
|
|
2
2
|
const { Platform: RNPlatform } = require('react-native');
|
|
3
3
|
// HINT: This is a hack
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-platform.util.native.js","sourceRoot":"","sources":["../../../../src/util/get-platform/get-platform.util.native.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"get-platform.util.native.js","sourceRoot":"","sources":["../../../../src/util/get-platform/get-platform.util.native.ts"],"names":[],"mappings":"AAAA,iIAAiI;AACjI,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAEzD,uBAAuB;AACvB,mEAAmE;AACnE,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/get-test-id/get-test-id.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKvF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"get-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/get-test-id/get-test-id.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKvF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,kBAAkB,GAAG,WAAW,GAAG,cAAc,EAAE,sBAAkB,KAAG,MAQxG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-prop-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-prop-test-id/set-prop-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"set-prop-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-prop-test-id/set-prop-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,GACtB,eAAe,MAAM,EACrB,OAAO,kBAAkB,GAAG,WAAW,GAAG,cAAc,EACxD,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAC7B,kBAAkB,GAAG,WAAW,GAAG,cAAqE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-test-id/set-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"set-test-id.d.ts","sourceRoot":"","sources":["../../../../src/util/set-test-id/set-test-id.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEvF;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,GAAI,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAG,kBAAkB,GAAG,WAAW,GAAG,cAU3F,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/wdio",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"description": "WDIO commands, page objects and utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wdio",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=18.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "96ca692da03b41873d3d6e79a55486fc4ae514da",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@rnw-community/shared": "1.
|
|
48
|
-
"@wdio/globals": "^9.
|
|
49
|
-
"@wdio/protocols": "^9.
|
|
50
|
-
"webdriverio": "^9.
|
|
47
|
+
"@rnw-community/shared": "^1.8.2",
|
|
48
|
+
"@wdio/globals": "^9.17.0",
|
|
49
|
+
"@wdio/protocols": "^9.16.2",
|
|
50
|
+
"webdriverio": "^9.20.0"
|
|
51
51
|
}
|
|
52
52
|
}
|