be-hive 0.0.186 → 0.0.187
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/be-hive.js +5 -2
- package/package.json +4 -4
package/be-hive.js
CHANGED
|
@@ -42,7 +42,7 @@ export class BeHive extends Synthesizer {
|
|
|
42
42
|
//TODO allow for programmatic adjustments in load event
|
|
43
43
|
//this.dispatchEvent(new RegistryEventImpl(mergeWithDefaults));
|
|
44
44
|
if (mergeWithDefaults.block)
|
|
45
|
-
return;
|
|
45
|
+
return { mode: 'exclude' };
|
|
46
46
|
const { base, block, branches, enhancedElementInstanceOf, enhancedElementMatches, hostInstanceOf, hostMatches, leaves, preBaseDelimiter, preBranchDelimiter, importEnh, preLeafDelimiter, hasRootIn, map, osotas } = mergeWithDefaults;
|
|
47
47
|
const mi = {
|
|
48
48
|
on: enhancedElementMatches,
|
|
@@ -60,7 +60,9 @@ export class BeHive extends Synthesizer {
|
|
|
60
60
|
throw 'NI';
|
|
61
61
|
}
|
|
62
62
|
mose.init = mi;
|
|
63
|
-
super.activate(mose);
|
|
63
|
+
const activeStatus = super.activate(mose);
|
|
64
|
+
if (activeStatus.mode !== 'active')
|
|
65
|
+
return activeStatus;
|
|
64
66
|
const mo = mose.observer;
|
|
65
67
|
mo.addEventListener('mount', async (e) => {
|
|
66
68
|
const { mountedElement } = e;
|
|
@@ -115,6 +117,7 @@ export class BeHive extends Synthesizer {
|
|
|
115
117
|
mountCnfg: mergeWithDefaults
|
|
116
118
|
});
|
|
117
119
|
});
|
|
120
|
+
return activeStatus;
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
123
|
if (customElements.get('be-hive') === undefined) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "be-hive",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.187",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"web-components",
|
|
6
6
|
"web-component",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"update": "ncu -u && npm install"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"be-enhanced": "0.0.
|
|
31
|
+
"be-enhanced": "0.0.110",
|
|
32
32
|
"mount-observer": "0.0.28",
|
|
33
|
-
"trans-render": "0.0.
|
|
33
|
+
"trans-render": "0.0.794"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"may-it-serve": "0.0.
|
|
36
|
+
"may-it-serve": "0.0.8"
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|