wj-elements 0.1.108 → 0.1.110
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/wje-element.js +6 -9
- package/package.json +1 -1
package/dist/wje-element.js
CHANGED
|
@@ -619,16 +619,13 @@ const _WJElement = class _WJElement extends HTMLElement {
|
|
|
619
619
|
setUpAccessors() {
|
|
620
620
|
let attrs = this.getAttributeNames();
|
|
621
621
|
attrs.forEach((name) => {
|
|
622
|
-
var _a, _b;
|
|
623
622
|
const sanitizedName = this.sanitizeName(name);
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
});
|
|
631
|
-
}
|
|
623
|
+
const protoFunc = Object.getOwnPropertyDescriptors(this.__proto__)[sanitizedName];
|
|
624
|
+
const func = Object.getOwnPropertyDescriptors(this)[sanitizedName];
|
|
625
|
+
Object.defineProperty(this, sanitizedName, {
|
|
626
|
+
set: (func == null ? void 0 : func.set) ?? (protoFunc == null ? void 0 : protoFunc.set) ?? ((value) => this.setAttribute(name, value)),
|
|
627
|
+
get: (func == null ? void 0 : func.get) ?? (protoFunc == null ? void 0 : protoFunc.get) ?? (() => this.getAttribute(name))
|
|
628
|
+
});
|
|
632
629
|
});
|
|
633
630
|
}
|
|
634
631
|
isProcessingFlow(processId) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wj-elements",
|
|
3
3
|
"description": "WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.110",
|
|
5
5
|
"homepage": "https://github.com/lencys/wj-elements",
|
|
6
6
|
"author": "Lukáš Ondrejček <lukas.ondrejcek@gmail.com>",
|
|
7
7
|
"license": "MIT",
|