blue-chestnut-solar-expert 0.0.30 → 0.0.32
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
|
@@ -491,10 +491,15 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
491
491
|
var attachStyles = (hostRef) => {
|
|
492
492
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
493
493
|
const elm = hostRef.$hostElement$;
|
|
494
|
+
const flags = cmpMeta.$flags$;
|
|
494
495
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
495
|
-
addStyle(
|
|
496
|
-
elm.getRootNode(),
|
|
496
|
+
const scopeId2 = addStyle(
|
|
497
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
497
498
|
cmpMeta);
|
|
499
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
500
|
+
elm["s-sc"] = scopeId2;
|
|
501
|
+
elm.classList.add(scopeId2 + "-h");
|
|
502
|
+
}
|
|
498
503
|
endAttachStyles();
|
|
499
504
|
};
|
|
500
505
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
@@ -690,6 +695,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
690
695
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
691
696
|
let containerElm = parentElm;
|
|
692
697
|
let childNode;
|
|
698
|
+
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
699
|
+
containerElm = containerElm.shadowRoot;
|
|
700
|
+
}
|
|
693
701
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
694
702
|
if (vnodes[startIdx]) {
|
|
695
703
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -868,7 +876,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
868
876
|
rootVnode.$tag$ = null;
|
|
869
877
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
870
878
|
hostRef.$vnode$ = rootVnode;
|
|
871
|
-
rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
|
|
879
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
872
880
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
873
881
|
};
|
|
874
882
|
|
|
@@ -1404,6 +1412,21 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1404
1412
|
this.hasRegisteredEventListeners = false;
|
|
1405
1413
|
self = this;
|
|
1406
1414
|
registerHost(self, cmpMeta);
|
|
1415
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1416
|
+
{
|
|
1417
|
+
if (!self.shadowRoot) {
|
|
1418
|
+
{
|
|
1419
|
+
self.attachShadow({ mode: "open" });
|
|
1420
|
+
}
|
|
1421
|
+
} else {
|
|
1422
|
+
if (self.shadowRoot.mode !== "open") {
|
|
1423
|
+
throw new Error(
|
|
1424
|
+
`Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
1425
|
+
);
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1407
1430
|
}
|
|
1408
1431
|
connectedCallback() {
|
|
1409
1432
|
const hostRef = getHostRef(this);
|
|
@@ -1515,6 +1538,6 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
|
|
1515
1538
|
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
1516
1539
|
|
|
1517
1540
|
export { Env as E, getElement as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, getRenderingRef as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1518
|
-
//# sourceMappingURL=index-
|
|
1541
|
+
//# sourceMappingURL=index-yVbXII2Q.js.map
|
|
1519
1542
|
|
|
1520
|
-
//# sourceMappingURL=index-
|
|
1543
|
+
//# sourceMappingURL=index-yVbXII2Q.js.map
|