@tarojs/runtime 3.6.19 → 3.6.20

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.
@@ -248,15 +248,15 @@ function isHasExtractProp(el) {
248
248
  */
249
249
  function isParentBinded(node, type) {
250
250
  var _a;
251
- let res = false;
252
- while ((node === null || node === void 0 ? void 0 : node.parentElement) && node.parentElement._path !== ROOT_STR) {
253
- if ((_a = node.parentElement.__handlers[type]) === null || _a === void 0 ? void 0 : _a.length) {
254
- res = true;
255
- break;
251
+ while ((node = (node === null || node === void 0 ? void 0 : node.parentElement) || null)) {
252
+ if (!node || node.nodeName === ROOT_STR || node.nodeName === 'root-portal') {
253
+ return false;
254
+ }
255
+ else if ((_a = node.__handlers[type]) === null || _a === void 0 ? void 0 : _a.length) {
256
+ return true;
256
257
  }
257
- node = node.parentElement;
258
258
  }
259
- return res;
259
+ return false;
260
260
  }
261
261
  function shortcutAttr(key) {
262
262
  switch (key) {
@@ -4188,7 +4188,7 @@ function createRecursiveComponentConfig(componentName) {
4188
4188
  }
4189
4189
  }
4190
4190
  : EMPTY_OBJ;
4191
- return Object.assign({ properties: {
4191
+ return hooks.call('modifyRecursiveComponentConfig', Object.assign({ properties: {
4192
4192
  i: {
4193
4193
  type: Object,
4194
4194
  value: {
@@ -4204,7 +4204,7 @@ function createRecursiveComponentConfig(componentName) {
4204
4204
  virtualHost: !isCustomWrapper
4205
4205
  }, methods: {
4206
4206
  eh: eventHandler
4207
- } }, lifeCycles);
4207
+ } }, lifeCycles), { isCustomWrapper });
4208
4208
  }
4209
4209
 
4210
4210
  const TIMEOUT = 100;