|
|
@ -62,7 +62,7 @@ class ObjectAccessObject { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* @type {Map<string, Function>} |
|
|
|
* |
|
|
|
*/ |
|
|
|
const helperFun = { |
|
|
|
/** |
|
|
@ -83,6 +83,18 @@ const helperFun = { |
|
|
|
return intoContainer; |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
* @param {HTMLElement} element |
|
|
|
* @returns {string} |
|
|
|
*/ |
|
|
|
getHigherCompSelector: function (element) { |
|
|
|
let dac = "data-autocompel"; |
|
|
|
let hcompel = element.closest('[data-compel-ishcompel="true"]'); |
|
|
|
return `[${dac}="${hcompel.getAttribute(dac)}"]`; |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
* @param {string} selector |
|
|
@ -131,7 +143,8 @@ const helperFun = { |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
* @type {Map<string, Function>} |
|
|
|
* Contains helperFun functions from the installed/loaded extensions |
|
|
|
* (jpclwe-<extension-name>) |
|
|
|
*/ |
|
|
|
extensions: {} |
|
|
|
} |