mol_dump_lib 0.0.8 → 0.0.10
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/README.md +1 -1
- package/node.d.ts +1 -0
- package/node.deps.json +1 -1
- package/node.js +7 -2
- package/node.js.map +1 -1
- package/node.mjs +7 -2
- package/node.test.js +7 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +1 -0
- package/web.deps.json +1 -1
- package/web.js +7 -2
- package/web.js.map +1 -1
- package/web.mjs +7 -2
package/node.mjs
CHANGED
|
@@ -2833,6 +2833,9 @@ var $;
|
|
|
2833
2833
|
}
|
|
2834
2834
|
return names;
|
|
2835
2835
|
}
|
|
2836
|
+
theme() {
|
|
2837
|
+
return null;
|
|
2838
|
+
}
|
|
2836
2839
|
attr_static() {
|
|
2837
2840
|
let attrs = {};
|
|
2838
2841
|
for (let name of this.view_names())
|
|
@@ -2840,7 +2843,9 @@ var $;
|
|
|
2840
2843
|
return attrs;
|
|
2841
2844
|
}
|
|
2842
2845
|
attr() {
|
|
2843
|
-
return {
|
|
2846
|
+
return {
|
|
2847
|
+
mol_theme: this.theme(),
|
|
2848
|
+
};
|
|
2844
2849
|
}
|
|
2845
2850
|
style_size() {
|
|
2846
2851
|
return {
|
|
@@ -3013,7 +3018,7 @@ var $;
|
|
|
3013
3018
|
if (typeof HTMLElement !== 'function')
|
|
3014
3019
|
return;
|
|
3015
3020
|
class Component extends HTMLElement {
|
|
3016
|
-
static tag = View.
|
|
3021
|
+
static tag = $$.$mol_func_name(View).replace(/\W/g, '').replace(/^(?=\d+)/, '-').replace(/_/g, '-');
|
|
3017
3022
|
static observedAttributes = new Set;
|
|
3018
3023
|
view = new View;
|
|
3019
3024
|
root;
|
package/node.test.js
CHANGED
|
@@ -2825,6 +2825,9 @@ var $;
|
|
|
2825
2825
|
}
|
|
2826
2826
|
return names;
|
|
2827
2827
|
}
|
|
2828
|
+
theme() {
|
|
2829
|
+
return null;
|
|
2830
|
+
}
|
|
2828
2831
|
attr_static() {
|
|
2829
2832
|
let attrs = {};
|
|
2830
2833
|
for (let name of this.view_names())
|
|
@@ -2832,7 +2835,9 @@ var $;
|
|
|
2832
2835
|
return attrs;
|
|
2833
2836
|
}
|
|
2834
2837
|
attr() {
|
|
2835
|
-
return {
|
|
2838
|
+
return {
|
|
2839
|
+
mol_theme: this.theme(),
|
|
2840
|
+
};
|
|
2836
2841
|
}
|
|
2837
2842
|
style_size() {
|
|
2838
2843
|
return {
|
|
@@ -3005,7 +3010,7 @@ var $;
|
|
|
3005
3010
|
if (typeof HTMLElement !== 'function')
|
|
3006
3011
|
return;
|
|
3007
3012
|
class Component extends HTMLElement {
|
|
3008
|
-
static tag = View.
|
|
3013
|
+
static tag = $$.$mol_func_name(View).replace(/\W/g, '').replace(/^(?=\d+)/, '-').replace(/_/g, '-');
|
|
3009
3014
|
static observedAttributes = new Set;
|
|
3010
3015
|
view = new View;
|
|
3011
3016
|
root;
|