blue-chestnut-solar-expert 0.0.30 → 0.0.31
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/cjs/eraser-icon.house-icon.icon-selector.map-draw.map-selector.move-icon.octagon-minus-icon.polygon-buttons.polygon-information.search-icon.settings-icon.settings-modal.solar-expert.solar-system-form.tool-box.undo-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/eraser-icon_16.cjs.entry.js +4 -4
- package/dist/cjs/eraser-icon_16.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-C3Kp1xqq.js → index-elxiOP_I.js} +28 -5
- package/dist/cjs/index-elxiOP_I.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/loading-widget.cjs.entry.js +1 -1
- package/dist/cjs/solar-calculator.cjs.entry.js +1 -1
- package/dist/cjs/stencil-library.cjs.js +2 -2
- package/dist/collection/components/map-draw/map-selector.js +1 -1
- package/dist/collection/components/map-draw/map-selector.js.map +1 -1
- package/dist/collection/components/solar-expert/solar-expert.js +3 -2
- package/dist/collection/components/solar-expert/solar-expert.js.map +1 -1
- package/dist/components/index.js +22 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/map-selector.js +1 -1
- package/dist/components/{p-SerH3z5y.js → p-DbJfa2yQ.js} +3 -3
- package/dist/components/{p-SerH3z5y.js.map → p-DbJfa2yQ.js.map} +1 -1
- package/dist/components/solar-expert.js +5 -4
- package/dist/components/solar-expert.js.map +1 -1
- package/dist/esm/eraser-icon.house-icon.icon-selector.map-draw.map-selector.move-icon.octagon-minus-icon.polygon-buttons.polygon-information.search-icon.settings-icon.settings-modal.solar-expert.solar-system-form.tool-box.undo-icon.entry.js.map +1 -1
- package/dist/esm/eraser-icon_16.entry.js +4 -4
- package/dist/esm/eraser-icon_16.entry.js.map +1 -1
- package/dist/esm/{index-DNOniOEj.js → index-yVbXII2Q.js} +28 -5
- package/dist/esm/index-yVbXII2Q.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loading-widget.entry.js +1 -1
- package/dist/esm/solar-calculator.entry.js +1 -1
- package/dist/esm/stencil-library.js +3 -3
- package/dist/stencil-library/eraser-icon.house-icon.icon-selector.map-draw.map-selector.move-icon.octagon-minus-icon.polygon-buttons.polygon-information.search-icon.settings-icon.settings-modal.solar-expert.solar-system-form.tool-box.undo-icon.entry.esm.js.map +1 -1
- package/dist/stencil-library/p-141320bb.entry.js +2 -0
- package/dist/stencil-library/p-141320bb.entry.js.map +1 -0
- package/dist/stencil-library/{p-6cbb411b.entry.js → p-2a83d5d6.entry.js} +2 -2
- package/dist/stencil-library/{p-1e4e5fe9.entry.js → p-825501e2.entry.js} +2 -2
- package/dist/stencil-library/p-yVbXII2Q.js +3 -0
- package/dist/stencil-library/p-yVbXII2Q.js.map +1 -0
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-C3Kp1xqq.js.map +0 -1
- package/dist/esm/index-DNOniOEj.js.map +0 -1
- package/dist/stencil-library/p-DNOniOEj.js +0 -3
- package/dist/stencil-library/p-DNOniOEj.js.map +0 -1
- package/dist/stencil-library/p-bbb09842.entry.js +0 -2
- package/dist/stencil-library/p-bbb09842.entry.js.map +0 -1
- /package/dist/stencil-library/{p-6cbb411b.entry.js.map → p-2a83d5d6.entry.js.map} +0 -0
- /package/dist/stencil-library/{p-1e4e5fe9.entry.js.map → p-825501e2.entry.js.map} +0 -0
|
@@ -493,10 +493,15 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
493
493
|
var attachStyles = (hostRef) => {
|
|
494
494
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
495
495
|
const elm = hostRef.$hostElement$;
|
|
496
|
+
const flags = cmpMeta.$flags$;
|
|
496
497
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
497
|
-
addStyle(
|
|
498
|
-
elm.getRootNode(),
|
|
498
|
+
const scopeId2 = addStyle(
|
|
499
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
499
500
|
cmpMeta);
|
|
501
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
502
|
+
elm["s-sc"] = scopeId2;
|
|
503
|
+
elm.classList.add(scopeId2 + "-h");
|
|
504
|
+
}
|
|
500
505
|
endAttachStyles();
|
|
501
506
|
};
|
|
502
507
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
@@ -692,6 +697,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
692
697
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
693
698
|
let containerElm = parentElm;
|
|
694
699
|
let childNode;
|
|
700
|
+
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
701
|
+
containerElm = containerElm.shadowRoot;
|
|
702
|
+
}
|
|
695
703
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
696
704
|
if (vnodes[startIdx]) {
|
|
697
705
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -870,7 +878,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
870
878
|
rootVnode.$tag$ = null;
|
|
871
879
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
872
880
|
hostRef.$vnode$ = rootVnode;
|
|
873
|
-
rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
|
|
881
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
874
882
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
875
883
|
};
|
|
876
884
|
|
|
@@ -1406,6 +1414,21 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1406
1414
|
this.hasRegisteredEventListeners = false;
|
|
1407
1415
|
self = this;
|
|
1408
1416
|
registerHost(self, cmpMeta);
|
|
1417
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1418
|
+
{
|
|
1419
|
+
if (!self.shadowRoot) {
|
|
1420
|
+
{
|
|
1421
|
+
self.attachShadow({ mode: "open" });
|
|
1422
|
+
}
|
|
1423
|
+
} else {
|
|
1424
|
+
if (self.shadowRoot.mode !== "open") {
|
|
1425
|
+
throw new Error(
|
|
1426
|
+
`Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
1427
|
+
);
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1409
1432
|
}
|
|
1410
1433
|
connectedCallback() {
|
|
1411
1434
|
const hostRef = getHostRef(this);
|
|
@@ -1526,6 +1549,6 @@ exports.h = h;
|
|
|
1526
1549
|
exports.promiseResolve = promiseResolve;
|
|
1527
1550
|
exports.registerInstance = registerInstance;
|
|
1528
1551
|
exports.setNonce = setNonce;
|
|
1529
|
-
//# sourceMappingURL=index-
|
|
1552
|
+
//# sourceMappingURL=index-elxiOP_I.js.map
|
|
1530
1553
|
|
|
1531
|
-
//# sourceMappingURL=index-
|
|
1554
|
+
//# sourceMappingURL=index-elxiOP_I.js.map
|